GitLab 7 specific changes
Updating from GitLab 6.6
and higher to 7.10
or newer
In the 7.10 package we have added the gitlab-ctl upgrade
command, and we
configured the packages to run this command automatically after the new package
is installed. If you are installing GitLab 7.9 or earlier, please check the
different procedure.
If you installed using the package server all you need to do is run sudo apt-get update && sudo apt-get install gitlab-ce
(for Debian/Ubuntu) or sudo yum install gitlab-ce
(for CentOS/Enterprise Linux).
If you are not using the package server, consider upgrading to the package repository. Otherwise, download the latest CE or
EE (subscribers only)
package to your GitLab server then all you have to do is dpkg -i gitlab-ce-XXX.deb
(for Debian/Ubuntu) or rpm
-Uvh gitlab-ce-XXX.rpm
(for CentOS/Enterprise Linux). After the package has
been unpacked, GitLab will automatically:
- Stop all GitLab services;
- Create a backup using your current, old GitLab version. This is a ‘light’ backup that only backs up the SQL database;
- Run
gitlab-ctl reconfigure
, which will perform any necessary database migrations (using the new GitLab version); - Restart the services that were running when the upgrade script was invoked.
If you do not want the DB-only backup, automatic start/stop and DB migrations to be performed automatically please run the following command before upgrading your GitLab instance:
sudo touch /etc/gitlab/skip-auto-reconfigure
Alternatively if you just want to prevent DB migrations add gitlab_rails['auto_migrate'] = false
to your gitlab.rb
file.
Help and feedback
If there's something you don't like about this feature
To propose functionality that GitLab does not yet offer
To further help GitLab in shaping new features
If you didn't find what you were looking for
If you want help with something very specific to your use case, and can use some community support
POST ON GITLAB FORUM
If you have problems setting up or using this feature (depending on your GitLab subscription)
REQUEST SUPPORT
To view all GitLab tiers and features or to upgrade
If you want to try all features available in GitLab.com
If you want to try all features available in GitLab self-managed
If you spot an error or a need for improvement and would like to fix it yourself in a merge request
EDIT THIS PAGE
If you would like to suggest an improvement to this doc