[英]cant git push heroku master after i tried to change one heroku domain to another heroku domain | ruby on rails app
[英]Heroku - Ruby On rails - Error after domain change
我的应用程序已经运行了24个小时以上,没有问题。
我决定尝试将自定义域添加到我的网站。 我按照说明进行操作,然后转到我的Godaddy面板,并将www从@更改为mysite.heroku.com
我去睡觉了,今天早上醒来时,我得到了这个错误
An error occurred in the application and your page could not be served. Please try again in a few moments.
如果您是应用程序所有者,请检查您的日志以获取详细信息。”
检查日志后,这就是我看到的
2013-03-02T10:22:24+00:00 heroku[web.1]: Process exited with status 1
2013-03-02T10:22:24+00:00 heroku[web.1]: State changed from starting to crashed
2013-03-02T10:22:25+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-02T10:22:26+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-02T10:22:39+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-02T10:22:39+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
我对Rails和Heroku上的ruby还是比较陌生,所以我不知道如何解决此错误。
我还删除了自定义域,并在我的Godaddy面板中将所有内容恢复为正常,但仍然出现此错误。
我试图推送最新版本的代码,但没有任何区别。
部署应用程序后,您是否执行过heroku run rake db:migrate
吗?
GoDaddy可能会让人感到痛苦,而我仅次于开发人员上面所说的^。 可能需要花费一两天的时间才能正确加载,因此在那方面寻找问题的根源可能不可靠。
检查以确保所有内容在您的应用程序的Heroku侧都能正常运行。 Heroku的状态看起来不错, https://status.heroku.com/ 。
您的应用程序在进行本地测试时还没有崩溃吗? http:// localhost:3000 /任何
检查您的宝石,其他宝石似乎也有类似问题。 链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.