GitLab 6 specific changes
Updating from GitLab 6.6
and higher to the latest version
The procedure can also be used to upgrade from a CE Omnibus package to an EE
Omnibus package.
First, download the latest CE or EE (license key required) package to your GitLab server.
-
Stop services, but leave PostgreSQL running for the database migrations and create a backup:
sudo gitlab-ctl stop unicorn sudo gitlab-ctl stop sidekiq sudo gitlab-ctl stop nginx sudo gitlab-rake gitlab:backup:create
-
Install the latest package:
# Debian/Ubuntu: sudo dpkg -i gitlab_x.x.x-omnibus.xxx.deb # CentOS: sudo rpm -Uvh gitlab-x.x.x_xxx.rpm
-
Reconfigure GitLab (includes running database migrations) and restart all services:
sudo gitlab-ctl reconfigure sudo gitlab-ctl restart
Updating from GitLab 6.6.0.pre1
to 6.6.4
-
First, download the latest package from https://about.gitlab.com/install/ to your GitLab server.
-
Stop Unicorn and Sidekiq so we can do database migrations:
sudo gitlab-ctl stop unicorn sudo gitlab-ctl stop sidekiq