Project

General

Profile

Actions

Defect #29291

closed

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

Added by Enziin System over 5 years ago. Updated over 5 years ago.

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

0%

Estimated time:
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

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

Actions
Actions #1

Updated by Marius BĂLTEANU over 5 years ago

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

Please see submissions before.

Actions #2

Updated by Marius BĂLTEANU over 5 years ago

  • Description updated (diff)
Actions #4

Updated by Marius BĂLTEANU over 5 years 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.

Actions #5

Updated by Go MAEDA over 5 years ago

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

Updated by Go MAEDA over 5 years 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.

Actions

Also available in: Atom PDF