Heroku - New Relic Agent 在 rake db:migrate 上未运行错误
我第一次在 Heroku 上运行迁移时看到此错误。
heroku rake db:migrate --app myapp
(in /app)
New Relic Agent not running.
我的应用程序插件中有 New Relic 插件,那么这是否是 heroku 平台或我的应用程序的问题?
编辑:应用程序正在bamboo-ree-1.8.7 堆栈上运行。
First time I've seen this error when running a migration on Heroku.
heroku rake db:migrate --app myapp
(in /app)
New Relic Agent not running.
I have the New Relic addon in my app addons so would this be an issue with the heroku platform or my app?
edit: App is running on the bamboo-ree-1.8.7 stack.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
答案是 Heroku 告诉您,当您运行 rake 时,New Relic Agent 并未在该环境中运行,但是 rake db:migrate 仍在工作,所以实际上一切正在正常工作。
只需运行
rake db:migrate
,忽略 New Relic 消息,然后heroku restart
一切都会正常工作。The answer is that Heroku is telling you that the New Relic Agent is not running in that environment when you run
rake
, howeverrake db:migrate
is still working, so actually everything is working as it should.Simply run your
rake db:migrate
, ignore the New Relic message, thenheroku restart
and everything should be working just fine.看来这是一个简单的修复。 Heroku 上的新遗物插件停止工作,只需要我将其删除并将其添加回我的应用程序。
Seems this was a simple fix. The new relic addon on Heroku stopped working and simply required me to remove and add it back to my application.