Skip to content

Instantly share code, notes, and snippets.

@mokus80
Created February 21, 2014 16:09
Show Gist options
  • Save mokus80/9137062 to your computer and use it in GitHub Desktop.
Save mokus80/9137062 to your computer and use it in GitHub Desktop.
Heroku log for
➜ learners_directory git:(master) ✗ heroku logs
2014-02-20T12:24:07.218601+00:00 heroku[web.1]: State changed from starting to up
2014-02-20T12:24:07.879373+00:00 heroku[web.1]: Process exited with status 143
2014-02-20T12:24:00.991860+00:00 heroku[web.1]: State changed from up to starting
2014-02-20T12:24:15.956297+00:00 app[web.1]: => Booting WEBrick
2014-02-20T12:24:15.956297+00:00 app[web.1]: => Rails 4.0.0 application starting in production on http://0.0.0.0:23477
2014-02-20T12:24:15.956297+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-02-20T12:24:15.956297+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-02-20T12:24:15.956297+00:00 app[web.1]: Started GET "/" for 77.185.30.96 at 2014-02-20 12:24:15 +0000
2014-02-20T12:24:15.956297+00:00 app[web.1]: Started GET "/" for 77.185.30.96 at 2014-02-20 12:24:15 +0000
2014-02-20T12:24:16.197634+00:00 heroku[router]: at=info method=GET path=/ host=railsapps.herokuapp.com request_id=e3a09c01-8a23-4a98-bc43-bb445ac85eb2 fwd="77.185.30.96" dyno=web.1 connect=1ms service=250ms status=500 bytes=1543
2014-02-20T12:24:16.198406+00:00 app[web.1]:
2014-02-20T12:24:16.198406+00:00 app[web.1]: TypeError (nil can't be coerced into Fixnum):
2014-02-20T12:24:16.198406+00:00 app[web.1]: app/models/resource.rb:29:in `+'
2014-02-20T12:24:16.198406+00:00 app[web.1]: app/models/resource.rb:29:in `block in average_rating'
2014-02-20T12:24:16.198406+00:00 app[web.1]: app/models/resource.rb:28:in `average_rating'
2014-02-20T12:24:16.198406+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `block in index'
2014-02-20T12:24:16.198406+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `index'
2014-02-20T12:24:16.198406+00:00 app[web.1]:
2014-02-20T12:24:16.198406+00:00 app[web.1]:
2014-02-20T12:24:16.198642+00:00 app[web.1]: TypeError (nil can't be coerced into Fixnum):
2014-02-20T12:24:16.198406+00:00 app[web.1]:
2014-02-20T12:24:16.198642+00:00 app[web.1]: app/models/resource.rb:29:in `+'
2014-02-20T12:24:16.198642+00:00 app[web.1]: app/models/resource.rb:28:in `average_rating'
2014-02-20T12:24:16.198642+00:00 app[web.1]: app/models/resource.rb:29:in `block in average_rating'
2014-02-20T12:24:16.198642+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `block in index'
2014-02-20T12:24:16.198642+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `index'
2014-02-20T12:24:16.198642+00:00 app[web.1]:
2014-02-20T12:24:16.198642+00:00 app[web.1]:
2014-02-20T12:24:19.114157+00:00 app[web.1]: Started GET "/" for 77.185.30.96 at 2014-02-20 12:24:19 +0000
2014-02-20T12:24:19.114157+00:00 app[web.1]: Started GET "/" for 77.185.30.96 at 2014-02-20 12:24:19 +0000
2014-02-20T12:24:19.128106+00:00 app[web.1]:
2014-02-20T12:24:19.128106+00:00 app[web.1]: TypeError (nil can't be coerced into Fixnum):
2014-02-20T12:24:19.128106+00:00 app[web.1]: app/models/resource.rb:29:in `+'
2014-02-20T12:24:19.128106+00:00 app[web.1]: app/models/resource.rb:29:in `block in average_rating'
2014-02-20T12:24:19.128106+00:00 app[web.1]: app/models/resource.rb:28:in `average_rating'
2014-02-20T12:24:19.128106+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `index'
2014-02-20T12:24:19.128106+00:00 app[web.1]:
2014-02-20T12:24:19.128106+00:00 app[web.1]:
2014-02-20T12:24:19.128380+00:00 app[web.1]: TypeError (nil can't be coerced into Fixnum):
2014-02-20T12:24:19.128106+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `block in index'
2014-02-20T12:24:19.128106+00:00 app[web.1]:
2014-02-20T12:24:19.128380+00:00 app[web.1]: app/models/resource.rb:29:in `block in average_rating'
2014-02-20T12:24:19.128380+00:00 app[web.1]: app/models/resource.rb:29:in `+'
2014-02-20T12:24:19.128380+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `index'
2014-02-20T12:24:19.128380+00:00 app[web.1]: app/models/resource.rb:28:in `average_rating'
2014-02-20T12:24:19.128380+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `block in index'
2014-02-20T12:24:19.128380+00:00 app[web.1]:
2014-02-20T12:24:19.128380+00:00 app[web.1]:
2014-02-20T12:24:19.128454+00:00 heroku[router]: at=info method=GET path=/ host=railsapps.herokuapp.com request_id=867e528a-bd58-495a-b056-e36bd893f241 fwd="77.185.30.96" dyno=web.1 connect=0ms service=18ms status=500 bytes=1543
2014-02-20T13:27:19.015048+00:00 heroku[web.1]: State changed from up to down
2014-02-20T13:27:19.014297+00:00 heroku[web.1]: Idling
2014-02-20T13:27:23.420402+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2014-02-20T13:27:24.308970+00:00 app[web.1]: [2014-02-20 13:27:24] FATAL SignalException: SIGTERM
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:84:in `start'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2014-02-20T13:27:24.308970+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2014-02-20T13:27:24.309216+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2014-02-20T13:27:24.309216+00:00 app[web.1]: bin/rails:4:in `require'
2014-02-20T13:27:24.309216+00:00 app[web.1]: bin/rails:4:in `<main>'
2014-02-20T13:27:24.309216+00:00 app[web.1]: [2014-02-20 13:27:24] INFO going to shutdown ...
2014-02-20T13:27:24.321436+00:00 app[web.1]: [2014-02-20 13:27:24] INFO WEBrick::HTTPServer#start done.
2014-02-20T13:27:24.337493+00:00 app[web.1]: Exiting
2014-02-20T13:27:26.736202+00:00 heroku[web.1]: Process exited with status 143
2014-02-21T13:43:29.201048+00:00 heroku[web.1]: Unidling
2014-02-21T13:43:29.201426+00:00 heroku[web.1]: State changed from down to starting
2014-02-21T13:43:32.793747+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 32378 -e $RAILS_ENV`
2014-02-21T13:43:35.760670+00:00 app[web.1]: [2014-02-21 13:43:35] INFO WEBrick 1.3.1
2014-02-21T13:43:35.760670+00:00 app[web.1]: [2014-02-21 13:43:35] INFO ruby 2.0.0 (2013-11-22) [x86_64-linux]
2014-02-21T13:43:35.760820+00:00 app[web.1]: [2014-02-21 13:43:35] INFO WEBrick::HTTPServer#start: pid=2 port=32378
2014-02-21T13:43:36.190003+00:00 heroku[web.1]: State changed from starting to up
2014-02-21T13:43:37.350648+00:00 app[web.1]: => Booting WEBrick
2014-02-21T13:43:37.350648+00:00 app[web.1]: => Rails 4.0.0 application starting in production on http://0.0.0.0:32378
2014-02-21T13:43:37.350648+00:00 app[web.1]: Started GET "/" for 77.12.186.19 at 2014-02-21 13:43:37 +0000
2014-02-21T13:43:37.350648+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-02-21T13:43:37.350648+00:00 app[web.1]: Started GET "/" for 77.12.186.19 at 2014-02-21 13:43:37 +0000
2014-02-21T13:43:37.350648+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-02-21T13:43:37.653284+00:00 app[web.1]: TypeError (nil can't be coerced into Fixnum):
2014-02-21T13:43:37.653284+00:00 app[web.1]: app/models/resource.rb:29:in `+'
2014-02-21T13:43:37.653284+00:00 app[web.1]:
2014-02-21T13:43:37.653284+00:00 app[web.1]: app/models/resource.rb:29:in `block in average_rating'
2014-02-21T13:43:37.653284+00:00 app[web.1]: app/models/resource.rb:28:in `average_rating'
2014-02-21T13:43:37.653284+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `index'
2014-02-21T13:43:37.653284+00:00 app[web.1]:
2014-02-21T13:43:37.653284+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `block in index'
2014-02-21T13:43:37.653284+00:00 app[web.1]:
2014-02-21T13:43:37.653284+00:00 app[web.1]:
2014-02-21T13:43:37.653486+00:00 app[web.1]: app/models/resource.rb:28:in `average_rating'
2014-02-21T13:43:37.653486+00:00 app[web.1]: app/models/resource.rb:29:in `block in average_rating'
2014-02-21T13:43:37.653486+00:00 app[web.1]: TypeError (nil can't be coerced into Fixnum):
2014-02-21T13:43:37.653486+00:00 app[web.1]: app/models/resource.rb:29:in `+'
2014-02-21T13:43:37.653486+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `block in index'
2014-02-21T13:43:37.653486+00:00 app[web.1]:
2014-02-21T13:43:37.653486+00:00 app[web.1]:
2014-02-21T13:43:37.653486+00:00 app[web.1]: app/controllers/resources_controller.rb:14:in `index'
2014-02-21T13:43:37.669951+00:00 heroku[router]: at=info method=GET path=/ host=railsapps.herokuapp.com request_id=dd38c111-b237-4b30-988c-b1d0f1c33f90 fwd="77.12.186.19" dyno=web.1 connect=3ms service=320ms status=500 bytes=1543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment