PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 13, 2022

[FIXED] Why is Procfile not recognised by Heroku?

 July 13, 2022     deployment, flask, heroku, web-deployment     No comments   

Issue

I'm trying to deploy a flask app to heroku, but I keep on getting the error: Scaling dynos... ! ▸ Couldn't find that process type (web). whenever I try to run heroku ps:scale web=1.

However, when I run heroku ps:scale, it tells me that I need to Upload a Procfile to add process types.

I do have a Procfile located in my root directory, and it is capitalised and doesn't have any file extensions. I have tried deleting and recreating the Procfile, but this hasn't produced any results.

How do I get Heroku to recognise my Procfile?

Here is what I've been trying to do:
ubuntu terminal


Solution

I had to create a new git repo and heroku app, and copy the code over for it to work.



Answered By - SakthivelanPandy
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing