【发布时间】:2022-01-16 05:01:24
【问题描述】:
当我进入我的 heroku 项目时,它说运行 heroku logs --tail,当我这样做时,我得到:
2022-01-16T04:52:26.342707+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=myproject.herokuapp.com request_id=584f14b8-99da-4cfc-bfad-1811755db6fb fwd="49.149.136.159" dyno= connect= service= status=503 bytes= protocol=https
2022-01-16T04:52:27.375325+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=myproject.herokuapp.com request_id=63993a67-e160-4762-a520-9164646b74f7 fwd="49.149.136.159" dyno= connect= service= status=503 bytes= protocol=https
我试过 heroku ps:scale web=1 但我明白了:
Scaling web processes... failed
! No such type as web
这是我的过程文件:
web: gunicorn myproject.wsgi --log-file -
如何让我的网站正常运行?
【问题讨论】:
-
试试这个
web: gunicorn riseupontario.wsgi:application --log-file - -
@sumithran 仍然无法正常工作...啊!
标签: django heroku heroku-postgres heroku-cli