Problem with redmine agile plugin
Hello. I upgraded to remine 4.0.x and upgraded the agile plugin as well. But when I try to open the page I get the following on the error log:
[ 2019-06-24 11:05:18.0426 973/7fc5d025c700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /var/www/redmine: An error occurred while starting up the preloader. Error ID: afc473fe Error details saved to: /tmp/passenger-error-KWD6Mc.html Message from application: undefined method `before_filter' for AgileVersionsController:Class Did you mean? before_action (NoMethodError) /var/www/redmine/plugins/redmine_agile/app/controllers/agile_versions_controller.rb:25:in `<class:AgileVersionsController>' /var/www/redmine/plugins/redmine_agile/app/controllers/agile_versions_controller.rb:20:in `<top (required)>' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:378:in `block in require_or_load' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on' /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `each' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `block in eager_load!' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `each' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `eager_load!' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/engine.rb:356:in `eager_load!' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `each' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers' /usr/local/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each' /usr/local/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' /usr/local/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from' /usr/local/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component' /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `each' /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `call' /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component' /usr/local/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each' /usr/local/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers' /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!' /var/www/redmine/config/environment.rb:14:in `<top (required)>' config.ru:3:in `require' config.ru:3:in `block in <main>' /usr/local/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval' /usr/local/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize' config.ru:1:in `new' config.ru:1:in `<main>' /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.29/src/helper-scripts/rack-preloader.rb:110:in `eval' /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.29/src/helper-scripts/rack-preloader.rb:110:in `preload_app' /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.29/src/helper-scripts/rack-preloader.rb:156:in `<module:App>' /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.29/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>' /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.29/src/helper-scripts/rack-preloader.rb:29:in `<main>'
Hi. Thanks for the provided logs. This problem is solved in the latest version of Agile plugin. Please update it to fix the problem.