Project

General

Profile

Actions

Defect #37387

closed

Ошибка при миграции плагина project_tree

Added by София Кузнецова over 2 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

red@redservak:/opt/redmine$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
/usr/share/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/x86_64-linux/strscan.so: warning: already initialized constant StringScanner::Version
/usr/share/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/x86_64-linux/strscan.so: warning: already initialized constant StringScanner::Id
rake aborted!
NoMethodError: undefined method `autoloaders' for Rails:Module
Did you mean? autoloads
autoload
autoload?
autoload_at
/opt/redmine-5.0.2/lib/redmine/plugin_loader.rb:130:in `block (2 levels) in add_autoload_paths'
/opt/redmine-5.0.2/lib/redmine/plugin_loader.rb:129:in `each'
/opt/redmine-5.0.2/lib/redmine/plugin_loader.rb:129:in `block in add_autoload_paths'
/opt/redmine-5.0.2/lib/redmine/plugin_loader.rb:125:in `each'
/opt/redmine-5.0.2/lib/redmine/plugin_loader.rb:125:in `add_autoload_paths'
/opt/redmine-5.0.2/lib/redmine/plugin_loader.rb:105:in `load'
/opt/redmine-5.0.2/config/initializers/30-redmine.rb:20:in `<top (required)>'
/usr/share/rvm/gems/ruby-2.7.2/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:285:in `load'
/usr/share/rvm/gems/ruby-2.7.2/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:285:in `block in load'
/usr/share/rvm/gems/ruby-2.7.2/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency'
/usr/share/rvm/gems/ruby-2.7.2/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:285:in `load'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:663:in `block in load_config_initializer'
/usr/share/rvm/gems/ruby-2.7.2/gems/activesupport-5.2.6/lib/active_support/notifications.rb:170:in `instrument'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:662:in `load_config_initializer'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:619:in `each'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:619:in `block in <class:Engine>'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:32:in `run'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:50:in `each'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:50:in `tsort_each_child'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/application.rb:361:in `initialize!'
/opt/redmine-5.0.2/config/environment.rb:16:in `<top (required)>'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/application.rb:337:in `require'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/application.rb:337:in `require_environment!'
/usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/usr/share/rvm/gems/ruby-2.7.2/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/share/rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `eval'
/usr/share/rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
red@redservak:/opt/redmine$

Actions

Also available in: Atom PDF