没有Web进程运行错误 - 在Heroku上部署Django [英] No web processes running Error - Deploying Django on Heroku
问题描述
我正在使用教程部署Django。 [http://devcenter.heroku.com/articles/django]在我做一个git push heroku master后,没有web进程。
I am using the tutorial to deploy Django. [http://devcenter.heroku.com/articles/django] After I do a git push heroku master, there are no web processes.
Process State Command
------- ----- -------
在日志上看起来如下。
2012-04-13T03:48:45+00:00 heroku[slugc]: Slug compilation started
2012-04-13T03:49:32+00:00 heroku[api]: Config add PYTHONUNBUFFERED, PYTHONPATH, PATH,
LD_LIBRARY_PATH, LANG, PYTHONHOME, LIBRARY_PATH, PYTHONHASHSEED by zach@gmail.com
2012-04-13T03:49:32+00:00 heroku[api]: Release v2 created by zach@gmail.com
2012-04-13T03:49:34+00:00 heroku[api]: Release v3 created by zach@gmail.com
2012-04-13T03:49:34+00:00 heroku[api]: Deploy d1263ef by zach@gmail.com
2012-04-13T03:49:34+00:00 heroku[web.1]: State changed from created to down
2012-04-13T03:49:35+00:00 heroku[slugc]: Slug compilation finished
2012-04-13T03:50:19+00:00 heroku[router]: Error H14 (No web processes running) -> GET
growing-winter-4952.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
任何想法?我能够让这个工作与另一个应用程序。谢谢。
Any ideas? I was able to get this to work with another app. Thank you.
此外,当我做一个英雄大小的网页= 1我得到这个
Also when I do a heroku scale web=1 I get this
Scaling web processes... ! Record not found.
推荐答案
这很可能是扩展Web进程的结果通过客户端下降到零。
This is most likely the result of scaling your web processes down to zero through the client.
$ heroku ps:scale web=0
使用 heroku ps
命令来确定您的Web进程的状态,您应该查看错误代码了解Heroku功能。
Use the heroku ps
command to determine the state of your web processes., and you should take a look at the Error Codes to understand the Heroku functionality.
这篇关于没有Web进程运行错误 - 在Heroku上部署Django的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!