Heroku - New Relic Agent not running error on rake db:migrate
-
29-01-2021 - |
Domanda
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.
Soluzione 2
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.
Altri suggerimenti
The answer is that Heroku is telling you that the New Relic Agent is not running in that environment when you run rake
, however rake db:migrate
is still working, so actually everything is working as it should.
Simply run your rake db:migrate
, ignore the New Relic message, then heroku restart
and everything should be working just fine.