首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将Rails应用程序部署到heroku错误(sqlite3 3->Postgresql)?

将Rails应用程序部署到heroku错误(sqlite3 3->Postgresql)?
EN

Stack Overflow用户
提问于 2012-10-22 21:11:58
回答 1查看 217关注 0票数 1

当我在heroku上向我的rails应用程序部署一些更改时,我突然得到了一个“应用程序错误”。也不知道为什么,我也找不到合适的解决办法。

以下是日志:

代码语言:javascript
复制
   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分钟后,一切都恢复正常和正常工作。奇怪,考虑到我什么都没做。还有其他人经历过类似的事情吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-22 21:32:10

  1. 创业板文件有pg创业板吗?
  2. 你在生产数据库上迁移数据库了吗?
  3. 部署会出现错误吗?
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13019956

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档