PMP*_*PMP 0 crash postgresql ruby-on-rails heroku
自从我的heroku应用程序开始崩溃以来,现在已经过了48个小时.我真的不知道是什么让它崩溃了,我已经尝试重新启动它,更改动力学和跑步heroku run rake db:migrate
但这些似乎都不起作用.
这些是我的heroku日志
at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=serene-savannah-7550.herokuapp.com fwd="81.34.154.155" dyno= connect= service= status=503 bytes=
2013-08-27T12:51:50+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_BLACK measure.current_transaction=26940 measure.db_size=56841336bytes measure.tables=23 measure.active-connections=3 measure.waiting-connections=0 measure.index-cache-hit-rate=0.85317 measure.table-cache-hit-rate=0.99704
2013-08-27T12:52:45+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_BLACK measure.current_transaction=26940 measure.db_size=56841336bytes measure.tables=23 measure.active-connections=3 measure.waiting-connections=0 measure.index-cache-hit-rate=0.85317 measure.table-cache-hit-rate=0.99704
2013-08-27T12:53:34.027760+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.website.com fwd="81.34.154.155" dyno= connect= service= status=503 bytes=
2013-08-27T12:54:35.129270+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.website.com fwd="81.34.154.155" dyno= connect= service= status=503 bytes=
2013-08-27T12:54:36+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_BLACK measure.current_transaction=26940 measure.db_size=56841336bytes measure.tables=23 measure.active-connections=3 measure.waiting-connections=0 measure.index-cache-hit-rate=0.99998 measure.table-cache-hit-rate=1
2013-08-27T12:55:15.018337+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.website.com fwd="81.34.154.155" dyno= connect= service= status=503 bytes=
Run Code Online (Sandbox Code Playgroud)
我已经尝试过更改为2 Dynos x1和1 Dyno x2,但它并没有改变我安装的PostgreSQL Crane并设置为我的DATABASE_URL.
它为什么会崩溃,我怎么能解决这个恼人的错误?
谢谢
看起来你的应用程序反复崩溃(但你已经知道了).您是否创建了尚未运行的迁移?
试试heroku run bundle exec rake db:migrate
.
如果这不起作用,请尝试在Heroku上运行Rails控制台以帮助诊断问题.跑heroku run bundle exec rails console
.
归档时间: |
|
查看次数: |
2931 次 |
最近记录: |