Project

General

Profile

Problem of Upgrading Redmine 3.3. to Redmine 6.1 on Docker Compose

Added by Simon Leung 21 days ago

I have tried upgrading Redmine 3.3 to Redmine 6.1 on Docker compose. Still, the container kept restarting and I found the logs as follows.

=> Booting Puma
=> Rails 7.2.3 application starting in production
=> Run `bin/rails server --help` for more startup options
Your Redmine configuration file located at /usr/src/redmine/config/configuration.yml is not a valid Redmine configuration file.
Exiting
Your Gemfile lists the gem puma (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
The Gemfile's dependencies are satisfied

How do I solve the problem?


Replies (3)

RE: Problem of Upgrading Redmine 3.3. to Redmine 6.1 on Docker Compose - Added by Ivan Cenov 16 days ago

Incremental upgrading (if ever possible) .... 3.3 to 6.1 is a big leap. You depend on old ruby versions....

RE: Problem of Upgrading Redmine 3.3. to Redmine 6.1 on Docker Compose - Added by Simon Leung about 20 hours ago

Ivan Cenov wrote in RE: Problem of Upgrading Redmine 3.3. to Redmine 6.1 on D...:

Incremental upgrading (if ever possible) .... 3.3 to 6.1 is a big leap. You depend on old ruby versions....

Now, I have tried upgrading Redmine 3.3 to Redmine 3.4 on Docker compose. Still, the container kept restarting and I found the logs as follows.

The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
The Gemfile's dependencies are satisfied
Your Redmine configuration file located at /usr/src/redmine/config/configuration.yml is not a valid Redmine configuration file.
=> Booting WEBrick
=> Rails 4.2.11.1 application starting in production on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting

Could you give me suggestion again?

RE: Problem of Upgrading Redmine 3.3. to Redmine 6.1 on Docker Compose - Added by Holger Just about 13 hours ago

Your issue is described by this error message:

Your Redmine configuration file located at /usr/src/redmine/config/configuration.yml is not a valid Redmine configuration file.

This indicates that the configuration file is not syntactically valid. Check that it follows the structure of the example file at configuration.yml.example. Note that the configuration.yml file is in YAML format where leading whitespace is significant and must be used consistently for proper indentation. Make sure to use whitespace consistently thoughout the file.

    (1-3/3)