[ale] help with git local repo
Michael Martin
mcm30114 at gmail.com
Fri Oct 30 10:01:32 EDT 2015
Chuck,
Something didn’t feel right on my last response, so I googled around and found these two articles that may help —
http://stackoverflow.com/questions/792611/receive-pack-service-not-enabled-for-git <http://stackoverflow.com/questions/792611/receive-pack-service-not-enabled-for-git>
The core here is to enable “receive-pack” .. good instructions in this one to point out how to do so.
http://serverfault.com/questions/487408/git-clone-works-fine-but-git-push-doesnt <http://serverfault.com/questions/487408/git-clone-works-fine-but-git-push-doesnt>
The second one talks about the “why” pretty well. Still looks like it may somehow be related to authentication issues (again, use SSH keys). Do note, that per this one, be careful about security and authentication issues ..
Would love to hear what the solution would be ..
Mike
> On Oct 30, 2015, at 9:43 AM, Chuck Payne <terrorpup at gmail.com> wrote:
>
> Guys,
>
> I am working with a developer to set up a local git repo. We are using
> Debian with git and gitweb. We have everything on the Debian side
> working we are able to pull repos, but we can't push back. We have
> also installed git-daemon, and I have added to the repo
> git-daemon-export-ok under the .git directory.
>
> git config --list
>
>
> user.cepayne=User A
> user.email=user at mycompany.com
> user.name= Dr. Light
> core.repositoryformatversion=0
> core.filemode=true
> core.bare=true
> core.sharedrepository=1
> receive.denynonfastforwards=true
> git.receivepack=true
> http.receivepack=true
>
> Here the info I have, I am hoping someone one know what needs to be
> change, this is from the client side
>
> git clone git://mybox/project.git project
>
> cd project
>
> origin git://mybox/project.git (fetch)
> origin git://mybox/project.git (push)
>
> Start working with it. Add just a simple README file
>
> git add README
> git commit -m "test repo"
> git push origin master
>
> fatal: remote error: access denied or repository not exported: /project.git
>
> From the server
>
> Oct 30 09:31:19 mybox git-daemon[20427]: Connection from 10.0.10.200:58044
> Oct 30 09:31:19 mybox git-daemon[20427]: Extended attributes (29
> bytes) exist <host=mybox>
> Oct 30 09:31:19 mybox git-daemon[20427]: Request receive-pack for '/project.git'
> Oct 30 09:31:19 mybox git-daemon[20427]: 'receive-pack': service not
> enabled for '/var/cache/git/project.git/.git'
> Oct 30 09:31:19 my box git-daemon[26495]: [20427] Disconnected (with error)
>
> Is there something I need to change?
>
> --
> Terror PUP a.k.a
> Chuck "PUP" Payne
> -----------------------------------------
> Discover it! Enjoy it! Share it! openSUSE Linux.
> -----------------------------------------
> openSUSE -- Terrorpup
> openSUSE Ambassador/openSUSE Member
> skype,twiiter,identica,friendfeed -- terrorpup
> freenode(irc) --terrorpup/lupinstein
> Register Linux Userid: 155363
>
> Have you tried SUSE Studio? Need to create a Live CD, an app you want
> to package and distribute , or create your own linux distro. Give SUSE
> Studio a try.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20151030/e38950f8/attachment.html>
More information about the Ale
mailing list