Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
466 views
in Technique[技术] by (71.8m points)

python - No web processes running Error - Deploying Django on Heroku

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 [email protected]
2012-04-13T03:49:32+00:00 heroku[api]: Release v2 created by [email protected]
2012-04-13T03:49:34+00:00 heroku[api]: Release v3 created by [email protected]
2012-04-13T03:49:34+00:00 heroku[api]: Deploy d1263ef by [email protected]
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.

Also when I do a heroku scale web=1 I get this

Scaling web processes...  !    Record not found.
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This is most likely the result of scaling your web processes down to zero through the client.

$ heroku ps:scale web=0

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...