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
2 answers

Heroku CLI psql command no longer works

All of my Heroku commands appear to be working except the one to get to a command line for my database. Doing: heroku pg:psql -a myapp yields: dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib Referenced from:…
RubyRedGrapefruit
  • 12,066
  • 16
  • 92
  • 193
3
votes
1 answer

Why isn't Heroku recognising the correct Java version when I've told it explicitly?

Upon git push heroku master on my spring-maven-java project the Heroku cli recognises it is a Java project and attempts to build it. It prints that it is installing JDK 1.8 and after much terminal output it says [ERROR] Failed to execute goal…
jMan
  • 587
  • 1
  • 8
  • 23
3
votes
2 answers

Heroku application crash

Application Error in Heroku , with status H10 , desc = "app crashed" , No error in logs , Application running Locally but after deploying and building successfully , App is Crashing. Methods I had tried to run it :- including procfile including…
3
votes
2 answers

Unable to log in to heroku through CLI

My password for heroku works in the browser but not in the CLI. I've changed my heroku password twice and the same outcome occur after every change: I can log in through my browser, but not through my CLI (using windows powershell if that matters).…
Robert Forwerck
  • 31
  • 1
  • 2
  • 5
3
votes
0 answers

EACCES: permission denied on Heroku deployment

When I'm trying to deploy my node with react app using: git push heroku master, during my building dependecies stage I'm getting the error: remote: -----> Building dependencies remote: Installing node modules (package.json +…
Murakami
  • 3,474
  • 7
  • 35
  • 89
3
votes
2 answers

How do I move my existing rails app onto heroku? (sqlite to postgres)

I have an existing Ruby on Rails app that already has data loaded into it. I used the default SQLite database setup, so that is where all my data is located, but I need all my data to go into my Postgres database on heroku. How do I do that?
Dan Williams
  • 3,769
  • 1
  • 18
  • 26
3
votes
2 answers

Heroku error in Gitbash Windows 10

I cannot get Heroku to work in Gitbash on windows 10. Gitbash version = 1.9.4.msysgit.2 Error Messages: $ heroku version /c/Program Files (x86)/heroku/bin/../client/bin/heroku.cmd: line 1: @echo: command not found /c/Program Files…
3
votes
1 answer

How to view output of postdeploy script on heroku?

I specified a postdeploy script in my app.json. The build info in the heroku web interface shows "There was an issue while running the post deploy script." { "scripts": { "postdeploy": "./bin/heroku_postdeploy" }, How can I get the output /…
unnu
  • 744
  • 1
  • 5
  • 13
3
votes
1 answer

Heroku error "Couldn't find that app" when attempting to clone team repo

I'm set up as a team member on another user's heroku project. I'm following the steps here to start contributing to their project. In the team invite email I received, the name of the app is, e.g., 'name' (i.e. the text of the email was '...has…
Mike Miller
  • 3,368
  • 5
  • 36
  • 49
3
votes
3 answers

heroku cli commands not responding on windows 10

I installed heroku cli on windows 10 via exe installer. When i try to run heroku --version command or heroku login command, the command window does not respond. It does not give any error. Then i uninstalled it and installed it using npm install -g…
user2240717
  • 111
  • 1
  • 7
3
votes
2 answers

Can't install Heroku CLI on Raspbian

I've just started using my RP3 as my development box, and got everything working fine: Python 3.6, created venv's, installed posgresql, working with Django. All is fine. Except that, if I want to work with Heroku, their CLI (former Toolbelt) won't…
2
votes
1 answer

Error regarding git push heroku main command, pywin32 error

When I am trying to push my new project, I have the following errors when I run git push heroku main in my terminal: remote: INFO: pip is looking at multiple versions of pypiwin32 to determine which version is compatible with other…
bogdan-cmd
  • 45
  • 7
2
votes
2 answers

My heroku database got detached. How can i recover my heroku hobby dev postgres database?

i am facing an issue from heroku that shows "Heroku marked free databases for deletion". my database is detached by heroku. enter image description here i want to recover my database. when i tried to raise a ticket through heroku support, it shows…
2
votes
1 answer

Can I specify a custom Dockerfile name with Heroku container:push?

I have a project with two Dockerfiles in the same directory: project /Dockerfile.web /Dockerfile.worker I can use them to build different parts of the same project very easily with docker-compose. However, I struggle to tell heroku…
adamsfamily
  • 1,746
  • 19
  • 37
2
votes
0 answers

error: failed to push some refs to 'heroku'

i created a node backend and a heroku server, using cmd, i logged into heroku using heroku cli, and created a heroku app and connected my mongodb uri to the server, after that i initialized a git repository using git init, and then i did git add .…