Heroku 不会扩展 Dyno,尽管它说已经这样做了。

huangapple go评论82阅读模式
英文:

Heroku won't scale dyno even tho it says it did

问题

当我运行 heroku ps:scale web=1 时,它告诉我 正在扩展 dynos... 完成,现在运行在 1:Basic。但当我运行 heroku ps 时,我得到 没有 dynos 在...

结果我的应用没有运行,我收到了这些日志 heroku[router]: at=error code=H14 desc="没有正在运行的 web 进程" method=GET

这是在成功部署一个将我的堆栈从 18 升级到 20 的构建后发生的。

英文:

When I run heroku ps:scale web=1
It tell me Scaling dynos... done, now running web at 1:Basic
But then when I run heroku ps
I get No dynos on ...

As a result my app isn't running, I get these logs heroku[router]: at=error code=H14 desc="No web processes running" method=GET

This happens after successfully deploying a build that upgrades my stack from 18 to 20

答案1

得分: 0

在Heroku上打开工单后,以下是他们提供的解决方案:

感谢您联系我们。由于heroku-cli中存在一些问题,heroku-cli ps:scale命令无法正常工作(我们已将此问题通知给工程团队)。请前往https://dashboard.heroku.com/apps/APP_NAME/resources页面,然后执行以下操作:

  1. 单击Dyno信息旁边的铅笔图标,将其滑动到0,然后确认。
  2. 单击Dyno信息旁边的铅笔图标,将其滑动到1,然后确认。
  3. 在命令行上运行:heroku ps -a APP_NAME,并检查是否已解决问题。

在我的情况下,没有滑块,而是一个用于切换Dynos开关的按钮。

英文:

After opening a ticket on Heroku, here is the solution from them:

Thanks for reaching out to us. Due to some issue in heroku-cli ps:scale command is not working properly on heroku-cli (we have informed it to engineering team) Please go to https://dashboard.heroku.com/apps/APP_NAME/resources page and :-

click on Pencil icon near Dyno information and slide down to 0 then confirm.
click on Pencil icon near Dyno information and slide up to 1 then confirm.
Run: heroku ps -a APP_NAME on cli and check whether it worked or not.

On my side there was no slider but a toggle button to toggle the dynos on and off.

huangapple
  • 本文由 发表于 2023年6月27日 17:32:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/76563497.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定