Heroku:不能运行超过1个免费大小的dynos [英] Heroku: Cannot run more than 1 Free size dynos

查看:319
本文介绍了Heroku:不能运行超过1个免费大小的dynos的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行

  heroku run rake db:migrate 

而且发生错误


无法运行超过1个免费大小的dynos。
请参阅下文了解如何解决...



解决方案

答案是寻找任何开放的heroku会话(你可以使用'heroku ps'作为约翰指出的下面),在我的情况下,我已经在30分钟之前开始了一个heroku控制台会话,只是忘了它。因此,如果您看到无法运行超过1个自由大小的dynos错误,请关闭您打开的任何现有控制台或其他heroku会话。



希望这可以为我节省十分钟时间,让我明白自己的感觉。

I was trying to run

heroku run rake db:migrate

And was getting the error

Cannot run more than 1 Free size dynos. See below for how to fix...

解决方案

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.

这篇关于Heroku:不能运行超过1个免费大小的dynos的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆