{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/gitreceive/issues/42","repository_url":"https://api.github.com/repos/progrium/gitreceive","labels_url":"https://api.github.com/repos/progrium/gitreceive/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/progrium/gitreceive/issues/42/comments","events_url":"https://api.github.com/repos/progrium/gitreceive/issues/42/events","html_url":"https://github.com/progrium/gitreceive/issues/42","id":153791918,"number":42,"title":"Error pushing changes to gitreceive: No script output reported","user":{"login":"NigelThorne","id":5942,"avatar_url":"https://avatars.githubusercontent.com/u/5942?v=3","gravatar_id":"","url":"https://api.github.com/users/NigelThorne","html_url":"https://github.com/NigelThorne","followers_url":"https://api.github.com/users/NigelThorne/followers","following_url":"https://api.github.com/users/NigelThorne/following{/other_user}","gists_url":"https://api.github.com/users/NigelThorne/gists{/gist_id}","starred_url":"https://api.github.com/users/NigelThorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NigelThorne/subscriptions","organizations_url":"https://api.github.com/users/NigelThorne/orgs","repos_url":"https://api.github.com/users/NigelThorne/repos","events_url":"https://api.github.com/users/NigelThorne/events{/privacy}","received_events_url":"https://api.github.com/users/NigelThorne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-09T14:39:34Z","updated_at":"2016-05-09T14:58:57Z","closed_at":"2016-05-09T14:58:57Z","body":"I'm trying to put together a simple \"gitreceive\" docker service, that when pushed a repo will build the docker image and publish it to a docker repository.\r\n\r\nI'm just currently trying to get gitreceive to accept a pushed git repo. \r\n\r\nhttps://github.com/NigelThorne/dockerfiles/tree/master/gitreceive-dockerbuilder\r\n\r\nI'm getting the following error.. \r\n\r\ntzm-mac:xxx nwt$ git push gr master\r\nCounting objects: 3, done.\r\nWriting objects: 100% (3/3), 208 bytes | 0 bytes/s, done.\r\nTotal 3 (delta 0), reused 0 (delta 0)\r\nTo ssh://git@192.168.99.100:34567/xxx\r\n ! [remote rejected] master -> master (pre-receive hook declined)\r\nerror: failed to push some refs to 'ssh://git@192.168.99.100:34567/xxx'\r\n\r\nTo recreate this... \r\n\r\nI build and ran my docker project\r\n> docker build -t gitreceive . \r\n> docker run -p 34567:22  -d --name gitreceive gitreceive\r\n\r\npush ssh key to server\r\n> chmod 600 sshkey\r\n> cat ~/.ssh/id_rsa.pub | ssh -i sshkey root@192.168.99.100 -p 34567 \"gitreceive upload-key nwt\"\r\n\r\nThen make a repo\r\n> mkdir xxx\r\n> cd xxx\r\n> git init .\r\n> echo test > test.txt\r\n> git add . \r\n> git commit -m \"initial commit\"\r\n> git remote add gr ssh://git@192.168.99.100:32768/xxx\r\n> git push gr master\r\n\r\nERROR\r\n\r\nThanks for your time and guidance. "},"comment":{"url":"https://api.github.com/repos/progrium/gitreceive/issues/comments/217889372","html_url":"https://github.com/progrium/gitreceive/issues/42#issuecomment-217889372","issue_url":"https://api.github.com/repos/progrium/gitreceive/issues/42","id":217889372,"user":{"login":"NigelThorne","id":5942,"avatar_url":"https://avatars.githubusercontent.com/u/5942?v=3","gravatar_id":"","url":"https://api.github.com/users/NigelThorne","html_url":"https://github.com/NigelThorne","followers_url":"https://api.github.com/users/NigelThorne/followers","following_url":"https://api.github.com/users/NigelThorne/following{/other_user}","gists_url":"https://api.github.com/users/NigelThorne/gists{/gist_id}","starred_url":"https://api.github.com/users/NigelThorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NigelThorne/subscriptions","organizations_url":"https://api.github.com/users/NigelThorne/orgs","repos_url":"https://api.github.com/users/NigelThorne/repos","events_url":"https://api.github.com/users/NigelThorne/events{/privacy}","received_events_url":"https://api.github.com/users/NigelThorne/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T14:58:56Z","updated_at":"2016-05-09T14:58:56Z","body":"I believe the receiver script was  being overwritten by \"gitreceive init\", so I had to swap the order of a few commands in the docker file.   All working as expected now... \r\n\r\nNothing to see here... move along... move along. \r\n "}}