Question
pre-receive hook declined on Dokku image
Hi all,
I can’t seem to use the Dokku image provided by DigitalOcean (Dokku v0.2.3 on Ubuntu 14.04 w/ Docker 1.1.2).
Seems to fail with the sample app, steps to reproduce are:
- Create new droplet with my SSH key (1gb ram / 1cpu - $10/m)
- Go to {mydomain}.com and see the Dokku setup screen
- Tick “use virtual naming for apps”
- Hit [finish setup]
- Clone the heroku nodejs sample app locally
- Run
git remote add production dokku@{mydomain}.com:node-js-app
- run
git push production master
And I get:
Counting objects: 378, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (304/304), done.
Writing objects: 100% (378/378), 209.95 KiB | 0 bytes/s, done.
Total 378 (delta 45), reused 378 (delta 45)
remote: -----> Cleaning up ...
remote: -----> Building node-js-app ...
remote: Cloning into '/tmp/tmp.vfvhbuvQct'...
remote: warning: You appear to have cloned an empty repository.
remote: done.
remote: HEAD is now at 97a7c5c... wording
remote: Node.js app detected
To dokku@{mydomain}:node-js-app
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@{mydomain}.com:node-js-app'
Any ideas?
Sneaky Edit: I found a post here telling me to run a command to fix the config of docker but is still not working.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×