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)

Most upvoted comments

@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 alphablog the name of your app? Are you running the command in a directory with your heroku remote defined (you can check this via git remote -v)? Also, I’m not sure if it’s relevant here, but the first heroku-postgresql add-on you create on an app will be automatically assigned to DATABASE_URL by default–there is no need to run heroku pg:promote unless you explicitly gave it another attachment name (or want to set another attached heroku-postgresql add-on as the primary database).