2012-10-22 202 views
1

當我在Heroku上部署一些更改到我的rails應用程序時,突然出現「應用程序錯誤」。並不確定爲什麼,我找不到合適的解決方案。將Rails應用程序部署到heroku錯誤(sqlite3-> Postgresql)?

下面是日誌:

2012-10-22T20:05:26+00:00 heroku[slugc]: Slug compilation started 
    2012-10-22T20:06:54+00:00 heroku[web.1]: State changed from up to starting 
    2012-10-22T20:06:54+00:00 heroku[slugc]: Slug compilation finished 
    2012-10-22T20:06:56+00:00 heroku[web.1]: Starting process with command `bundle e 
    xec rails server -p 28612` 
    2012-10-22T20:06:56+00:00 heroku[web.1]: Stopping all processes with SIGTERM 
    2012-10-22T20:06:57+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server 
    .rb:90:in `select' 
    2012-10-22T20:06:57+00:00 app[web.1]: [2012-10-22 20:06:57] ERROR SignalExceptio 
    n: SIGTERM 
    2012-10-22T20:07:06+00:00 heroku[web.1]: Stopping remaining processes with SIGKI 
    LL 
    2012-10-22T20:07:06+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least on 
    e process failed to exit within 10 seconds of SIGTERM 
    2012-10-22T20:07:08+00:00 heroku[web.1]: Process exited with status 137 
    2012-10-22T20:07:57+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process 
    failed to bind to $PORT within 60 seconds of launch 
    2012-10-22T20:07:57+00:00 heroku[web.1]: Stopping process with SIGKILL 
    2012-10-22T20:07:58+00:00 heroku[web.1]: State changed from starting to crashed 
    2012-10-22T20:07:58+00:00 heroku[web.1]: State changed from crashed to starting 
    2012-10-22T20:07:58+00:00 heroku[web.1]: Process exited with status 137 
    2012-10-22T20:08:01+00:00 heroku[web.1]: Starting process with command `bundle e 
    xec rails server -p 26859` 
    2012-10-22T20:09:01+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process 
    failed to bind to $PORT within 60 seconds of launch 
    2012-10-22T20:09:01+00:00 heroku[web.1]: Stopping process with SIGKILL 
    2012-10-22T20:09:02+00:00 heroku[web.1]: Process exited with status 137 
    2012-10-22T20:09:02+00:00 heroku[web.1]: State changed from starting to crashed 
    2012-10-22T20:09:27+00:00 heroku[router]: Error H10 (App crashed) -> GET www.thr 
    illengine.com/ dyno= queue= wait= service= status=503 bytes=` 

在發展它工作正常。

更新:

40分鐘後一切恢復正常,工作。奇怪的是,考慮到我沒有真正做任何事情。 任何其他人遇到類似的東西?

回答

1
  1. 該寶石文件是否有pg gem?

  2. 您是否將您的db遷移到生產數據庫?

  3. 部署是否給出錯誤?

+0

1.是的; 2.是的;沒有。 – emilsw

+0

這可能是亞馬遜AWS的停機時間。也許這不是你身邊的事! –

+0

http://techcrunch.com/2012/10/22/aws-ec2-issues-in-north-virginia-affect-heroku-reddit-and-others-heroku-still-down/ –

相關問題