Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to add Dynos on Heroku

Tags:

heroku

Settings:

  1. I have one running 1web dyno on heroku and it works great
  2. I have another one that's "sleeping"
  3. I created a new app but somehow the dynos are not showing up.
  4. I have a credit card plugged into Heroku and I am willing to pay for additional usage

When I try git push on the new app I get a timeout:

dsa002574:node-canvas mike.borozdin$ git push heroku master
ssh: connect to host heroku.com port 22: Operation timed out
fatal: The remote end hung up unexpectedly

When I try heroku scale I get an error as well:

dsa002574:node-canvas mike.borozdin$ heroku ps:scale web=1
Scaling web dynos... failed
 !    App must be deployed before dynos can be scaled.

Scaling from Heroku admin doesn't seem to work. Here is a screenshot: enter image description here

Any guesses as to why heroku won't let me scale?

like image 294
mikebz Avatar asked Feb 16 '23 04:02

mikebz


2 Answers

Well, your git push failed ("operation timed out"), so you haven't actually deployed an app. As a result, Heroku's having trouble scaling the non-existent app :-)

like image 134
Jon Mountjoy Avatar answered May 23 '23 00:05

Jon Mountjoy


Do you have a procfile? https://devcenter.heroku.com/articles/procfile

This will specify what app to run, and therefore what to assign dynos to it.

like image 32
WFW Avatar answered May 23 '23 00:05

WFW