Scaling dynos... ! ! Couldn't find that process type (web).

After I finished Git push heroku master, open web link has been application error: An error occurred in the application and your page could not be served.
Then execute the command line heroku logs --tail get the following things:

 1 D:\pycharm\pycharm projects\wblog\wblog>heroku logs --tail
 2 2019-07-28T09:03:18.289896+00:00 app[api]: Initial release by user [email protected]
 3 2019-07-28T09:03:18.289896+00:00 app[api]: Release v1 created by user [email protected]
 4 2019-07-28T09:03:18.433102+00:00 app[api]: Release v2 created by user [email protected]
 5 2019-07-28T09:03:18.433102+00:00 app[api]: Enable Logplex by user [email protected]
 6 2019-07-28T09:03:38.000000+00:00 app[api]: Build started by user [email protected]
 7 2019-07-28T09:03:39.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/768b15d9-2a0c-4f1c-9cea-2b5a201223f3/activity/builds/5afcc4c6-1bc8-4ad4-a769-1960ea3aa329
 8 2019-07-28T09:08:02.000000+00:00 app[api]: Build started by user [email protected]
 9 ——snip——
10 2019-07-28T10:00:53.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/768b15d9-2a0c-4f1c-9cea-2b5a201223f3/activity/builds/b98e836d-15b7-48f4-b7a0-8f22907e3b0f
11 2019-07-28T10:02:51.000000+00:00 app[api]: Build started by user [email protected]
12 2019-07-28T10:03:16.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/768b15d9-2a0c-4f1c-9cea-2b5a201223f3/activity/builds/06b97966-ca61-456b-a767-4a1107265497
13 2019-07-28T10:06:07.000000+00:00 app[api]: Build started by user [email protected]
14 2019-07-28T10:06:30.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/768b15d9-2a0c-4f1c-9cea-2b5a201223f3/activity/builds/c98f0da4-b69f-4b78-8f8d-44621aae1ab4
15 2019-07-28T10:15:13.539752+00:00 app[api]: Set DISABLE_COLLECTSTATIC config vars by user [email protected]
16 2019-07-28T10:15:13.539752+00:00 app[api]: Release v3 created by user [email protected]
17 2019-07-28T10:15:47.000000+00:00 app[api]: Build started by user [email protected]
18 2019-07-28T10:16:20.301050+00:00 app[api]: Running release v4 commands by user [email protected]
19 2019-07-28T10:16:20.314433+00:00 app[api]: @ref:postgresql-concave-41850 completed provisioning, setting DATABASE_URL. by user [email protected]
20 2019-07-28T10:16:20.301050+00:00 app[api]: Attach DATABASE (@ref:postgresql-concave-41850) by user [email protected]
21 2019-07-28T10:16:20.314433+00:00 app[api]: Release v5 created by user [email protected]
22 2019-07-28T10:16:20.563980+00:00 app[api]: Deploy 591886c8 by user [email protected]
23 2019-07-28T10:16:20.563980+00:00 app[api]: Release v6 created by user [email protected]
24 2019-07-28T10:16:29.000000+00:00 app[api]: Build succeeded
25 2019-07-28T10:19:02.245856+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shielded-brook-99547.herokuapp.com request_id=936ef859-e979-4adf-86ee-7316b4fa143c fwd="178.62.236.74" dyno= connect= service= status=503 bytes= protocol=https
26 2019-07-29T04:01:01.475469+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shielded-brook-99547.herokuapp.com request_id=c598ee9a-79b3-4331-835b-250315c2d83d fwd="112.96.112.171" dyno= connect= service= status=503 bytes= protocol=https
27 2019-07-29T04:01:03.394240+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=shielded-brook-99547.herokuapp.com request_id=fe3e8b10-7d79-41a2-8cd3-92157db79dae fwd="112.96.112.171" dyno= connect= service= status=503 bytes= protocol=https
28 2019-07-29T04:52:39.000000+00:00 app[api]: Build started by user [email protected]
29 2019-07-29T04:52:57.882020+00:00 app[api]: Deploy 6930749c by user [email protected]
30 2019-07-29T04:52:57.882020+00:00 app[api]: Release v7 created by user [email protected]
31 2019-07-29T04:53:07.000000+00:00 app[api]: Build succeeded
32 2019-07-29T04:56:55.101401+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shielded-brook-99547.herokuapp.com request_id=22fdb666-6f34-4894-975c-be98cd62b1e9 fwd="104.237.153.137" dyno= connect= service= status=503 bytes= protocol=https

And then view the information online and then run: heroku ps: scale web = 1

Appeared Scaling dynos ...!! Could not find that process type (web).

 

The reason is: Procfile problems

 

Solution: Procfile problem

1, perhaps Procfile wrong, this sure is a capital P, do not pay attention!

2, Procfile content inside

 1 web: gunicorn wblog.wsgi --log-file - 

 

Their practice for a long time, did not think this small problem, the next job is to be careful.

Guess you like

Origin www.cnblogs.com/liyanyinng/p/11267316.html