Heroku: Cannot run more than 1 Free size dynos

后端 未结 4 2155
生来不讨喜
生来不讨喜 2020-12-12 20:07

I was trying to run

heroku run rake db:migrate

And was getting the error

Cannot run more than 1 Free size dynos.

4条回答
  •  借酒劲吻你
    2020-12-12 20:55

    The answer is to look for any open heroku sessions (you can use 'heroku ps' as john points out below), in my case I already had a started a heroku console session 30mins earlier and just forgot about it. So if you see the "Cannot run more than 1 Free size dynos" error just close any existing console or other heroku sessions you have open.

    Hopefully this saves someone the ten minutes it took me to come to my senses.

提交回复
热议问题