Ruby on Rails Thursday, July 24, 2014



On Wednesday, 23 July 2014 05:59:12 UTC-4, huon sothon wrote:
i'm deployed my app to heroku. i run: git push heroku master .it is successfull .but when run heroku open it show errors :

-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.


and then i use command heroku logs it show error as shown bellow :

-2014-07-27T01:18:25.726069+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=********.herokuapp.com request_id=1ded5a34-7d01-440b-9fb4-0041fdc64715 fwd="110.74.222.57" dyno= connect= service= status=503 bytes=

please help me!

You'll want to check what's in the log before this line. Try running `heroku logs -t` to get a continuous stream of log messages, then try going to your application in your browser.

Also, check to make sure you've run your migrations on the Heroku db with `heroku run rake db:migrate`; that's a pretty common issue with a freshly-deployed application...

--Matt Jones 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9276c4cc-b83a-4a8f-b3d4-436a96ba6d61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment