Журнал ошибок приложения Heroku / gunicorn / django - PullRequest
0 голосов
/ 01 февраля 2020

Я пытаюсь запустить мое django веб-приложение на heroku.

Ниже приведена структура моей папки:

myblog/
   myblog/
     ...
     wsgi.py
   Procfile
   requirements.txt 
   runtime.txt
   ...

Procfile:

web: gunicorn myblog.wsgi:application --log-file =-

Журнал:

2020-02-01T05:24:18.000000+00:00 app[api]: Build started by user myusername@gmail.com
2020-02-01T05:24:53.555023+00:00 app[api]: Deploy f80dc625 by user myusername@gmail.com
2020-02-01T05:24:53.555023+00:00 app[api]: Release v15 created by user myusername@gmail.com
2020-02-01T05:24:54.464684+00:00 heroku[web.1]: State changed from crashed to starting
2020-02-01T05:24:58.015753+00:00 heroku[web.1]: Starting process with command `gunicorn myblog.wsgi:application --log-file =-`
 2020-02-01T05:24:59.499501+00:00 heroku[web.1]: State changed from starting to crashed
2020-02-01T05:24:59.502671+00:00 heroku[web.1]: State changed from crashed to starting
2020-02-01T05:24:59.481315+00:00 heroku[web.1]: Process exited with status 3
2020-02-01T05:25:03.393607+00:00 heroku[web.1]: Starting process with command `gunicorn 
myblog.wsgi:application --log-file =-`
2020-02-01T05:25:03.000000+00:00 app[api]: Build succeeded
2020-02-01T05:25:05.386497+00:00 heroku[web.1]: State changed from starting to crashed
2020-02-01T05:25:05.370403+00:00 heroku[web.1]: Process exited with status 3
2020-02-01T05:25:15.342838+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET 
path="/" host=cryptic-peak-88710.herokuapp.com request_id=40f22193-b420-48c8-a79b-d037e97e9c8b 
fwd="211.229.239.157" dyno= connect= service= status=503 bytes= protocol=https
 2020-02-01T05:25:16.518964+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET 
 path="/favicon.ico" host=cryptic-peak-88710.herokuapp.com request_id=10407ff6-814b-4a34-9fd6- 
31e33e90f0e6 fwd="211.229.239.157" dyno= connect= service= status=503 bytes= protocol=https

Я пытался

web: gunicorn project.wsgi:application --preload --workers 1
web: gunicorn project.wsgi:application --log-file=-

Пожалуйста, помогите мне найти способ запустить мое приложение на heroku.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...