This should be simple, and I swear it was working an hour ago. I can log in to Heroku, but can't run any useful commands:
$ heroku login Enter your Heroku credentials. Email: [email protected] Password: $ heroku stack App not found $ heroku config App not found
Perhaps this is the source of the problem?
$ git remote show heroku ! No such app as empty-samurai-345 fatal: The remote end hung up unexpectedly
empty-samuri-345 was an app I deleted earlier. All I really want to do is upload a new app using the bamboo-mri-1.9.2 stack.
Thanks in advance for suggestions...
There are some errors which only occur when the app is rebooting so you will need to restart the app to see these log messages appear. For most apps, we also recommend enabling one of the free logging addons from https://elements.heroku.com/addons#logging to make sure that your historical log data is being saved.
How to check your app. To run Production Check, navigate to your app in the Heroku Dashboard, click the actions menu in the top-right corner, and then click Production check . Production Check will run a series of tests on your app. These tests are recommended for maintaining and monitoring availability.
You need to remove the heroku remote in git
using this command:
git remote rm heroku
Then you can add a new remote using this one:
git remote add heroku [email protected]:your-app.git
Then try running your heroku
commands.
Run the following
git config -l
The config key is easy to spot, remote.heroku.url
.
Now if your comfortable editing the config directly, just:
git config -e
If not:
# Confirm you've got the right key git config remote.heroku.url # Substitute your_app_name appropriately git config remote.heroku.url [email protected]:your_app_name.git
My answer is based off fearless_fool's comment, which lacks much detail.
FYI: The config file is located in /your_git_repo/.git/config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With