Docs suggestion - upgrading from non omnibus postgresql to an omnibus installation in place
I have a suggestion for the docs based on my own experience. I have just moved from source to the omnibus package.
The docs here say that you should create a gitlab.rb
file and set your git_data_dir
to /home/git
.
I've found that if you move the folders
-
/home/git/repositories
to/var/opt/gitlab/git-data/repositories
-
/home/git/gitlab/public/uploads
to/var/opt/gitlab/gitlab-rails/uploads
then there should be no need to set the git_data_dir
inside gitlab.rb
as the repos/uploads are now in the default omnibus folders for consistency. It also means you can delete the /home/git
folder (but don't delete the user).
Edited by 🤖 GitLab Bot 🤖