Heroku: Cannot run more than 1 Free size dynos

后端 未结 4 2151
生来不讨喜
生来不讨喜 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:47

    Most Efective

    in console run:

    heroku ps
    

    the result is some like this:

    run.4859 (Free): up 2016/01/12 21:28:41 (~ 7m ago): rails c
    

    So the numbers 4859 represent the session that is open and needs to be closed. To fix the error you need to run(Obviusly, replace the number 4859 by the number obtained):

    heroku ps:stop run.4859
    

    It is a very simple solution.

提交回复
热议问题