- Ubuntu 14.04.5
- MySQL - 5.5.53
- GitLab Source - 7.14.3
- GitLab Shell - 2.6.5
- GitLab API - v3
- Ruby 2.1.6p336
- Rails - 4.1.11
GitLab 7.14.3 to Omnibus Tutorial
- Create a backup of the non-Omnibus MySQL installation
- Export and convert the existing MySQL database in the GitLab backup file
- Restore this in the Omnibus installation
- Rebuild database indexes
GitLab install from source Tutorial
Once converted transfer to GitLab Omnibus server.
Install same version of omnibus as GitLab source (7.14.3)
sudo dpkg -i gitlab-ce_7.14.3-ce.1_amd64.deb
Restoring an application backup
Move GitLab backup (Postgres) to /var/opt/gitlab/backups/
It must have the permissions git:root
:
sudo chown git:root /var/opt/gitlab/backups/1480979818_gitlab_backup.tar
Once restore has finished run:
sudo gitlab-ctl restart
Download all older versions required from the GitLab packages website. Transfer to GitLab Omnibus server.
Install updates using:
sudo dpkg -i gitlab-ce_8.0.0-ce.0_amd64.deb
Once on latest major version (8.14.0
) run the GitLab Installer
sudo apt-get install curl openssh-server ca-certificates postfix
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
sudo gitlab-ctl reconfigure