Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gitreceive doesn't work #1608
This is true for me also. I would like to add that my SSH keys are default id_rsa and id_rsa.pub
When I do
I get the following:
I also tried creating and initiating the project folder on the server - in this case git recognizes it and pushes the files, but dokku doesn't recognize the push and doesn't build the app, that is why I made a step back.
I thought of initiating a git recieve script manually on the server, but have found no info about that in case of building a dokku app.
By the way, dokku tracing is on, but I get no additional information.
Now I have literally run out of solutions found over the internet, that is why any help would be greatly appreciated :)
I already did that, but it made no effect. To be on the safe side, tried to do this once more now, but again it haven't changed anything.
What is it for? As far as I understand, this command copies the public key to /home/dokku/.ssh/authorized_keys, but I already login to the server as dokku via ssh.
So, does it make sense to create a new droplet and try to insert the public key through the ui?
The problem resolved. I deleted the whole dokku folder from the server and then installed it from scratch via
on the remote server. Then executed
Not the most elegant solution, but it worked. I suppose the initial issue could be resolved by updating the /home/dokku/.ssh/authorized_keys file. It previously looked like
(I had a key for PuTTY and a key for OpenSSH), and
@josegonzalez, thank you for pointing me to the issue source
I got this error as well but only for NEWLY created apps in my dokku installation, after I changed some access settings for the dokku/git user. How do I configure the dokku user back to it's prefered state? Please do not tell me to do a fresh install... :-).
I needed to restart the server for some tweaks and ended up having to enable password access for the Dokku user. I guess Dokku does not like this?
Thanks for your help!