catherine-jones / my-blog

a blog for me
0 stars 0 forks source link

Application Error when deploying to Heroku #2

Closed catherine-jones closed 10 years ago

catherine-jones commented 10 years ago

C:\Sites\my-blog>heroku logs 2014-03-20T10:18:23.626176+00:00 app[web.1]: Started GET "/" for 121.217.228.129 at 2014-03-20 10:18:23 +0000 2014-03-20T10:18:24.225328+00:00 app[web.1]: Started GET "/posts" for 121.217.228.129 at 2014-03-20 10:18:24 +0000 2014-03-20T10:18:24.339559+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.5ms) 2014-03-20T10:18:24.331584+00:00 app[web.1]: Rendered posts/index.html.erb within layouts/application (4.4ms) 2014-03-20T10:18:24.338477+00:00 app[web.1]: Rendered layouts/_header.html.erb (1.6ms) 2014-03-20T10:18:24.339853+00:00 app[web.1]: Completed 200 OK in 82.8ms (Views: 18.1ms | ActiveRecord: 40.0ms) 2014-03-20T10:18:24.835160+00:00 heroku[router]: at=info method=GET path=/assets/application-eaa4c3bff56cafeb9ba8b4459f6c071b.css host=www.catherine-j ones.co request_id=ce303001-c205-4014-b581-63069a864877 fwd="121.217.228.129" dyno=web.1 connect=24ms service=15ms status=200 bytes=78765 2014-03-20T10:18:25.162473+00:00 heroku[router]: at=info method=GET path=/assets/application-9b08d0725f269630c0bed10f20e1a95d.js host=www.catherine-jo nes.co request_id=c64eab33-a0e4-461f-862f-fe565412b1ec fwd="121.217.228.129" dyno=web.1 connect=28ms service=47ms status=200 bytes=164850 2014-03-20T10:18:29.364922+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=www.catherine-jones.co request_id=003be29f-c1e9-483c-980a-9 1d63c5e243b fwd="121.217.228.129" dyno=web.1 connect=5ms service=14ms status=200 bytes=272 2014-03-20T10:18:36.164441+00:00 app[web.1]: Started GET "/users/sign_up" for 121.217.228.129 at 2014-03-20 10:18:36 +0000 2014-03-20T10:18:36.239067+00:00 app[web.1]: [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to ski p validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. 2014-03-20T10:18:36.170576+00:00 app[web.1]: Processing by Devise::RegistrationsController#new as HTML 2014-03-20T10:18:36.298620+00:00 heroku[router]: at=info method=GET path=/users/sign_up host=www.catherine-jones.co request_id=8cdcd1b2-4ece-4a7e-ac94 -9948964b8ca9 fwd="121.217.228.129" dyno=web.1 connect=4ms service=137ms status=200 bytes=3962 2014-03-20T10:18:36.284047+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.0.0/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.7ms) 2014-03-20T10:18:36.284047+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.0.0/gems/devise-3.2.4/app/views/devise/registrations/new.html.erb within layouts/application (47.1ms) 2014-03-20T10:18:36.294025+00:00 app[web.1]: Rendered layouts/_header.html.erb (6.4ms) 2014-03-20T10:18:36.295109+00:00 app[web.1]: Completed 200 OK in 124.4ms (Views: 59.6ms | ActiveRecord: 6.6ms) 2014-03-20T10:18:36.294663+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.2ms) 2014-03-20T10:18:57.380642+00:00 app[web.1]: Started POST "/users" for 121.217.228.129 at 2014-03-20 10:18:57 +0000 2014-03-20T10:18:57.384125+00:00 app[web.1]: Parameters: {"utf8"=>"���", "authenticity_token"=>"UGp0BX/0gPyUxEJJwlYBWP0jkSPHkIypTUtrn8WwvIM=", "user "=>{"email"=>"catherine.jones41@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} 2014-03-20T10:18:57.384005+00:00 app[web.1]: Processing by Devise::RegistrationsController#create as HTML 2014-03-20T10:18:57.646538+00:00 heroku[router]: at=info method=POST path=/users host=www.catherine-jones.co request_id=9bdff2a3-fd5a-42e5-8ad1-ce8fb5 fcb73d fwd="121.217.228.129" dyno=web.1 connect=2ms service=290ms status=302 bytes=1050 2014-03-20T10:18:57.636222+00:00 app[web.1]: Completed 302 Found in 252.0ms (ActiveRecord: 0.0ms) 2014-03-20T10:18:57.636222+00:00 app[web.1]: Redirected to http://www.catherine-jones.co/ 2014-03-20T10:19:01.820257+00:00 app[web.1]: Started GET "/" for 121.217.228.129 at 2014-03-20 10:19:01 +0000 2014-03-20T10:19:01.827255+00:00 heroku[router]: at=info method=GET path=/ host=www.catherine-jones.co request_id=325072fe-ec78-480c-b969-6b5846a911c0 fwd="121.217.228.129" dyno=web.1 connect=1ms service=3808ms status=301 bytes=1059 2014-03-20T10:19:02.220744+00:00 app[web.1]: Rendered posts/index.html.erb within layouts/application (14.2ms) 2014-03-20T10:19:02.291282+00:00 app[web.1]: Rendered layouts/_header.html.erb (67.5ms) 2014-03-20T10:19:02.291527+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.1ms) 2014-03-20T10:19:02.199706+00:00 app[web.1]: Started GET "/posts" for 121.217.228.129 at 2014-03-20 10:19:02 +0000 2014-03-20T10:19:02.202894+00:00 app[web.1]: Processing by PostsController#index as HTML 2014-03-20T10:19:02.291893+00:00 app[web.1]: Completed 200 OK in 88.7ms (Views: 80.4ms | ActiveRecord: 7.2ms) 2014-03-20T10:19:08.135877+00:00 app[web.1]: Started GET "/posts/new" for 121.217.228.129 at 2014-03-20 10:19:08 +0000 2014-03-20T10:19:08.148215+00:00 app[web.1]: Processing by PostsController#new as HTML 2014-03-20T10:19:08.155424+00:00 app[web.1]: Rendered posts/_form.html.erb (4.0ms) 2014-03-20T10:19:08.191732+00:00 app[web.1]: Rendered layouts/_header.html.erb (34.0ms) 2014-03-20T10:19:08.155950+00:00 app[web.1]: Rendered posts/new.html.erb within layouts/application (5.7ms) 2014-03-20T10:19:08.199966+00:00 heroku[router]: at=info method=GET path=/posts/new host=www.catherine-jones.co request_id=d3be1766-2563-4ead-b203-09b 519103d49 fwd="121.217.228.129" dyno=web.1 connect=1ms service=79ms status=200 bytes=4022 2014-03-20T10:19:08.194722+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.2ms) 2014-03-20T10:19:08.195039+00:00 app[web.1]: Completed 200 OK in 46.8ms (Views: 13.8ms | ActiveRecord: 31.9ms) 2014-03-20T10:18:23.772271+00:00 heroku[router]: at=info method=GET path=/ host=www.catherine-jones.co request_id=0583d2f7-dd3e-40b9-a34d-1daafea088dd fwd="121.217.228.129" dyno=web.1 connect=7ms service=155ms status=301 bytes=485 2014-03-20T10:19:02.344205+00:00 heroku[router]: at=info method=GET path=/posts host=www.catherine-jones.co request_id=9822fe69-2c11-4e78-b47a-7855767 ee422 fwd="121.217.228.129" dyno=web.1 connect=7ms service=147ms status=200 bytes=4822 2014-03-20T11:17:12.973515+00:00 app[web.1]: Started GET "/posts/new" for 121.217.228.129 at 2014-03-20 11:17:12 +0000 2014-03-20T11:17:12.980569+00:00 app[web.1]: Processing by PostsController#new as HTML 2014-03-20T11:17:12.983695+00:00 app[web.1]: Rendered posts/_form.html.erb (2.2ms) 2014-03-20T11:17:12.983884+00:00 app[web.1]: Rendered posts/new.html.erb within layouts/application (2.5ms) 2014-03-20T11:17:13.008645+00:00 app[web.1]: Completed 200 OK in 28.0ms (Views: 5.8ms | ActiveRecord: 21.7ms) 2014-03-20T11:17:13.008531+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.1ms) 2014-03-20T11:17:13.008211+00:00 app[web.1]: Rendered layouts/_header.html.erb (23.0ms) 2014-03-20T11:17:13.011742+00:00 heroku[router]: at=info method=GET path=/posts/new host=www.catherine-jones.co request_id=e8e03195-d7a7-4022-9782-a3d 315774b65 fwd="121.217.228.129" dyno=web.1 connect=3ms service=43ms status=200 bytes=4022 2014-03-20T11:17:13.440063+00:00 heroku[router]: at=info method=GET path=/assets/application-eaa4c3bff56cafeb9ba8b4459f6c071b.css host=www.catherine-j ones.co request_id=b915ff1f-7745-4d65-b4fc-f8a0380831db fwd="121.217.228.129" dyno=web.1 connect=11ms service=31ms status=200 bytes=78765 2014-03-20T11:17:13.472202+00:00 heroku[router]: at=info method=GET path=/assets/application-9b08d0725f269630c0bed10f20e1a95d.js host=www.catherine-jo nes.co request_id=6249923b-fdcb-4f43-b8ae-dac1a4ec408b fwd="121.217.228.129" dyno=web.1 connect=10ms service=14ms status=200 bytes=164850 2014-03-20T11:17:17.174774+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=www.catherine-jones.co request_id=59067358-9282-4362-9e0d-9 1a96f62da26 fwd="121.217.228.129" dyno=web.1 connect=1ms service=4ms status=200 bytes=272 2014-03-20T12:21:06.675975+00:00 heroku[web.1]: Idling 2014-03-20T12:21:06.675975+00:00 heroku[web.1]: State changed from up to down 2014-03-20T12:21:08.827364+00:00 heroku[web.1]: Stopping all processes with SIGTERM 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in start' 2014-03-20T12:21:09.276187+00:00 app[web.1]: [2014-03-20 12:21:09] FATAL SignalException: SIGTERM 2014-03-20T12:21:09.276411+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.17/lib/rails/commands.rb:50:in<top (required)>' 2014-03-20T12:21:09.276411+00:00 app[web.1]: [2014-03-20 12:21:09] INFO going to shutdown ... 2014-03-20T12:21:09.276187+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-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:inselect' 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in start' 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:268:instart' 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.17/lib/rails/commands/server.rb:70:in start' 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.17/lib/rails/commands.rb:55:inblock in <top (require d)>' 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:13:in run' 2014-03-20T12:21:09.276187+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.17/lib/rails/commands.rb:50:intap' 2014-03-20T12:21:09.276411+00:00 app[web.1]: script/rails:6:in require' 2014-03-20T12:21:09.276411+00:00 app[web.1]: script/rails:6:in

' 2014-03-20T12:21:09.276411+00:00 app[web.1]: [2014-03-20 12:21:09] INFO WEBrick::HTTPServer#start done. 2014-03-20T12:21:09.276411+00:00 app[web.1]: Exiting 2014-03-20T12:21:10.648400+00:00 heroku[web.1]: Process exited with status 143 2014-03-21T06:10:06+00:00 heroku[slug-compiler]: Slug compilation started 2014-03-21T06:10:29+00:00 heroku[slug-compiler]: Slug compilation finished 2014-03-21T06:10:29.434333+00:00 heroku[api]: Deploy e63f26c by catherine.jones41@gmail.com 2014-03-21T06:10:29.434426+00:00 heroku[api]: Release v17 created by catherine.jones41@gmail.com 2014-03-21T06:10:29.761211+00:00 heroku[web.1]: State changed from down to starting 2014-03-21T06:10:32.847288+00:00 heroku[web.1]: Starting process with command bundle exec rails server -p 45749 2014-03-21T06:10:34.701230+00:00 app[web.1]: rake aborted! 2014-03-21T06:10:34.698639+00:00 app[web.1]: (in /app/vendor/bundle/ruby/2.0.0/gems/rails-0.9.5) 2014-03-21T06:10:34.702250+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rails-0.9.5/Rakefile:3:in <top (required)>' 2014-03-21T06:10:34.702405+00:00 app[web.1]: (See full trace by running task with --trace) 2014-03-21T06:10:34.702250+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rails-0.9.5/Rakefile:3:inrequire' 2014-03-21T06:10:34.701521+00:00 app[web.1]: ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) in stead. 2014-03-21T06:10:36.028182+00:00 heroku[web.1]: Process exited with status 0 2014-03-21T06:10:36.041458+00:00 heroku[web.1]: State changed from starting to crashed 2014-03-21T06:10:36.041458+00:00 heroku[web.1]: State changed from crashed to starting 2014-03-21T06:10:38.942799+00:00 heroku[web.1]: Starting process with command bundle exec rails server -p 38813 2014-03-21T06:10:40.482632+00:00 app[web.1]: (in /app/vendor/bundle/ruby/2.0.0/gems/rails-0.9.5) 2014-03-21T06:10:40.485298+00:00 app[web.1]: rake aborted! 2014-03-21T06:10:40.485298+00:00 app[web.1]: ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) in stead. 2014-03-21T06:10:40.485718+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rails-0.9.5/Rakefile:3:in require' 2014-03-21T06:10:40.485718+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rails-0.9.5/Rakefile:3:in<top (required)>' 2014-03-21T06:10:40.485718+00:00 app[web.1]: (See full trace by running task with --trace) 2014-03-21T06:10:41.676996+00:00 heroku[web.1]: Process exited with status 0 2014-03-21T06:10:41.683729+00:00 heroku[web.1]: State changed from starting to crashed 2014-03-21T06:11:05.054833+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.catherine-jones.co request_id=62e3236 f-b865-4848-abc8-76cefddaafd5 fwd="124.183.120.73" dyno= connect= service= status=503 bytes= 2014-03-21T06:11:06.324297+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=www.catherine-jones.co request _id=4dff2093-e1bf-424a-9cb3-0cd11977547f fwd="124.183.120.73" dyno= connect= service= status=503 bytes= 2014-03-21T06:11:06.854317+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=www.catherine-jones.co request _id=aa0212b1-09fd-4a72-b16a-ad63f6d348ca fwd="124.183.120.73" dyno= connect= service= status=503 bytes= 2014-03-21T06:11:20.706829+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.catherine-jones.co request_id=bc8b96c 3-bb7b-4455-9f6a-bddac86f98af fwd="124.183.120.73" dyno= connect= service= status=503 bytes=

C:\Sites\my-blog>

catherine-jones commented 10 years ago

resolved by declaring the exact version of rails