Jack022
Jack022

Reputation: 1287

Couldn't find that process type (web) error on heroku

I'm trying to deploy a Django application to heroku, but i keep getting the following error when trying to scale my application

heroku ps:scale web=1

Error:

Scaling dynos... !
 !    Couldn't find that process type (web).

I don't understand what am i doing wrong here, my file is called Procfile, it is located at the root of my project, here is how i defined it:

Procfile

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

Upvotes: 1

Views: 2975

Answers (1)

zealous
zealous

Reputation: 7503

follow this steps

  1. remove existing build packs heroku buildpacks:clear
  2. add them again using index option heroku buildpacks:add
  3. add empty commit and push the changes

OR try this one step by step

  1. remove your procfile
  2. git commit
  3. add a new procfile with the exact name "Procfile"
  4. commit again
  5. git push heroku master

Upvotes: 4

Related Questions