没有网络进程运行错误 - 在 Heroku 上部署 Django [英] No web processes running Error - Deploying Django on Heroku

查看:30
本文介绍了没有网络进程运行错误 - 在 Heroku 上部署 Django的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用教程来部署 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  
-------  -----  ------- 

在日志上,它看起来像下面这样.

On the log it looks like the following.

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.

此外,当我执行 heroku scale web=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.

这篇关于没有网络进程运行错误 - 在 Heroku 上部署 Django的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆