I tried following the instructions on the gitlab docs (
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#storing-git-data-in-an-alternative-directory)
 for 
moving gitlab data to a new directory. I copied the data out of the old 
gitlab data directory into the new location, modified 
`/etc/gitlab/gitlab.rb`, and reran `sudo gitlab-ctl reconfigure`. I copied 
with -rp to preserve permissions and all on the new location. And the 
gitlab-ctl did not error on me. When I try to push to a new repository 
though I get this error (I modified the path and my username, but otherwise 
this is the error). The path matches where I expected the repository to go. 
Indeed the folder that should have contained "newproj.git" is empty. 



> git push -u origin master
fatal: '/data2/path/to/repositories/user/newproj.git' does not appear to be 
a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.


Thanks for your time!

Best,
John
 

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to