I ran out of space on the partition the git-data folder was stored on, so I followed the steps in this link http://stackoverflow.com/questions/19902417/change-the-data-directory-gitlab-to-store-repos-elsewhere However this didn’t work, so I moved the git-data folder back and restored the gitlab.rb file configuration back to how it was, and after reconfiguring gitlab and restarting it’s still not working.
Is someone able to advice a possible fix for this?
I’ve freed up space on the partition now so that is no longer an issue.
EDIT: I’ve changed the permissions to the following, which hasn’t resolved the issue;
Holds repositories directory
sudo chown -R -v git:root /var/opt/gitlab/git-data
sudo chmod -R -v 0700 /var/opt/gitlab/git-data
Holds git repositories
sudo chown -R -v git:git /var/opt/gitlab/git-data/repositories
sudo chmod -R -v 2770 /var/opt/gitlab/git-data/repositories