How to upgrade Gitlab safely with zero downtime

GitLab is a complex piece of software. If you are planning on upgrading your self-hosted GitLab machine to a new major version, you need to follow this documentation: https://docs.gitlab.com/ee/update/

Also, use the Upgrade Path Toolbox from here: https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/?edition=ce to ensure that the upgrade is smooth and safe.

For instance, if you currently have gitlab-ce version 15.11.10-ce.0 and want to upgrade to version 16.10.1, you have to perform the following upgrade one-by-one:

  • apt-get install gitlab-ce=15.11.13-ce.0
  • apt-get install gitlab-ce=16.0.8-ce.0
  • apt-get install gitlab-ce=16.1.6-ce.0
  • apt-get install gitlab-ce=16.2.9-ce.0
  • apt-get install gitlab-ce=16.3.7-ce.0
  • apt-get install gitlab-ce=16.4.5-ce.0
  • apt-get install gitlab-ce=16.5.8-ce.0
  • apt-get install gitlab-ce=16.6.7-ce.0
  • apt-get install gitlab-ce=16.7.7-ce.0
  • apt-get install gitlab-ce=16.8.5-ce.0
  • apt-get install gitlab-ce=16.9.3-ce.0
  • apt-get install gitlab-ce=16.10.1-ce.0

See - https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/?current=15.11.10&edition=ce&downtime=true

 

Category:  General

Latest

VirtualBox error NS_ERROR_INVALID_ARG (0X80070057) when adding an existing virtual machine

1.Oct.2024
If you've ever encountered the following error when adding an existing VM to your host:   ...

Tik Tok algorithm is interesting

17.Apr.2024
I don't know how Tik Tok does it and honestly I don't know how its algorithm works. It can't be alg...

How to upgrade Gitlab safely with zero downtime

30.Mar.2024
GitLab is a complex piece of software. If you are planning on upgrading your self-hosted GitLab mac...

How to reduce Proxmox VE guest machine backup size

30.Mar.2024
To reduce a guest machine before you perform a backup, first set the discard flag on the guest mach...

Proxmox and CSF - LAN vmbr2 not working

29.Mar.2024
If somehow you have Proxmox & CSF for blocking outside traffic vmbr0 (WAN), and have a vmbr2 LA...