I have gitlab_data_dir mounted from NFS, the thing that works for me was the no_root_squash option in the nfs export:
(rw,no_root_squash,no_subtree_check) So that way the user/group remains git:git in "both" places, the export in the NFS server, and the mount point in GL. Cheers. El martes, 17 de marzo de 2015, 13:16:03 (UTC-5), Andrew Davis escribió: > > I am also having the exact same issue. I created a stack overflow post > here: > > > http://stackoverflow.com/questions/29101718/how-can-i-use-gitlab-on-one-server-and-store-all-of-the-repositories-on-another > > As of right now, I haven't received an answer. Did you solve the issue? Is > it related to permissions of some kind? > > On Monday, August 11, 2014 at 9:12:58 AM UTC-4, Xaver H wrote: >> >> Hi everybody, >> >> I run gitlab at a virtual machine with ubuntu server 14.04 LTS. I >> installed gitlab like described here: https://about.gitlab.com/downloads/ >> >> Now I have mounted a directory via NFS to the virtual machine. There I >> want to save the git-data (repo etc.) >> I read that I have to change the git_data_dir in /etc/gitlab/gitlab.rb >> But after reconfiguration I got some error-messages (Operation not >> permitted @ chown_internal) >> I changed the user and usergroup of my NFS directory to the git-user and >> I added also an user and an usergroup git to the host-system. >> I checked the normal use of the NFS directory (I can create >> files/directories there!) >> >> Can anybody help me please? >> >> Thanks a lot! >> > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/0ed705c3-683e-4b56-a8bc-9476dd4785a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
