heroku-buildpack-cli icon indicating copy to clipboard operation
heroku-buildpack-cli copied to clipboard

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

Open christopherfujino opened this issue 7 years ago • 5 comments

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.

christopherfujino avatar Jun 21 '18 20:06 christopherfujino

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.

jdx avatar Jun 21 '18 20:06 jdx

Oh interesting. What does this buildpack provide?

christopherfujino avatar Jun 21 '18 20:06 christopherfujino

The latest version of the Heroku CLI

jdx avatar Jun 21 '18 20:06 jdx

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

christopherfujino avatar Jun 21 '18 21:06 christopherfujino

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

jdx avatar Jun 21 '18 21:06 jdx