Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

David Kong
David Kong
3,710 Points

Simple Ruby App: Deploying to Heroku --> how to identify errors

I get this, just as expected....

-- Application Error

-- An error occurred in the application and your page could not be served. Please try --again in a few moments.

-- If you are the application owner, check your logs for details.

however, after doing the fixes recommended:

group :production do gem 'pg' end

and

bundle install --without production

It still doesn't fix it for me like the video... here are my error logs, but i don't know how to read them, or how to fix this to deploy. Am stuck!!!!


2012-12-31T00:48:43+00:00 heroku[api]: Starting process with command bundle exec rake db:migrate by dave.a.kong@gmail.com 2012-12-31T00:48:45+00:00 heroku[run.5589]: Awaiting client 2012-12-31T00:48:45+00:00 heroku[run.5589]: Starting process with command bundle exec rake db:migrate 2012-12-31T00:48:45+00:00 heroku[run.5589]: State changed from starting to up 2012-12-31T00:48:55+00:00 heroku[run.5589]: Process exited with status 0 2012-12-31T00:48:55+00:00 heroku[run.5589]: State changed from up to complete 2012-12-31T00:49:00+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=afternoon-eyrie-9436.herokuapp.com fwd=70.79.22.82 dyno= queue= wait= connect= service= status=503 bytes= 2012-12-31T00:49:01+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=afternoon-eyrie-9436.herokuapp.com fwd=70.79.22.82 dyno= queue= wait= connect= service= status=503 bytes= 2012-12-31T00:49:01+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=afternoon-eyrie-9436.herokuapp.com fwd=70.79.22.82 dyno= queue= wait= connect= service= status=503 bytes= 2012-12-31T00:55:04+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=afternoon-eyrie-9436.herokuapp.com fwd=70.79.22.82 dyno= queue= wait= connect= service= status=503 bytes= 2012-12-31T00:55:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=afternoon-eyrie-9436.herokuapp.com fwd=70.79.22.82 dyno= queue= wait= connect= service= status=503 bytes=

2 Answers

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hey David,

I'm not sure what the answer is, but I've notified Jason about your post. He should be able to help you. :)

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

David, I can't tell the exact problem from the error message posted. Do you have your app posted anywhere so I can take a look at the code? If not, can you email help@teamtreehouse.com with the code? Thanks!