Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration failed => NoMethodError: undefined method `alias_method_chain' #89

Open
chmich opened this issue Sep 7, 2020 · 0 comments
Open

Comments

@chmich
Copy link

chmich commented Sep 7, 2020

Hi,

Redmine 4.1.1
db-migration failed

thanks for help,
Chris

redmine@meet:/srv/redmine/staging/redmine-4.1.1$ rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
NoMethodError: undefined method `alias_method_chain' for #<Class:0x000056300ba875f0>
Did you mean?  alias_method
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activerecord-5.2.4.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
/srv/redmine/staging/redmine-4.1.1/plugins/AgileDwarf/lib/scrum_enabled_module_patch.rb:7:in `block in included'
/srv/redmine/staging/redmine-4.1.1/plugins/AgileDwarf/lib/scrum_enabled_module_patch.rb:6:in `class_eval'
/srv/redmine/staging/redmine-4.1.1/plugins/AgileDwarf/lib/scrum_enabled_module_patch.rb:6:in `included'
/srv/redmine/staging/redmine-4.1.1/plugins/AgileDwarf/lib/scrum_enabled_module_patch.rb:25:in `include'
/srv/redmine/staging/redmine-4.1.1/plugins/AgileDwarf/lib/scrum_enabled_module_patch.rb:25:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `block in require'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
/srv/redmine/staging/redmine-4.1.1/plugins/AgileDwarf/init.rb:3:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `block in require'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
/srv/redmine/staging/redmine-4.1.1/lib/redmine/plugin.rb:181:in `block in load'
/srv/redmine/staging/redmine-4.1.1/lib/redmine/plugin.rb:172:in `each'
/srv/redmine/staging/redmine-4.1.1/lib/redmine/plugin.rb:172:in `load'
/srv/redmine/staging/redmine-4.1.1/config/initializers/30-redmine.rb:20:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:285:in `load'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:285:in `block in load'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:285:in `load'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/engine.rb:663:in `block in load_config_initializer'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/activesupport-5.2.4.2/lib/active_support/notifications.rb:170:in `instrument'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/engine.rb:662:in `load_config_initializer'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/engine.rb:619:in `each'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/engine.rb:619:in `block in <class:Engine>'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `instance_exec'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `run'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/initializable.rb:61:in `block in run_initializers'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/initializable.rb:50:in `each'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/initializable.rb:50:in `tsort_each_child'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/initializable.rb:60:in `run_initializers'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/application.rb:361:in `initialize!'
/srv/redmine/staging/redmine-4.1.1/config/environment.rb:16:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/application.rb:337:in `require'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/application.rb:337:in `require_environment!'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/railties-5.2.4.2/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/home/redmine/.rvm/gems/ruby-2.5.6/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.6/bin/ruby_executable_hooks:24:in `eval'
/home/redmine/.rvm/gems/ruby-2.5.6/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Administration => Info

Environment:
  Redmine version                4.1.1.stable
  Ruby version                   2.5.6-p201 (2019-08-28) [x86_64-linux]
  Rails version                  5.2.4.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Git                            2.11.0
  Filesystem                     
Redmine plugins:
  no plugin installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant