Upgrades always fail. logs included


(Andy at Focallocal) #1

Below are the logs. i can stop the upgrade and start it over, but it just wont complete. it looks like the cakeday app which is causing it, but the ‘remove’ button isn’t there for that app under my plugins… it’s refusing to be deleted.

can anyone help?

Bundle complete! 105 Gemfile dependencies, 181 gems now installed. Gems in the group development were not installed. Bundled gems are installed into ./vendor/bundle. $ bundle exec rake multisite:migrate rake aborted! NoMethodError: undefined method `before_filter' for DiscourseCakeday::CakedayController:Class Did you mean? before_action /var/www/discourse/plugins/discourse-cakeday/app/controllers/discourse_cakeday/cakeday_controller.rb:3:in `<class:CakedayController>' /var/www/discourse/plugins/discourse-cakeday/app/controllers/discourse_cakeday/cakeday_controller.rb:2:in `<module:DiscourseCakeday>' /var/www/discourse/plugins/discourse-cakeday/app/controllers/discourse_cakeday/cakeday_controller.rb:1:in `<top (required)>' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:286:in `load' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:286:in `block in load' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:286:in `load' /var/www/discourse/plugins/discourse-cakeday/plugin.rb:36:in `block in activate!' /var/www/discourse/lib/plugin/instance.rb:271:in `block in notify_after_initialize' /var/www/discourse/lib/plugin/instance.rb:269:in `each' /var/www/discourse/lib/plugin/instance.rb:269:in `notify_after_initialize' /var/www/discourse/config/application.rb:231:in `each' /var/www/discourse/config/application.rb:231:in `block in <class:Application>' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:49:in `each' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing' /var/www/discourse/config/environment.rb:5:in `<top (required)>' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:329:in `require_environment!' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:445:in `block in run_tasks_blocks' /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>' /usr/local/bin/bundle:22:in `load' /usr/local/bin/bundle:22:in `<main>' Tasks: TOP => multisite:migrate => environment (See full trace by running task with --trace)

#2

You may be best removing that plugin from the app.yml file and running the ./launcher rebuild app to update again without the plugin