Help for upgrade Redmine v3
Added by Le Distordu over 9 years ago
Hello :) I have a problem when I try to update Redmine 3.0
bundle exec rake db:migrate RAILS_ENV=production --trace
** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! NoMethodError: undefined method `define_plugin_setting' for #<Class:0x000000055f19a0> /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing' /var/redmine/lib/redmine/plugin.rb:100:in `register' /var/redmine/plugins/redmine_agile/init.rb:25:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/redmine/lib/redmine/plugin.rb:155:in `block in load' /var/redmine/lib/redmine/plugin.rb:146:in `each' /var/redmine/lib/redmine/plugin.rb:146:in `load' /var/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers' /usr/lib/ruby/1.9.1/tsort.rb:150:in `block in tsort_each' /usr/lib/ruby/1.9.1/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:219:in `each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:209:in `block in each_strongly_connected_component_from' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child' /usr/lib/ruby/1.9.1/tsort.rb:203:in `each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:182:in `block in each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:180:in `each' /usr/lib/ruby/1.9.1/tsort.rb:180:in `each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:148:in `tsort_each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!' /var/redmine/config/environment.rb:14:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run' /var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>' /usr/local/bin/rake:23:in `load' /usr/local/bin/rake:23:in `<main>' Tasks: TOP => db:migrate => environment
ll /var/redmine/plugins
total 44K -rw-r--r-- 1 root root 31 mars 25 12:22 README drwxr-xr-x 9 root root 4,0K mars 25 12:59 redmine_agile drwxr-xr-x 9 root root 4,0K mars 25 13:00 redmine_checklists drwxr-xr-x 9 root root 4,0K mars 25 12:52 redmine_ckeditor drwxr-xr-x 9 root root 4,0K mars 25 12:52 redmine_default_custom_query drwxr-xr-x 7 root root 4,0K mars 25 12:22 redmine_issue_detailed_tabs_time drwxr-xr-x 9 root root 4,0K mars 25 12:22 redmine_login_audit drwxr-xr-x 8 root root 4,0K mars 25 12:22 redmine_spent_time_required drwxr-xr-x 9 root root 4,0K mars 25 12:22 redmine_tags drwxr-xr-x 7 root root 4,0K mars 25 12:22 sidebar_hide drwxr-xr-x 8 root root 4,0K mars 25 12:22 subscription -rw-r--r-- 1 root root 0 mars 25 12:22 touch
someone has an idea ?
Replies (7)
RE: Help for upgrade Redmine v3 - Added by Pavel Potcheptsov over 9 years ago
What is your redmine_agile plugin version?
Are you sure all of your plugins are redmine 3.x compatible?
RE: Help for upgrade Redmine v3 - Added by Le Distordu over 9 years ago
Redmine_Agile-1.3.8
3.x compatible
If a delete all plugin it's ok ! But if I put it any plugin is dead... I try with redmine_ckeditor (compatible 3.x), redmine_agile (compatible 3.x), redmine_checklists (compatible 3.x), ... always same error
Just with redmine_ckeditor :
sudo bundle exec rake redmine:plugins NAME=redmine_ckeditor RAILS_ENV=production --trace [14:14:27] (in /var/redmine) ** Invoke redmine:plugins (first_time) ** Execute redmine:plugins ** Invoke redmine:plugins:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! NoMethodError: undefined method `define_plugin_setting' for #<Class:0x00000003bd5d78> /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing' /var/redmine/lib/redmine/plugin.rb:100:in `register' /var/redmine/plugins/redmine_ckeditor/init.rb:8:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/redmine/lib/redmine/plugin.rb:155:in `block in load' /var/redmine/lib/redmine/plugin.rb:146:in `each' /var/redmine/lib/redmine/plugin.rb:146:in `load' /var/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers' /usr/lib/ruby/1.9.1/tsort.rb:150:in `block in tsort_each' /usr/lib/ruby/1.9.1/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:219:in `each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:209:in `block in each_strongly_connected_component_from' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child' /usr/lib/ruby/1.9.1/tsort.rb:203:in `each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:182:in `block in each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:180:in `each' /usr/lib/ruby/1.9.1/tsort.rb:180:in `each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:148:in `tsort_each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!' /var/redmine/config/environment.rb:14:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /var/redmine/lib/tasks/redmine.rake:52:in `block (2 levels) in <top (required)>' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run' /var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>' /usr/local/bin/rake:23:in `load' /usr/local/bin/rake:23:in `<main>' Tasks: TOP => redmine:plugins:migrate => environment
ll /var/redmine/plugins
total 8,0K -rw-r--r-- 1 www-data www-data 31 mars 25 12:22 README drwxr-xr-x 9 www-data www-data 4,0K mars 25 14:14 redmine_ckeditor -rw-r--r-- 1 www-data www-data 0 mars 25 12:22 touch
Just with redmine_agile (1.3.8)
sudo bundle exec rake redmine:plugins NAME=redmine_ckeditor RAILS_ENV=production --trace [14:18:59] (in /var/redmine) ** Invoke redmine:plugins (first_time) ** Execute redmine:plugins ** Invoke redmine:plugins:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! NoMethodError: undefined method `define_plugin_setting' for #<Class:0x0000000301e0c0> /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing' /var/redmine/lib/redmine/plugin.rb:100:in `register' /var/redmine/plugins/redmine_agile/init.rb:25:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/redmine/lib/redmine/plugin.rb:155:in `block in load' /var/redmine/lib/redmine/plugin.rb:146:in `each' /var/redmine/lib/redmine/plugin.rb:146:in `load' /var/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers' /usr/lib/ruby/1.9.1/tsort.rb:150:in `block in tsort_each' /usr/lib/ruby/1.9.1/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:219:in `each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:209:in `block in each_strongly_connected_component_from' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child' /usr/lib/ruby/1.9.1/tsort.rb:203:in `each_strongly_connected_component_from' /usr/lib/ruby/1.9.1/tsort.rb:182:in `block in each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:180:in `each' /usr/lib/ruby/1.9.1/tsort.rb:180:in `each_strongly_connected_component' /usr/lib/ruby/1.9.1/tsort.rb:148:in `tsort_each' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!' /var/redmine/config/environment.rb:14:in `<top (required)>' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency' /var/lib/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!' /var/lib/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /var/redmine/lib/tasks/redmine.rake:52:in `block (2 levels) in <top (required)>' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run' /var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>' /usr/local/bin/rake:23:in `load' /usr/local/bin/rake:23:in `<main>' Tasks: TOP => redmine:plugins:migrate => environment
ll /var/redmine/plugins
total 8,0K -rw-r--r-- 1 www-data www-data 31 mars 25 12:22 README drwxr-xr-x 9 www-data www-data 4,0K mars 25 14:17 redmine_agile -rw-r--r-- 1 www-data www-data 0 mars 25 12:22 touch
RE: Help for upgrade Redmine v3 - Added by Le Distordu over 9 years ago
% rake --version [14:22:54] rake, version 0.9.6 ------------------------------------------------------------ % ruby --version [14:23:03] ruby 2.0.0p598 (2014-11-13 revision 48408) [x86_64-linux] ------------------------------------------------------------ % gem --version [14:23:16] 2.4.3 ------------------------------------------------------------ % bundle --version [14:23:30] Bundler version 1.7.6
RE: Help for upgrade Redmine v3 - Added by Pavel Potcheptsov over 9 years ago
Strange but your log shows that you are using ruby 1.9.1
RE: Help for upgrade Redmine v3 - Added by Le Distordu over 9 years ago
I try to upgrade ruby for fix problem but no change... I came back to 2.6.3 while waiting to find a solution. Ruby, Gem, Bundle, Rake, i'll lose my head :D
RE: Help for upgrade Redmine v3 - Added by Pavel Potcheptsov over 9 years ago
In case you are familiar or close up to virtualization you could try to setup new VM from scratch, then use RVM and install Ruby 1.9.3 and all needed packages.
Then try to migrate your current database to this new VM.