heroku应用程序崩溃了

时间:2014-05-21 13:20:10

标签: python django git heroku

我正在尝试运行我在heroku上部署的应用程序但是当我运行heroku时它显示一个名为=== web(1X)的错误:gunicorn mysite.wsgi       web.1:crashed 2014/05/24 19:25:03(~1m ago)

我无法找到我的日志错误: -

2014-05-24T12:27:30.424427+00:00 heroku[api]: Enable Logplex by prakhar126@gmail.com
2014-05-24T12:27:30.424600+00:00 heroku[api]: Release v2 created by prakhar126@gmail.com
2014-05-24T12:28:23+00:00 heroku[slug-compiler]: Slug compilation started
2014-05-24T12:29:12.587922+00:00 heroku[api]: Release v3 created by prakhar126@gmail.com
2014-05-24T12:29:12.746669+00:00 heroku[api]: Attach HEROKU_POSTGRESQL_AQUA resource by    prakhar126@gmail.com
2014-05-24T12:29:12.746748+00:00 heroku[api]: Release v4 created by prakhar126@gmail.com
2014-05-24T12:29:12.151217+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:29:12.587705+00:00 heroku[api]: Set DATABASE_URL config vars by prakhar126@gmail.com
2014-05-24T12:29:12+00:00 heroku[slug-compiler]: Slug compilation finished
2014-05-24T12:29:12.895151+00:00 heroku[api]: Release v5 created by prakhar126@gmail.com
2014-05-24T12:29:12.895062+00:00 heroku[api]: Deploy 6e7d5c7 by prakhar126@gmail.com
2014-05-24T12:29:24.060931+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T12:29:25.341505+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T12:29:25.341708+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T12:29:23.271631+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T12:29:25.328556+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T12:29:30.072705+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T12:29:31.260531+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T12:29:29.269791+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T12:29:31.252704+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T12:29:34.763604+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:30:20.760282+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=aqueous-ridge-4845.herokuapp.com request_id=86c3c70c-1028-410b-829c-5c165f04d1d6 fwd="117.212.87.180" dyno= connect= service= status=503 bytes=
2014-05-24T12:41:42.756432+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:47:08.206557+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:47:43.117890+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:50:09.001444+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T12:50:14.143148+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T12:50:17.580432+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T12:50:20.225956+00:00 app[web.1]: Error waiting for network: Success
2014-05-24T12:50:17.555111+00:00 heroku[web.1]: Process exited with status 128
2014-05-24T12:59:07.811928+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T12:59:13.111829+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T12:59:12.352990+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T12:59:14.203104+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T12:59:14.193223+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T12:59:21.267040+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:59:38.001945+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T12:59:44.393012+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T12:59:45.408226+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T12:59:48.157597+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T12:59:47.592431+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T12:59:47.577828+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:00:18.994191+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T13:00:25.970227+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T13:00:28.008687+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T13:00:25.144999+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T13:00:27.998289+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:01:18.046519+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T13:01:24.527619+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T13:01:25.581345+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T13:01:22.643170+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T13:01:25.570127+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:22:52.908152+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T13:22:58.073706+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T13:22:59.352752+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T13:22:57.273896+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T13:22:59.341447+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:32:08.148926+00:00 heroku[api]: Attach HEROKU_POSTGRESQL_MAROON resource by prakhar126@gmail.com
2014-05-24T13:32:08.148984+00:00 heroku[api]: Release v6 created by prakhar126@gmail.com
2014-05-24T13:32:09.206013+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T13:32:15.071622+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T13:32:16.599065+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T13:32:13.998638+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T13:32:16.588110+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:34:21.057978+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T13:34:27.236589+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T13:34:28.414007+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T13:34:24.779198+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T13:34:28.401506+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:39:35.940063+00:00 heroku[api]: Starting process with command `pip install gunicorn` by prakhar126@gmail.com
2014-05-24T13:39:40.974669+00:00 heroku[run.7945]: State changed from starting to up
2014-05-24T13:39:44.453699+00:00 heroku[run.7945]: State changed from up to complete
2014-05-24T13:39:40.965895+00:00 heroku[run.7945]: Awaiting client
2014-05-24T13:39:41.289948+00:00 heroku[run.7945]: Starting process with command `pip install gunicorn`
2014-05-24T13:39:44.440425+00:00 heroku[run.7945]: Process exited with status 0
2014-05-24T13:51:38.308555+00:00 heroku[api]: Scale to web=1 by prakhar126@gmail.com
2014-05-24T13:54:56.764314+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-24T13:55:02.931915+00:00 app[web.1]: bash: gunicorn: command not found
2014-05-24T13:55:04.092574+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-24T13:55:02.067552+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi`
2014-05-24T13:55:04.082942+00:00 heroku[web.1]: Process exited with status 127
2014-05-24T13:57:57.566477+00:00 heroku[api]: Starting process with command `pip install gunicorn` by prakhar126@gmail.com
2014-05-24T13:58:04.884892+00:00 heroku[run.1999]: State changed from starting to up
2014-05-24T13:58:05.993194+00:00 heroku[run.1999]: Awaiting client
2014-05-24T13:58:06.027374+00:00 heroku[run.1999]: Starting process with command `pip install gunicorn`
2014-05-24T13:58:10.033286+00:00 heroku[run.1999]: Process exited with status 0
2014-05-24T13:58:10.047161+00:00 heroku[run.1999]: State changed from up to complete

请帮助我,并提前致谢

1 个答案:

答案 0 :(得分:0)

错误包含答案。

  

给出双重要求:wsgiref == 0.1.2(来自-r requirements.txt   (第9行))(已经在wsgiref == 0.1.2(来自-r requirements.txt   (第2行)),name ='wsgiref')

所以在你的requirements.txt文件中。您需要删除已指定的第二个“wsgiref”副本,它甚至会告诉您在哪些行中搜索重复项。