Project

General

Profile

Actions

Defect #40409

closed

rake aborted! during Redmine update

Added by f0x Autumn 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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
Actions

Also available in: Atom PDF