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
11
votes
3 answers

Sni endpoint error when adding domain (heroku)

I'm trying to add a custom domain name to my heroku app and I'm seemingly using the correct command to do this, at least according to heroku docs. heroku domains:add domain.com -a heroku-app But I'm getting the following error. Error: Require…
mdlsvensson
  • 111
  • 1
  • 3
11
votes
1 answer

How do I install Heroku CLI on Termux?

Termux is a Linux terminal emulator for Android. I want to install the Heroku CLI to be able to manage my Heroku apps on the go, I tried typing heroku to prompt the error message and link to the right package, but it gives me: No command 'heroku'…
Pritt Balagopal
  • 1,476
  • 2
  • 18
  • 32
9
votes
2 answers

Deploy docker images to heroku

I try to push container to Heroku by this command: sudo heroku container:push web --app But I got this error "no basic auth credentials". How to solve this?????? There are all of step from login to push docker images to…
9
votes
7 answers

ImportError: No module named 'decouple' while deploying on Heroku

I was trying to deploy my django project on heroku from heroku cli. So I created an app and then I ran git push heroku master from the project directory. Then I got the errors: remote: -----> $ python manage.py collectstatic --noinput remote: …
sphoenix
  • 3,327
  • 5
  • 22
  • 40
9
votes
3 answers

Heroku can't find package.json during build although I have it

When I push my node app to heroku master I get this log remote: Building source: remote: remote: -----> App not compatible with buildpack: https://codon- buildpacks.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz remote: Node.js: package.json…
Joaquim Ferrer
  • 603
  • 6
  • 23
9
votes
5 answers

Heroku CLI hangs on Windows 10

I use Heroku CLI on Windows 10. The first day after installing it works just fine, but on the next day (or so) it just hangs after launch: C:\Users\{User}>heroku and that's all. No output to console, no logs (no error.log). It lasts forever (not…
Maria Alabyan
  • 93
  • 1
  • 6
8
votes
1 answer

Heroku cli (brew install heroku): ArgumentError: user emixam23 doesn't exist

I am trying to install Heroku on my Mac following the doc https://devcenter.heroku.com/articles/heroku-cli#download-and-install but I am getting an issue while running the command to install heroku: MBP-de-Emixam23:~ emixam23$ brew install…
Emixam23
  • 3,854
  • 8
  • 50
  • 107
8
votes
1 answer

How to access Heroku app console by heroku CLI

I can check logs by heroku logs --app=my_app_name . I want to access app's console as shown in the picture. How can I access by heroku cli?
masiboo
  • 4,537
  • 9
  • 75
  • 136
7
votes
3 answers

How do I switch to my team org on the Heroku CLI?

When I try to see which apps I have access to nothing shows up: % heroku apps You have no apps. However I'm a member of an org: % heroku teams example-org member This org has an app. Is there a way to swich to the example-org org on the…
tastydiff
  • 141
  • 8
7
votes
2 answers

heroku CLI auth by token

Every time after building and pushing docker image from Gitlab registry to Heroku registry I need to execute heroku container:release web to Heroku run image (release), but I wanna automate this I added heroku CLI tool installation into…
sula
  • 91
  • 1
  • 5
7
votes
1 answer

Create Heroku App.json after manual deploy and configuration of App

I have successfully deployed my app on Heroku, added add-ons, updated env var via the control-panel settings, etc. I am now looking at creating an app.json after the fact. Is it possible to query Heroku in some way to have an app.json generated from…
user1990962
  • 361
  • 1
  • 11
7
votes
4 answers

Cannot read property 'match' on undefined on pushing to heroku

Tried pushing a project to heroku - got the same error when using heroku-cli and when connecting to Github. Error Log: -----> Building dependencies Installing node modules (package.json + package-lock) npm ERR! Cannot read property…
Dillon
  • 73
  • 1
  • 3
7
votes
1 answer

Heroku get logs of particular date

I am using Heroku and now i need to see old logs by date.I googled but i didn't got any solution .any one know how to get logs of particular date ? heroku logs --app myproject -n 200000 also tail command i tried heroku logs --source app…
scott
  • 3,112
  • 19
  • 52
  • 90
6
votes
1 answer

What is the reason behind error h14 "No web processes running" and Application error?

I made this project and deployed it on Heroku successfully and it was working, I checked it again two months and it was working properly, but today when I tried to open the website link it says Application error. Logs are as…
Gaurav
  • 147
  • 1
  • 10
6
votes
3 answers

Heroku CLI not working after update to macOS Monterey 12.2

I updated my macOS from Catalina to Monterey 12.2 a few days ago, and am no longer able to access Heroku from the command line (using zsh). Normally, running heroku login from the terminal will open Heroku in a web browser, and after logging in, I…
1
2
3
47 48