heroku / heroku-buildpack-cli

MIT License
42 stars 26 forks source link

"This CLI deprecated. Please reinstall from https://cli.heroku.com" #4

Open christopherfujino opened 6 years ago

christopherfujino commented 6 years ago

We had a simple ruby app that used the Ruby buildpack, this buildpack, and Heroku scheduler to do heroku pg:backups capture #{database} -a #{app} every hour. About two weeks ago this started failing. When I heroku run bash -a <app-name> into the app and try to manually run the commands, I get first the error:

~ $ heroku pg:backups -a karat
 ▸    heroku-cli: This CLI is deprecated. Please reinstall from https://cli.heroku.com
 ▸    Invalid credentials provided.
 ▸    API key is currently set by the HEROKU_API_KEY environment variable.
 ▸    Ensure this is set to a correct value or unset it to use the netrc file.
~ $ heroku --version
 ▸    heroku-cli: This CLI is deprecated. Please reinstall from https://cli.heroku.com

Is this buildpack up to date? Thanks.

jdx commented 6 years ago

you are not using this buildpack (at least, that's not the heroku you're running). That message comes from the old Heroku Toolbelt which this buildpack does not use.

christopherfujino commented 6 years ago

Oh interesting. What does this buildpack provide?

jdx commented 6 years ago

The latest version of the Heroku CLI

christopherfujino commented 6 years ago

What command would run the local, buildpack installed version of the CLI?

jdx commented 6 years ago

Just heroku. You have the Heroku Toolbelt installed by some other method