Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
christopherfujino opened this issue Jun 21, 2018 · 5 comments

Comments

@christopherfujino
Copy link

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
Copy link
Contributor

jdx commented Jun 21, 2018

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
Copy link
Author

Oh interesting. What does this buildpack provide?

@jdx
Copy link
Contributor

jdx commented Jun 21, 2018

The latest version of the Heroku CLI

@christopherfujino
Copy link
Author

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

@jdx
Copy link
Contributor

jdx commented Jun 21, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants