Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
'new-app' does not appear to be a git repository #1813
I have a problem similar to #1608.
I get this error when pushing to a newly created app:
Existing app's do not have this problem and I can just git push to those apps as usual.
I did mess about a bit with the user credentials for the dokku user (enabled password access). I understand that this might be causing this behaviour? What I do not understand is why it only affects newly created apps, and not existing ones? :-).
I have checked the authorized_keys for the dokku user and the fingerprint statement is present.
Any ideas? Thanks!
Alright so the issue was the same issue.
@Corstiaan84 copied his local key via
The correct way is to do it via
If your public key is local on your machine:
# assuming you have ssh access via root cat ~/.ssh/id_rsa.pub | ssh email@example.com "sudo sshcommand acl-add dokku custom-identifier"
If the key is on the dokku machine and you are already logged in as root, you can do the following:
# assuming you are logged in as a user with root cat path/to/id_rsa.pub | sudo sshcommand acl-add dokku custom-identifier
A few things to note:
I will add documentation for this, but yeah, essentially this was user error. Because the key wasn't added via
This issue is appearing on digitalocean one click-installer* with an odd quirk where configuring with ssh keys causes the problem above. Using
Currently it seems the best approach is not to add keys initially and then walk through a few additional steps:
Someone who is in charge of the one-click installer for DO might want to take a look at this.
Just leaving a note for others who come across here - the public link to the troubleshooting page is http://dokku.viewdocs.io/dokku/getting-started/troubleshooting/