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
4
votes
1 answer

Getting permission denied in heroku container login

I was trying to deploy my flask backend in heroku with docker. But when I run the command heroku container:login Getting those error Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:…
Shahrear Bin Amin
  • 1,075
  • 13
  • 31
4
votes
1 answer

how to deploy to heroku from a custom branch?

I have 2 apps in Heroku, one is production app and one is staging. I have configured production app remote as 'heroku' and staging app remote as 'heroku-staging' so that I can deploy to production as follows git push heroku master and in staging as…
Mohsin Sethi
  • 803
  • 4
  • 16
4
votes
1 answer

List system fonts via Heroku CLI

Our repo includes a .fonts folder. I understand that files contained in that folder of our repo get installed to the underlying system of our Heroku node.js app. Using the Heroku CLI how can I get a list of the installed font resources of our app? …
PDP Global
  • 41
  • 1
4
votes
1 answer

Is there a way to open a Heroku Postgres DB backup in a gui to explore the data?

Last night I was asked to take down a client's website and close out their accounts as they are going out of business. I made sure to go to the Heroku Dashboard, go into the Heroku Postgres dashboard, Durability > Create Manual Backup. I then…
user3339471
  • 295
  • 2
  • 10
4
votes
0 answers

How to view heroku logs when running an app locally?

I'm running my heroku app locally using heroku local web with this being the only line in my Procfile: web:node index.js How can I get it to print live logs while running locally? I found this answer, but there are some things missing from that…
Cameron
  • 1,281
  • 1
  • 19
  • 40
4
votes
4 answers

Heroku stuck at Building Source for Django app

I have successfully pushed the previous versions of my Django app to Heroku. It usually shows some errors if it is not able to deploy, but this time it is stuck at this for about an hour: Counting objects: 10977, done. Delta compression using up to…
Suraj S Jain
  • 515
  • 3
  • 10
  • 24
4
votes
1 answer

Why is Heroku-accounts plug-in no longer working, and I'm no longer able switch between mulitple accounts in the CLI?

For years I've used the heroku-accounts plug-in to easily switch between different Heroku accounts when using the Heroku CLI toolbelt. As of about a month ago, however, it has stopped working. Whenever I switch over to an account and try to do…
Yarin
  • 173,523
  • 149
  • 402
  • 512
4
votes
1 answer

Heroku: what is the difference between "heroku ps:exec" and "heroku run bash"?

What is the difference between heroku ps:exec and heroku run bash? I am just trying to understand the concept. Both seem to be establishing an SSH-tunnel to a remote container/dyno. So why does heroku ps:exec require a dyno-restart on the first use?…
Phil
  • 7,065
  • 8
  • 49
  • 91
4
votes
1 answer

How do I resolve the heroku pg:pull error - "psql: server does not support SSL, but SSL was required"?

Per the docs, I'm trying to pull a remote heroku postgres database to a local postgres database (docker postgres container, version 9.6) using a heroku-cli command similar to the following: heroku pg:pull DATABASE_URL…
user3006381
  • 2,735
  • 3
  • 23
  • 32
4
votes
1 answer

How to populate a heroku postgresql database with a sql file

First of, I want to say, that I am not a DB expert and I have no experience with the heroku service. I want to deploy a play framework application to the heroku service. And I need a database to do so. So I created a postgresql database with this…
4
votes
2 answers

Heroku addons:create --fork doesn't migrate redis data

I have an app hosted on Heroku and I am trying to migrate from Heroku Redis to Redis Cloud. According to this documentation, I can easily migrate the data from my current Heroku Redis to a new Redis Cloud by using --fork…
Rudy Lee
  • 438
  • 5
  • 18
3
votes
1 answer

Running C Program on Heroku: No such file

I am trying to open a C program in a python script running on a Heroku dyno. The Python script works fine locally, but on the dyno it says that the executable cannot be found. The line to run the program in Python is: proc =…
Cole White
  • 43
  • 5
3
votes
1 answer

`npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. - Next JS

I am trying to host my app on heroku and when I deploy it using heroku cli or github it gives me following error: ERROR -----> Installing dependencies Installing node modules npm ERR! code EUSAGE npm ERR! npm ERR! `npm…
Raghav Patel
  • 117
  • 1
  • 11
3
votes
2 answers

Can't resolve '@hotwired/stimulus-loading' Heroku deployment on Rails 7

Help.. As I was deploying to Heroku on my rails app I get this error on the terminal. By the way , I'm using Rails 7.0.1 on Ruby 3.0.3 Compilation failed: remote: [webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve…
learningDev
  • 41
  • 1
  • 6
3
votes
0 answers

Best way to run multiple package.json build processes with a single Heroku dyno?

I have a Laravel application that is hosted on Heroku and serves multiple Javascript games from a single domain. Everything is contained in a single Git repo. The back-end application provides OAuth and other features that are shared by all of the…
Derrick Miller
  • 1,860
  • 3
  • 21
  • 37