Defect #40409
closedrake aborted! during Redmine update
0%
Description
- During Redmine update: 5.1.1 --> 5.1.2
- Guided by this manual: https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade
- On "Step 4":
$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production rake aborted! NoMethodError: undefined method `[]' for Redmine::Acts::Attachable::ObjectTypeConstraint:Class options[:object_type] = /.+/ if options[:object_type] && options[:object_type].is_a?(Regexp) ^^^^^^^^^^^^^^
Environment: Redmine version 5.1.1.stable Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux-gnu] Rails version 6.1.7.6 Environment production Database adapter PostgreSQL Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp Redmine settings: Redmine theme Default SCM: Mercurial 6.3.2 Git 2.39.2 Filesystem Redmine plugins: redmine_wiki_extensions 0.9.4 redmineup_tags 2.0.13
Updated by f0x Autumn 5 months ago
Very similar to Defect #39862: Attachments functionality for (custom) plugins broken since fix for CVE-2022-44030
( https://www.redmine.org/issues/39862#note-5 )
Marius BĂLTEANU wrote in #39862#note-14:
Committed and merged to stable branches, thanks!
...It was in Redmine 5.0.8
But I got the same error in the 5.1.2
Updated by Holger Just 5 months ago
- Status changed from New to Needs feedback
You didn't show the full stack trace of your error, however, it's likely that this is the same cause as described in #39862#note-5, namely a plugin which patched Redmine in an unsupported way.
Please update your plugins. If therror persists, please add some additional information, at least the full stack trace of your error.
Updated by f0x Autumn 5 months ago
Holger Just wrote in #note-2:
You didn't show the full stack trace of your error, however, it's likely that this is the same cause as described in #39862#note-5, namely a plugin which patched Redmine in an unsupported way.
Please update your plugins. If therror persists, please add some additional information, at least the full stack trace of your error.
You are right! After updating the plugin - Redmine update was completed successfully.
Thank you.
This Issue can be closed.
Updated by Marius BĂLTEANU 5 months ago
- Status changed from Needs feedback to Closed
- Resolution set to Invalid