Project

General

Profile

Actions

Defect #29291

closed

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

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

Added by Enziin System over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
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 1 (0 open — 1 closed)

Is duplicate of Redmine - Patch #28934: Support migration context for pluginsClosedJean-Philippe LangActions

Updated by Marius BĂLTEANU over 8 years ago Actions #1

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

Please see submissions before.

Updated by Marius BĂLTEANU over 8 years ago Actions #2

  • Description updated (diff)

Updated by Marius BĂLTEANU over 8 years ago Actions #4

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.

Updated by Go MAEDA about 8 years ago Actions #5

  • Is duplicate of Patch #28934: Support migration context for plugins added

Updated by Go MAEDA about 8 years ago Actions #6

  • 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.

Actions

Also available in: PDF Atom