Skip to content

Instantly share code, notes, and snippets.

@fredngo
Created July 25, 2014 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredngo/b8d0417d85a43185ba35 to your computer and use it in GitHub Desktop.
Save fredngo/b8d0417d85a43185ba35 to your computer and use it in GitHub Desktop.
Cloud66 error with undefined method `auto_strip_attributes'
root@c66homeopathyjackal:/var/deploy/homeopathy/web_head/current# tail -59 /var/deploy/homeopathy/web_head/current/log/nginx_error.log
App 10882 stdout:
App 10882 stdout: I, [2014-07-25T21:49:35.303580 #10882] INFO -- : ** [Raven] Raven 0.9.4 ready to catch errors
App 10882 stdout:
[ 2014-07-25 21:49:36.1727 5030/7f512376b700 Pool2/Implementation.cpp:883 ]: Could not spawn process for group /var/deploy/homeopathy/web_head/current#default: An error occured while starting up the preloader.
in 'void Passenger::ApplicationPool2::SmartSpawner::handleErrorResponse(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:451)
in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:562)
in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:202)
in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:746)
in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:804)
[ 2014-07-25 21:49:36.1730 5030/7f5121616700 agents/HelperAgent/RequestHandler.h:2262 ]: [Client 20] Cannot checkout session.
Error page:
undefined method `auto_strip_attributes' for #<Class:0x007ff7964bc950> (NoMethodError)
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.4/lib/active_record/dynamic_matchers.rb:26:in `method_missing'
/var/deploy/homeopathy/web_head/releases/20140725205643/app/models/submission/alfa.rb:44:in `<class:Alfa>'
/var/deploy/homeopathy/web_head/releases/20140725205643/app/models/submission/alfa.rb:1:in `<top (required)>'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:348:in `require_or_load'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:307:in `depend_on'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:225:in `require_dependency'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `each'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `block in eager_load!'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `each'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `eager_load!'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:346:in `eager_load!'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `each'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in `instance_exec'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in `run'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/local/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/local/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/local/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/local/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/local/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/local/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:54:in `run_initializers'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/railties-4.1.4/lib/rails/application.rb:300:in `initialize!'
/var/deploy/homeopathy/web_head/releases/20140725205643/config/environment.rb:5:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
/var/deploy/homeopathy/web_head/shared/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.45/helper-scripts/rack-preloader.rb:112:in `eval'
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.45/helper-scripts/rack-preloader.rb:112:in `preload_app'
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.45/helper-scripts/rack-preloader.rb:158:in `<module:App>'
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.45/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.45/helper-scripts/rack-preloader.rb:28:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment