Questions tagged [heroku-cli]

Use this tag for questions associated with the Heroku Command Line Interface (CLI).

This tag is for the Heroku CLI.

711 questions
127
votes
20 answers

Bundler: You must use Bundler 2 or greater with this lockfile

I'm working with heroku and every time I try to push my app this message shows out: remote: Compressing source files... done. remote: Building source: remote: remote: -----> Ruby app detected remote: remote: ! remote: ! You must use Bundler…
Pedro
  • 1,352
  • 2
  • 10
  • 22
65
votes
20 answers

IP Address Mismatch on signing into Heroku CLI

Previously I could sign into the heroku command line interface with heroku login. But now I get an IP address mismatch error. How should I resolve this?
Christian Doucette
  • 1,104
  • 3
  • 12
  • 21
62
votes
3 answers

How to kill an heroku build that is in progress?

I accidentally pushed a build that does an npm install in the postinstall script. This has led to my heroku app being stuck in an infinite install loop. I searched the heroku documentation on how to kill builds but came up blank. The closest thing I…
jbccollins
  • 982
  • 1
  • 6
  • 19
45
votes
7 answers

Heroku toolbelt command requires app-name

How do you specify the app you want when you log in to Heroku from the command line? I was trying to check the logs so when I first logged in I tried: Heroku logs this then told me: ! No app specified. ! Run this command from an app folder…
rayray
  • 931
  • 2
  • 11
  • 18
26
votes
5 answers

"Couldn't find that app." when running heroku commands in console

I'm trying to run commands for my heroku app in my console, but it keeps telling me "Couldn't find that app." even though when I run heroku apps in my console it tells me I have one app called worldofwarcraft-api So heroku recognizes my app in the…
Patrick Conboy
  • 699
  • 1
  • 6
  • 10
21
votes
1 answer

How to update Heroku?

How do I update my Heroku, my Windows terminal shows the following: » Warning: heroku update available from 7.47.7 to 7.52.0.
Alcatraz b312
  • 239
  • 2
  • 4
20
votes
1 answer

Fork is not a heroku command

I'm trying to change my Heroku app region by following this official guide: https://devcenter.heroku.com/articles/app-migration. The problem is that, when I try to fork it at the very beginning using: heroku fork --from sourceapp --to targetapp…
Josemafuen
  • 682
  • 2
  • 16
  • 41
18
votes
2 answers

Pasting a long string of text into Heroku rails console

Pasting any string longer than a couple hundred characters into a Heroku rails console takes forever. The more characters are pasted, the slower it goes, letter by letter. Is there a way to make this run at a reasonable speed?
Aaron Gray
  • 11,283
  • 7
  • 55
  • 61
18
votes
4 answers

Heroku login cannot open browser

When attampting to login to Heroku via the CLI, I get: user@MyMachine:$ sudo heroku login heroku: Press any key to open up the browser to login or q to exit: Opening browser to https://cli-auth.heroku.com/auth/browser/SOME-HEROKU-TOKEN Warning:…
Tom Granot
  • 1,840
  • 4
  • 22
  • 52
17
votes
12 answers

Heroku Postgres: "psql: FATAL: no pg_hba.conf entry for host"

There are a number of Heroku CLI Postgres commands that all return the same error. For example: $ heroku pg:bloat psql: FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off At least one of these commands has worked in…
steel
  • 11,883
  • 7
  • 72
  • 109
17
votes
2 answers

Deploy a GitHub branch using heroku CLI

I want to do this action: using Heroku CLI. If I have the remote git on my computer I can do git push my-heroku-remote master But because my heroku app is already connected to the git project, I find this approach redundant. Any ideas?
YardenST
  • 5,119
  • 2
  • 33
  • 54
16
votes
2 answers

Get IP of Heroku dynos

I have a Heroku app making some API calls to an external service. There are some issues and the service wants to know what IPs are making the calls. A lot of the basic tools like ifconfig, traceroute, netstat, etc don't exist on the machines. Looks…
s g
  • 5,289
  • 10
  • 49
  • 82
15
votes
4 answers

How to install Heroku CLI on WSL 2?

I have already an account on Heroku and a Heroku CLI running on my Windows terminal. As I have also installed a Windows Subsystem for Linux(WSL2), Ubuntu 20.04 LTS, I'm trying to install Heroku CLI also on WSL2, to be accessed for this…
13
votes
1 answer

How can I run as root on Heroku?

I tried using sudo to run a command on Heroku. Then I get a message that I cannot use the sudo command on Heroku. My real question is: How can I run a command with root privilege on Heroku, because it is required for some of the commands I'm trying…
12
votes
6 answers

Heroku - Error during git push/deployment, The same version of this code has already been built

I have a problem deploying my springboot application to Heroku. After running git push heroku master, I am encountering the error below: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]…
Donato Amasa
  • 846
  • 2
  • 6
  • 22
1
2 3
47 48