On Sat, May 25, 2013 at 5:24 PM, Assaf Shomer <li...@ruby-forum.com> wrote: > I converted my app to rails 4. My test suite is green and it runs great > locally. I then deploy to Heroku and it crashed with no information at > all. > It just says "Application Error. An error occurred in the application > and your page could not be served" > > Heroku logs don't give any info either: > ------------------------------------------------------------- > 2013-05-25T22:11:26.070468+00:00 heroku[web.1]: Process exited with > status 0 > 2013-05-25T22:11:26.083572+00:00 heroku[web.1]: State changed from > starting to crashed > 2013-05-25T22:13:09.372294+00:00 heroku[run.4121]: State changed from up > to complete > 2013-05-25T22:13:09.357146+00:00 heroku[run.4121]: Process exited with > status 1 > 2013-05-25T22:13:50.829887+00:00 heroku[router]: at=error code=H10 > desc="App crashed" method=GET path=/ host=devsampleapp.herokuapp.com > fwd="93.172.16.63" dyno= connect= service= status=503 bytes= > --------------------------------------------------------------- > > Also the console doesn't run, i get the same error > > ------------------------------------------------------------- > 2013-05-25T22:18:35.408174+00:00 heroku[api]: Starting process with > command `bin/rails console` by assafsho...@gmail.com > 2013-05-25T22:18:39.303102+00:00 heroku[run.8219]: Awaiting client > 2013-05-25T22:18:39.330725+00:00 heroku[run.8219]: Starting process with > command `bin/rails console` > 2013-05-25T22:18:42.261206+00:00 heroku[run.8219]: Process exited with > status 0 > 2013-05-25T22:18:42.282759+00:00 heroku[run.8219]: State changed from > starting to complete > ------------------------------------------------------------------ > > In my misery I ran pg:reset and rake db:migrate. Those were the only two > commands that did run ok, but the app is still crashing in production > only. > > Anyone has any ideas?
Send a proper trace from development environment, if it won't boot up then the problem is either in a gem, gemfile or config/* -- 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+unsubscr...@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/CAM5XQny8u0goXpfAY%2BvYVqVfwmMBYkoWo3XJFASWYDxan69qNg%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.