Skip to content

Instantly share code, notes, and snippets.

@mrship
Created May 16, 2011 07:55
Show Gist options
  • Save mrship/974068 to your computer and use it in GitHub Desktop.
Save mrship/974068 to your computer and use it in GitHub Desktop.
Log crash for Heroku w/ NewRelic
2011-05-16T07:52:42+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/control/frameworks/rails.rb:29:in `install_episodes': undefined method `episodes_enabled?' for Control[rails3]:NewRelic::Control::Frameworks::Rails3 (NoMethodError)
2011-05-16T07:52:42+00:00 app[web.1]: from /app/vendor/plugins/rpm/lib/new_relic/control/frameworks/rails.rb:24:in `init_config'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/newrelic_rpm-3.0.0/lib/new_relic/control/instance_methods.rb:60:in `init_plugin'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/newrelic_rpm-3.0.0/lib/newrelic_rpm.rb:36:in `block in <class:Railtie>'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `block in run_initializers'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `each'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `run_initializers'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:134:in `initialize!'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2011-05-16T07:52:42+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2011-05-16T07:52:42+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2011-05-16T07:52:42+00:00 app[web.1]: from config.ru:2:in `block (3 levels) in <main>'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `eval'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `block (3 levels) in <main>'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:63:in `new'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:63:in `map'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in <main>'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `block in <main>'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2011-05-16T07:52:42+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2011-05-16T07:52:42+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `<main>'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `eval'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `load'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:175:in `load_rackup_config'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:65:in `start'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:177:in `run_command'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:143:in `run!'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `<top (required)>'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `load'
2011-05-16T07:52:42+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `<main>'
@Chris927
Copy link

Having a very similar (but not identical) issue, see log below. My solution: Uninstall newrelic_rpm gem.


2011-05-18T04:47:11-07:00 heroku[web.1]: State changed from created to starting
2011-05-18T11:47:13+00:00 heroku[web.1]: Starting process with command: `thin -p 35515 -e production -R /home/heroku_rack/heroku.ru start`
2011-05-18T11:47:15+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/control/frameworks/rails.rb:35:in `install_browser_monitoring': undefined method `browser_monitoring_auto_instrument?' for # (NoMethodError)
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/vendor/plugins/rpm/lib/new_relic/control/frameworks/rails.rb:28:in `init_config'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/newrelic_rpm-2.14.0/lib/new_relic/control/instance_methods.rb:60:in `init_plugin'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/newrelic_rpm-2.14.0/lib/newrelic_rpm.rb:36
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `run_initializers'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `each'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `run_initializers'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/application.rb:134:in `initialize!'
2011-05-18T11:47:15+00:00 app[web.1]:   from config.ru:3
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb:63:in `new'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb:63:in `map'
2011-05-18T11:47:15+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:18
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2011-05-18T11:47:15+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2011-05-18T11:47:15+00:00 heroku[web.1]: Process exited

@mrship
Copy link
Author

mrship commented May 18, 2011

I upgraded to newrelic_rpm v 3.0 and it now works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment