Project

General

Profile

Issue when installing v 0.15.0 on Debian Jessie

Added by Jean-Marie Arsac about 8 years ago

Hi,

I get an error when doing migration:

Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux
ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
Rails 4.1.8
Redmine 3.0~20140825-8~deb8u3

_root@polynesie:/usr/share/redmine#_ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
NameError: undefined method `add_attribute_detail' for class `Journal'

Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Full output with --trace option :

root@polynesie:/usr/share/redmine# bundle exec rake redmine:plugins:migrate RAILS_ENV=production --trace
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
NameError: undefined method `add_attribute_detail' for class `Journal'
/usr/lib/ruby/vendor_ruby/active_support/core_ext/module/aliasing.rb:32:in `alias_method'
/usr/lib/ruby/vendor_ruby/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain'
/usr/share/redmine/plugins/scrum/lib/scrum/journal_patch.rb:22:in `block in included'
/usr/share/redmine/plugins/scrum/lib/scrum/journal_patch.rb:13:in `class_eval'
/usr/share/redmine/plugins/scrum/lib/scrum/journal_patch.rb:13:in `included'
/usr/share/redmine/plugins/scrum/init.rb:21:in `include'
/usr/share/redmine/plugins/scrum/init.rb:21:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:247:in `require'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:247:in `block in require'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:232:in `load_dependency'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:247:in `require'
/usr/share/redmine/lib/redmine/plugin.rb:139:in `block in load'
/usr/share/redmine/lib/redmine/plugin.rb:130:in `each'
/usr/share/redmine/lib/redmine/plugin.rb:130:in `load'
/usr/share/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:241:in `load'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:241:in `block in load'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:232:in `load_dependency'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:241:in `load'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:648:in `block in load_config_initializer'
/usr/lib/ruby/vendor_ruby/active_support/notifications.rb:161:in `instrument'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:647:in `load_config_initializer'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:611:in `each'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:611:in `block in <class:Engine>'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `instance_exec'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `run'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:44:in `each'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:44:in `tsort_each_child'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:54:in `run_initializers'
/usr/lib/ruby/vendor_ruby/rails/application.rb:300:in `initialize!'
/usr/share/redmine/config/environment.rb:14:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:247:in `require'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:247:in `block in require'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:232:in `load_dependency'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:247:in `require'
/usr/lib/ruby/vendor_ruby/rails/application.rb:276:in `require_environment!'
/usr/lib/ruby/vendor_ruby/rails/application.rb:389:in `block in run_tasks_blocks'
/usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `call'
/usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
/usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
/usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
/usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:201:in `block in invoke_prerequisites'
/usr/lib/ruby/vendor_ruby/rake/task.rb:199:in `each'
/usr/lib/ruby/vendor_ruby/rake/task.rb:199:in `invoke_prerequisites'
/usr/lib/ruby/vendor_ruby/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
/usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
/usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
/usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
/usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
/usr/bin/rake:27:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment

Please, note I got the same error with v 0.14.0

Any idea ? Thanks in advance for your help