Defect #29291

NoMethodError: undefined method `migrate' for Redmine::Plugin::Migrator:Class

Added by Enziin System 11 months ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:-
Resolution:Fixed Affected version:

Description

Run command:

cd plugins
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

I get the error:

NoMethodError: undefined method `migrate' for Redmine::Plugin::Migrator:Class
/home/developer/websites/redmine/lib/redmine/plugin.rb:482:in `migrate_plugin'
/home/developer/websites/redmine/lib/redmine/plugin.rb:454:in `migrate'
/home/developer/websites/redmine/lib/redmine/plugin.rb:468:in `block in migrate'
/home/developer/websites/redmine/lib/redmine/plugin.rb:467:in `each'
/home/developer/websites/redmine/lib/redmine/plugin.rb:467:in `migrate'
/home/developer/websites/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.5.1/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

Related issues

Duplicates Redmine - Patch #28934: Support migration context for plugins Closed

History

#1 Updated by Marius BALTEANU 11 months ago

  • Status changed from New to Needs feedback
  • Assignee set to Enziin System

Please see submissions before.

#2 Updated by Marius BALTEANU 11 months ago

  • Description updated (diff)

#4 Updated by Marius BALTEANU 11 months ago

Pavel Rosický wrote:

#28934

Yes, I thought that is duplicated of #28934, but I wanted to confirm first that is using the current trunk version.

#5 Updated by Go MAEDA 7 months ago

  • Duplicates Patch #28934: Support migration context for plugins added

#6 Updated by Go MAEDA 7 months ago

  • Category changed from Plugin Request to Plugin API
  • Status changed from Needs feedback to Closed
  • Assignee deleted (Enziin System)
  • Resolution set to Fixed

This should have been fixed in #28934.

Also available in: Atom PDF