Dynos is blank on Heroku

My web: python manage.py runserver 0.0.0.0:$PORT --noreload is not listed in Dynos. The line is blank. Therefore, 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.

I would be forever in debt for any help.

Sorry You must be a logged in, registered user to answer a question.

Answers

Hi, I faced same issue. I am using windows 8.1 and the problem was due to procfile. In windows we cannot create file without extension. So, I went to virtual environment and typed below code to generate Procfile.

echo "web: python manage.py runserver 0.0.0.0:$PORT --noreload" > Procfile

this created a Procfile in my directory. At my end $PORT was missing when I opened Procfile using editor. So I added it manually and saved it again.

I hope this will work for you as well.

I assumed things had changed on Heroku since the tutorial. I followed the new docs, and all was well: https://devcenter.heroku.com/articles/getting-started-with-django