无法运行dynos

时间:2018-03-22 18:26:59

标签: django python-3.x heroku

将我的django-site部署到heroku后(最后!)我得到了错误代码H14"。然后我尝试缩放dynos,但发生了以下错误:

heroku ps:scale web=1
Scaling dynos... !
▸    Couldn't find that process type.

Procfile:

web: gunicorn Django_work.wsgi

项目链接: https://github.com/AlfredMulder/Django_work

完整日志:

2018-03-22T18:08:02.000000+00:00 app[api]: Build started by user xanderhref@protonmail.com

2018-03-22T18:08:50.392177+00:00 app[api]: Attach DATABASE (@ref:postgresql-curved-78959) by user xanderhref@protonmail.com

2018-03-22T18:08:50.392177+00:00 app[api]: Release v4 created by user xanderhref@protonmail.com

2018-03-22T18:08:50.658643+00:00 app[api]: Release v5 created by user xanderhref@protonmail.com

2018-03-22T18:08:50.658643+00:00 app[api]: Deploy 11510f4e by user xanderhref@protonmail.com

2018-03-22T18:08:02.000000+00:00 app[api]: Build succeeded

2018-03-22T18:08:57.301783+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=boiling-wildwood-73678.herokuapp.com request_id=b3bbcf39-a609-4568-b7f1-d6e83c877b48 fwd="178.64.164.115" dyno= connect= service= status=503 bytes= protocol=https

2018-03-22T18:08:59.619356+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=boiling-wildwood-73678.herokuapp.com request_id=31d8fc72-120b-4006-ae41-c8b95a99357f fwd="178.64.164.115" dyno= connect= service= status=503 bytes= protocol=https

2018-03-22T18:08:59.792765+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=boiling-wildwood-73678.herokuapp.com request_id=0add7b9c-0f00-4514-8ca5-7c2e353b4773 fwd="178.64.164.115" dyno= connect= service= status=503 bytes= protocol=https

2018-03-22T18:09:50.176125+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=boiling-wildwood-73678.herokuapp.com request_id=b9ffc587-ffda-4b82-85c0-22032f288b3f fwd="178.64.164.115" dyno= connect= service= status=503 bytes= protocol=https

1 个答案:

答案 0 :(得分:1)

案例很重要。该文件必须被称为Procfile,而不是procfile