简体   繁体   English

Heroku:部署 python Django 应用程序后“进程退出,状态为 127”

[英]Heroku: “Process exited with status 127” after deploying python Django App

After deploying the app on Heroku and running it, it shows an error like this:在 Heroku 上部署应用程序并运行它后,它显示如下错误:

Application error An error occurred in the application and your page could not be served.应用程序错误应用程序中发生错误,无法提供您的页面。 If you are the application owner, check your logs for details.如果您是应用程序所有者,请检查您的日志以了解详细信息。

And when I check the logs, it shows:当我检查日志时,它显示:

2018-03-30T07:25:13.273255+00:00 heroku[web.1]: Process exited with status 127 2018-03-30T07:25:13.273255+00:00 heroku[web.1]:进程以状态 127 退出
2018-03-30T07:25:14.757951+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=protected-journey-42490.herokuapp.com request_id=fdaf6efd-b490-4848-8f55-f583f1fc6b50 fwd="125.16.236.158" dyno= connect= service= status=503 bytes= protocol=https 2018-03-30T07:25:14.757951+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=protected-journey-42490.herokuapp.com request_id =fdaf6efd-b490-4848-8f55-f583f1fc6b50 fwd="125.16.236.158" dyno=connect=service=status=503 bytes=protocol=https
2018-03-30T07:25:15.888944+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=protected-journey-42490.herokuapp.com request_id=7cdefbb6-e1a0-42bf-bb4d-0deed69f9c61 fwd="125.16.236.158" dyno= connect= service= status=503 bytes= protocol=https 2018-03-30T07:25:15.888944+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=protected-journey-42490.herokuapp .com request_id=7cdefbb6-e1a0-42bf-bb4d-0deed69f9c61 fwd="125.16.236.158" dyno= connect= service= status=503 bytes= protocol=https

Here's the reference link of my repository : pages_project这是我的存储库的参考链接: pages_project

如果你正在使用gunicorn然后将其添加在requitements.txt文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM