Deploying to Heroku for first time, Dynos is blank, not recognizing Procfile

2,841 views
Skip to first unread message

Scott Meyers

unread,
Jan 6, 2014, 11:01:07 PM1/6/14
to django...@googlegroups.com

Programming newb, Trying to use Heroku for the first time for a Django app. After I push it to Heroku, the Dynos field is blank. I expected to see my procfile: web: python manage.py runserver 0.0.0.0:$PORT --noreload

Of course, when I try to open the application on Heroku, I get: An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details

Could this be because I don't have an extension on my procfile?

My Procfile should just be a file I created in my text editor, right?

Here is the log:

2014-01-06T07:34:17.321925+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=aqueous-dawn-4712.herokuapp.com fwd="98.232.45.58" dyno= connect= service= status=503 bytes=

2014-01-06T07:34:17.778360+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=aqueous-dawn-4712.herokuapp.com fwd="98.232.45.58" dyno= connect= service= status=503 bytes=

2014-01-06T07:35:01.608749+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=aqueous-dawn-4712.herokuapp.com fwd="98.232.45.58" dyno= connect= service= status=503 bytes=

2014-01-06T07:35:01.868486+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=aqueous-dawn-4712.herokuapp.com fwd="98.232.45.58" dyno= connect= service= status=503 bytes=

2014-01-06T07:46:57.862560+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=aqueous-dawn-4712.herokuapp.com fwd="98.232.45.58" dyno= connect= service= status=503 bytes=

2014-01-06T07:46:58.114270+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=aqueous-dawn-4712.herokuapp.com fwd="98.232.45.58" dyno= connect= service= status=503 bytes=

Vibhu Rishi

unread,
Jan 7, 2014, 4:55:15 AM1/7/14
to django...@googlegroups.com
yes. just create a text file with no extension. Here's mine for reference :

$ cat Procfile
web: gunicorn qj.wsgi


V.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/293796b7-2700-4c95-ac02-25c512ea41b0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Simplicity is the ultimate sophistication. - Leonardo da Vinci
Life is really simple, but we insist on making it complicated. - Confucius

James Turley

unread,
Jan 7, 2014, 5:40:07 AM1/7/14
to django...@googlegroups.com
Do you have a requirements.txt file (with all your requirements therein)? Heroku recognises python apps by its presence (although I'm told this is not yet 100% reliable - never tried myself).


Scott Meyers

unread,
Jan 8, 2014, 8:48:43 PM1/8/14
to django...@googlegroups.com, jamestu...@googlemail.com
Thanks for the effort.  Yes I do have a requirements.txt file, and yes, my Procfile has no extensions.  Heroku just isn't picking it up.  If I delete my procfile and build another one, how do I re-send it to Heroku?  Do I do another commit, or push master?

Vibhu Rishi

unread,
Jan 9, 2014, 4:03:06 AM1/9/14
to django...@googlegroups.com, jamestu...@googlemail.com
Everything on Heroku is git based. So, you will have to do a git push heroku master for any updates.

V.



For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages