Upgrading from Redmine 6.0.3.stable to 6.1.0
Added by Donald Martin 1 day ago
Hi
I'm trying to update my Redmine instance, I've updated it many time over the years and this is the first major issue I can't find an answer for.
When running bundle exec rake db:migrate RAILS_ENV=production I get the error below - I've attached the full trace error.
EnsureWikiTablesortSettingIsStoredInDb: migrating =========== rake aborted! StandardError: An error has occurred, all later migrations canceled: (StandardError) Validation failed: Name is not included in the list
From "Please also attach the output from running the following in your Redmine directory." I get this error
root@redmine .../www/redmine# RAILS_ENV=production script/about -bash: script/about: No such file or directory
And from my info page I have this
Environment: Redmine version 6.0.3.stable Ruby version 3.2.4-p170 (2024-04-23) [x86_64-linux] Rails version 7.2.2.1 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery sendmail Redmine settings: Redmine theme Default SCM: Subversion 1.14.2 Git 2.39.5 Filesystem Redmine plugins: redmine_checklists 3.1.25 sysnet_top_menu 1.0
Thanks in advance
Donald
Replies (2)
RE: Upgrading from Redmine 6.0.3.stable to 6.1.0
-
Added by Donald Martin 1 day ago
Forgot to attached full error trace - here it is
| redmine error.txt (17.3 KB) redmine error.txt |
RE: Upgrading from Redmine 6.0.3.stable to 6.1.0
-
Added by Holger Just about 9 hours ago
It seems that while upgrading, you re-used the config directory of your old Redmine version rather than using that of the new version.
In the config directory, there are many files containing code and other files which are integral to the respective Remdine version. Only a very limited number of files should be edited in there, including config/databasee.yml and config/configuration.yml. Other files (including config/settings.yml) must not be edited and must be kept unchanged from the respective Redmine release version. Any of the files shipped with Redmine may change between releases, including any of the files in the config directory.