部署到 Heroku 错误。提供日志

Posted

技术标签:

【中文标题】部署到 Heroku 错误。提供日志【英文标题】:Deploying to Heroku Error. Giving logs 【发布时间】:2015-01-13 14:58:06 【问题描述】:

http://gentle-wildwood-7307.herokuapp.com/

应用程序是从 C9(mysql 数据库,而不是 postgresql)部署的,这是我的日志。不确定是什么问题。

4.236.208.24" dyno= 连接= 服务= 状态=503 字节= 2014-11-16T17:41:31.091593+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-wildwood-7307.herokuapp .com request_id=cc817f43-c067-47f5-b488-0e96f5207c2c fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:41:31.891130+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-wildwood-7307.herokuapp.com request_id =1943dc6d-721a-4761-a393-52b4816ef387 fwd="64.236.208.24" 测功机=连接=服务=状态=503字节= 2014-11-16T17:41:32.045544+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-wildwood-7307.herokuapp .com request_id=963024c6-60e0-4540-896b-5de8d09c081b fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:41:32.351885+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-wildwood-7307.herokuapp.com request_id =d594a1d8-379d-4d95-a54d-48eca9788237 fwd="64.236.208.24" 测功机=连接=服务=状态=503字节= 2014-11-16T17:41:32.531014+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-wildwood-7307.herokuapp .com request_id=848521cb-af78-4884-af8e-a62bf1624bab fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:43:44.753508+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-wildwood-7307.herokuapp.com request_id =ab2215ad-aad7-479e-a9d5-a0db08791950 fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:43:44.910248+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-wildwood-7307.herokuapp .com request_id=79216544-8c50-4561-839a-be2cbb234a77 fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:44:12+00:00 heroku[slug-compiler]:Slug 编译开始 2014-11-16T17:44:20+00:00 heroku [slug-compiler]:Slug 编译失败:无法编译 Ruby 应用程序 2014-11-16T17:45:54.324695+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-wildwood-7307.herokuapp.com request_id =6f5c17fd-5c75-482e-851e-b0e18291eb6d fwd="64.236.208.24" 测功机=连接=服务=状态=503字节= 2014-11-16T17:45:54.609157+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-wildwood-7307.herokuapp .com request_id=312743fb-a8a1-4d72-8ab6-d91a28cd3f27 fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:45:55.378930+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-wildwood-7307.herokuapp.com request_id =24822512-b401-4281-9aa4-d7d0de596f22 fwd="64.236.208.24" 测功机=连接=服务=状态=503字节= 2014-11-16T17:45:55.720652+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-wildwood-7307.herokuapp .com request_id=cc8e0da3-ccf9-4389-9b2d-7ccf1bdc7e85 fwd="64.236.208.24" dyno= connect= service= status=503 bytes= 2014-11-16T17:46:26.595187+00:00 heroku[api]: 使用命令bundle exec rake db:migrate 由sportsdude.reese@gmail.com 启动进程 2014-11-16T17:46:30.757912+00:00 heroku[run.5329]:等待客户端 2014-11-16T17:46:30.806568+00:00 heroku[run.5329]:使用命令bundle exec rake db:migrate启动进程 2014-11-16T17:46:30.994709+00:00 heroku[run.5329]:状态从开始变为向上 2014-11-16T17:46:35.021047+00:00 heroku[run.5329]:进程以状态 1 退出 2014-11-16T17:46:35.027007+00:00 heroku[run.5329]: 状态从 up to complete 2014-11-16T17:47:43+00:00 heroku[slug-compiler]:Slug 编译开始 2014-11-16T17:47:54+00:00 heroku[slug-compiler]:Slug 编译失败:无法编译 Ruby 应用程序

【问题讨论】:

【参考方案1】:

看来问题出在迁移上。

【讨论】:

以上是关于部署到 Heroku 错误。提供日志的主要内容,如果未能解决你的问题,请参考以下文章

应用程序中发生错误,无法提供您的页面将 Node.Js REST 部署到 heroku

为啥我的静态文件在部署到 Heroku 服务器时没有提供? (姜戈)

我将游戏框架应用程序部署到Heroku但它不起作用

将 ktor 应用程序部署到 Heroku 后出现日志错误

如何在Heroku上部署java gradle应用程序

为啥在将应用程序部署到 Heroku 时出现此错误?