Heroku:不能运行超过 1 个自由大小的 dynos [英] Heroku: Cannot run more than 1 Free size dynos
本文介绍了Heroku:不能运行超过 1 个自由大小的 dynos的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图运行
heroku run rake db:migrate
然后出现错误
不能运行超过 1 个 Free size dynos.
Cannot run more than 1 Free size dynos.
请参阅下文了解如何修复...
See below for how to fix...
推荐答案
最有效
在控制台运行:
heroku ps
结果是这样的:
run.4859 (Free): up 2016/01/12 21:28:41 (~ 7m ago): rails c
所以数字 4859 代表打开和需要关闭的会话.要修复您需要运行的错误(显然,将数字 4859 替换为获得的数字):
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.
这篇关于Heroku:不能运行超过 1 个自由大小的 dynos的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文