heroku-pg-extras: Couldn't find that add-on
I install the plugin, apparently without issue:
$ heroku plugins:install heroku-pg-extras
Installing plugin heroku-pg-extras... done
But when I try to run one of the commands, I just get an error message:
$ heroku pg:bloat
▸ Couldn't find that add-on.
I’ve tried the following variant, with the same result:
$ heroku pg:bloat DATABASE_URL --app myapp
▸ Couldn't find that add-on.
And DATABASE_URL is populated OK with a postgres://... URL.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (10 by maintainers)
@uhoh-itsmaciek you are right no need to do pg promote. Its working fine now. I guess I was following a very old tutorial. Thanks
@babaphemy is
alphablogthe name of your app? Are you running the command in a directory with your heroku remote defined (you can check this viagit remote -v)? Also, I’m not sure if it’s relevant here, but the firstheroku-postgresqladd-on you create on an app will be automatically assigned toDATABASE_URLby default–there is no need to runheroku pg:promoteunless you explicitly gave it another attachment name (or want to set another attachedheroku-postgresqladd-on as the primary database).