"This CLI deprecated. Please reinstall from https://cli.heroku.com"
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.
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.
Oh interesting. What does this buildpack provide?
The latest version of the Heroku CLI
What command would run the local, buildpack installed version of the CLI?
Just heroku. You have the Heroku Toolbelt installed by some other method