Heroku release fails on upgrading postgres plan
I need to upgrade heroku postgres from standard-0
to starndard-2
, so I created the follower db...Check another protip for creating follower db.
This is the first time after I added release phase command, and release phase command is pretty simple like following
bundle exec rake db:migrate
When I promoted follower db...I received notification from heroku said "Release phase command failed to execute"
I thought this is because of new database, so I set old db back...
HOWEVER it was safe to fail release when detaching db!!!! I should have been more careful to see log.
Here is the message when you run heroku run pg:promote
Checking release phase...pg:promote succeeded. It is safe to ignore the failed detach DATABASE release
Written by naohiro
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/47788/e6b625008c816ab3d8d742cc3eddbb00.jpeg)
dommmel
77.52K
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/39096/ca3dc3f93730afb41d6753d8bf010a38.jpeg)
petenicholls
63.57K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#