I have a Ubuntu 14.04 server running Gitlab that I’m trying to migrate to a Ubuntu 16.04 server, both servers are running Gitlab omnibus package version 8.10.4-ce.0.
My migration follows these steps:
- Create a backup of Gitlab on the 14.04 server
- Move backup tar to 16.04 in the
- Stopping unicorn and sidekick then running:
sudo gitlab-rake gitlab:backup:restore BACKUP=1473297442
- Starting all Gitlab services
sudo gitlab-rake gitlab:check SANITIZE=true
I have tested this migration process successfully when running the default
/etc/gitlab/gitlab.rb configuration on the 16.04 server. However, when I mount a second drive to be used for Gitlab data and add this line in the Gitlab config:
then running through the migration process again, when browsing to each repository on my Gitlab site I get an error indicating the repository does not exist.
I can browse to each repository in /data/git-data/repository/ on the server itself and running:
sudo gitlab-rake gitlab:check shows no issue either.
I’m really at a loss as to why the website would be saying this, though I’m quite inexperienced with the Gitlab platform itself. Any input on this would be greatly appreciated!