python - heroku H14 error "No web processes running" for Django 1.82 -


hi i'm learning django through onemonth django. deploying web app heroku got error below.

heroku[router]: at=error code=h14 desc="no web processes running" 

i tried fix heroku ps:scale web=1 resulted below.

scaling dynos... failed  !    no such process type web defined in procfile. 

could how fix this? use conda making virtual environment possibility of causing this?

my procfile:

web: gunicorn myapp.wsgi --log-file -  

git push heroku masterwas run. use osx yosemite/django 1.82.

the project structure looks below.

procfile requirements.txt core - views.py - __init__.py - admin.py - migrations - models.py - tests.py - urls.py - manage.py nomadscoffee - wsgi.py - __init__.py - settings.py - urls.py static - css - font-awesome - img - fonts - index.html - js - less - license - mail - readme.md templates - base   - index.html 

log on heroku:

-----> python app detected -----> installing runtime (python-2.7.10) -----> installing dependencies pip        collecting dj-database-url==0.3.0 (from -r requirements.txt (line 1))          downloading dj_database_url-0.3.0-py2.py3-none-any.whl        collecting dj-static==0.0.6 (from -r requirements.txt (line 2))          downloading dj-static-0.0.6.tar.gz        collecting django==1.8.2 (from -r requirements.txt (line 3))          downloading django-1.8.2-py2.py3-none-any.whl (6.2mb)        collecting django-toolbelt==0.0.1 (from -r requirements.txt (line 4))          downloading django-toolbelt-0.0.1.tar.gz        collecting gunicorn==19.3.0 (from -r requirements.txt (line 5))          downloading gunicorn-19.3.0-py2.py3-none-any.whl (110kb)        collecting psycopg2==2.6.1 (from -r requirements.txt (line 6))          downloading psycopg2-2.6.1.tar.gz (371kb)        collecting static3==0.6.1 (from -r requirements.txt (line 7))          downloading static3-0.6.1.tar.gz        installing collected packages: dj-database-url, static3, dj-static, django, psycopg2, gunicorn, django-toolbelt          running setup.py install static3          running setup.py install dj-static          running setup.py install psycopg2          running setup.py install django-toolbelt        installed django-1.8.2 dj-database-url-0.3.0 dj-static-0.0.6 django-toolbelt-0.0.1 gunicorn-19.3.0 psycopg2-2.6.1 static3-0.6.1 using pip version 7.0.3, version 7.1.0 available. should consider upgrading via 'pip install --upgrade pip' command. -----> preparing static assets        collectstatic configuration error. debug, run:        $ heroku run python manage.py collectstatic --noinput -----> discovering process types  ~     mis-cased procfile detected; ignoring.  ~     rename procfile have honored.        procfile declares types -> (none) -----> compressing... done, 54.1mb -----> launching... done, v4        https://something.herokuapp.com/ deployed heroku 

reading error log, see this:

mis-cased procfile detected; ignoring

this makes me think project structure provided not correct. have procfile, indicate, in root? heroku thinks have procfile. suggest renaming procfile procfile.


Comments

Popular posts from this blog

rewrite asp to php based on asp query -

android - questions about switching from C2DM to GCM -

visual studio 2010 - Error on RDLC Expression -