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

heroku application doesn't appear in google search

I passed the last month building a web application and today I have finally deployed it on heroku, if I puthttp://appname.herokuapp.com it does appear and gives no problems, but if I search for it on any browser it is nowhere founded. I think my…
3
votes
1 answer

apt cannot find public key 6DB5542C356545CF

Ran sudo apt update and got the following error for the Heroku repository that indicates failed signature verification and missing public key 6DB5542C356545CF. The only information about this key I can find online is in Japanese or Korean, neither…
diatomicDisaster
  • 486
  • 1
  • 6
  • 13
3
votes
0 answers

How to execute heroku cli cmd to reset postgresql addon as part of deployment's release phase

I was wondering if it is possible to run heroku cli command for resetting postgresql addon db as part of deployment Release phase. I have a node js graphql server application. All I want is that once its deployed, then run a heroku cli command to…
nabeelfarid
  • 4,156
  • 5
  • 42
  • 60
3
votes
0 answers

Shopify App CLI Heroku -- page unresponsive

I created my app with Shopify CLI "shopify create" (Node.js app) and deployed it to Heroku (shopify deploy). I already add my .env variables (scopes ,SHOPIFY_API_KEY, SHOPIFY_SECRET_KEY, host, shop) to my heroku config Vars, and I changed my app url…
Bobbe
  • 121
  • 1
  • 3
3
votes
0 answers

How to prevent Heroku from installing node modules on every deploy

When deploying a Node.js app to Heroku, there is a long wait for node modules to be installed on every deploy. How do I optionally specify if Node modules should be reinstalled on each deploy? This question…
Cheetara
  • 529
  • 1
  • 6
  • 19
3
votes
0 answers

How to resolve the error "Please verify that the package.json has a valid "main" entry " while trying to login to heroku on Windows via Heroku CLI

I am having trouble trying to deploy my Django app to Heroku. I am using visual studio code IDE on Windows 10. I have installed Heroku CLI but seems it's not pointing to the Heroku PATH or maybe something not set right. I am unable to login. All my…
Jackson
  • 315
  • 3
  • 12
3
votes
1 answer

Heroku won't load within Visual Studio Code

heroku : File C:\Users\mar\AppData\Roaming\npm\heroku.ps1 cannot be loaded. The file C:\Users\mar\AppData\Roaming\npm\heroku.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts…
Marnie Rodriguez
  • 431
  • 2
  • 8
  • 22
3
votes
1 answer

How do I tell heroku that my server.js and package.json are inside a folder?

Currently my file structure looks like this As you can see, my server and package files are inside the backend folder. The project-replays folder is the frontend folder. As expected, when I do heroku local on my root folder, it tells me that it…
3
votes
0 answers

Heroku detached one-off dynos app stops/completes after a few minutes

I want to run a firefox-selenium instance on a free tier heroku one-off dynos. When I run it heroku run:detached python script.py, it works for a few minutes, after 1-2 minutes of inactivity, it just stops working. As per the official documentation…
m0h17
  • 357
  • 3
  • 9
3
votes
1 answer

Why is Heroku build cache getting bigger with every release?

On my Heroku app, I deploy multiple times a day. With every release, the Heroku "slug" keeps getting bigger even with minor code changes. This is the kind of message I see in the build log: Warning: Your slug size (446 MB) exceeds our soft limit…
conradkleinespel
  • 6,560
  • 10
  • 51
  • 87
3
votes
1 answer

Heroku git push - "fatal: the remote end hung up unexpectedly"

Trying to host a site with Heroku. Heroku has received the app after git commit but it wont finalize when I put: git push heroku master Here is output I receive: Enumerating Objects: 51, done. Counting Objects: 100% (51/51), done. Delta compression…
Adam
  • 71
  • 10
3
votes
1 answer

heroku-container-registry is blacklisted

This Heroku + Docker example suggests to run: $ heroku plugins:install heroku-container-registry When I run above command, the result is: » Error: heroku-container-registry is blacklisted What does it mean to be blacklisted; is the technology…
Nate Anderson
  • 18,334
  • 18
  • 100
  • 135
3
votes
4 answers

heroku run bash gives error: ! ! ETIMEDOUT: connect ETIMEDOUT 50.19.103.36:5000

I'm trying to use heroku run bash on windows 10. I have tried allowing the port 5000 through the firewall and restarting Command Prompt as administrator. Is there anything else I am missing to get a connection?
Jesse Reza Khorasanee
  • 3,140
  • 4
  • 36
  • 53
3
votes
1 answer

Cannot assign requested address - bind(2) for "xyz.herokuapp.com" port 28159 (Errno::EADDRNOTAVAIL)

I am uploading ROR application on Heroku but I am getting this error. /app/vendor/bundle/ruby/2.4.0/gems/puma-3.12.1/lib/puma/binder.rb:273:in 'initialize': Cannot assign requested address - bind(2) for "xyz.herokuapp.com" port 28159…
ajit123jain
  • 69
  • 1
  • 8
3
votes
2 answers

Docker pushing to Heroku "Unexpected HTTP status: 500 internal server error"

I have a simple .NET core MVC application(default one you get when you select the MVC template), but when I try and push to heroku I get a "received unexpected HTTP status: 500 Internal Server Error ! Error: docker push exited with Error: 1"…
Matt Hobbs
  • 71
  • 4