Updating
Last updated
Last updated
GitLab releases updates to its Enterprise Edition software very regularly. A major upgrade is always released the 22nd of every month.
Please keep in mind the CSL for production systems when deciding whether to upgrade GitLab. When in doubt, ask someone more experienced and BACKUP DATA.
To perform an upgrade,
Schedule a maintenance period
Perform a backup of data either via a Ceph snapshot or gitlab-rake
gitlab-rake:
As root on gitlab
, run
to backup all repositories to /var/opt/gitlab/backups
Ceph snapshot:
As root on a Ceph monitor, run the following to perform a snapshot of the Ceph image
Run the following to upgrade GitLab
The above upgrade will take time to perform. When the upgrade finishes, it should give you a success message. After the upgrade successfully completes, it will take a few minutes for all workers to start up so in that time frame you may see a 502 when accessing the site.