Skip to content

7.1.9 から 7.2.0 へアップデートすると起動しなくなる #80

@gomagom

Description

@gomagom

Environment

Host

アップデート前

item version
OS Ubuntu 22.04
GROWI 7.1.9
node.js 20.18.2
npm 10.8.2
Using Docker yes
Using growi-docker-compose yes

(Accessing https://{GROWI_HOST}/admin helps you to fill in above versions)

What happens? (症状)

  • 7.1.9 から 7.2.0 にバージョンを変更したところ,起動途中でコンテナが終了するようになった

7.2.0でのlog

> @growi/[email protected] migrate
> node -r dotenv-flow/config node_modules/migrate-mongo/bin/migrate-mongo up -f config/migrate-mongo-config.js

{"name":"growi:migrate:remove-index-for-ns-from-configs","hostname":"6c5e9a0eb58a","pid":28,"level":30,"msg":"Apply migration","time":"2025-04-01T01:56:29.659Z","v":0}
(node:28) [MONGOOSE] DeprecationWarning: Mongoose: the `strictQuery` option will be switched back to `false` by default in Mongoose 7. Use `mongoose.set('strictQuery', false);` if you want to prepare for this change. Or use `mongoose.set('strictQuery', true);` to suppress this warning.
(Use `node --trace-deprecation ...` to show where the warning was created)

7.1.9でのlog(一部)

> @growi/[email protected] migrate
> node -r dotenv-flow/config node_modules/migrate-mongo/bin/migrate-mongo up -f config/migrate-mongo-config.js

npm notice
npm notice New major version of npm available! 10.8.2 -> 11.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.2.0
npm notice To update run: npm install -g [email protected]
npm notice
(node:1) [MONGOOSE] DeprecationWarning: Mongoose: the `strictQuery` option will be switched back to `false` by default in Mongoose 7. Use `mongoose.set('strictQuery', false);` if you want to prepare for this change. Or use `mongoose.set('strictQuery', true);` to suppress this warning.
(Use `node --trace-deprecation ...` to show where the warning was created)
{"name":"growi:service:s2s-messaging:S2sMessagingServiceFactory","hostname":"5ed6f35846f2","pid":1,"level":30,"msg":"Config pub/sub server is not defined.","time":"2025-04-01T02:01:47.751Z","v":0}
{"name":"growi:service:PassportService","hostname":"5ed6f35846f2","pid":1,"level":20,"msg":"setting up serializer and deserializer","time":"2025-04-01T02:01:47.752Z","v":0}
--- 以下省略 ---

What is the expected result? (期待される動作)

  • 7.2.0にアップデートされたGrowiが起動する

Note

  • 7.1.9 から 7.2.0 へのアップデートが完了した環境も存在する
    • 7.2.0 へアップデートが失敗した環境は Rootless Docker 環境かつ Growi v6 から利用していますが,これは関係ありますでしょうか?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions