Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

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: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

Here's the reference link of my repository : pages_project

like image 709
viscabar Avatar asked Mar 30 '18 07:03

viscabar


1 Answers

If you are using gunicorn then add it in requitements.txt file

like image 178
Amrit Prasad Avatar answered Sep 22 '22 21:09

Amrit Prasad