I have a question about getting my gitlab instance upgraded.
I’m currently at gitlab-11.2.3-ce.
$sudo apt-cache policy gitlab-ce
gitlab-ce:
Installed: 11.2.3-ce.0
Candidate: 11.2.3-ce.0
Version table:
*** 11.2.3-ce.0 100
100 /var/lib/dpkg/status
Here is the information on the OS I’m running.
$cat /etc/os-release
NAME=“Ubuntu”
VERSION=“18.04.5 LTS (Bionic Beaver)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 18.04.5 LTS”
A apt update show everything up to date. However, I know that there are several other gitlab versions in the major version 11 release train.
What am I not doing to be able to upgrade to a more current version of gitlab?
I believe I installed this instance using the OS package (Omnibus?)
Thanks in advance for any pointers that can aid me in resolving this problem.
I had similar issues when mine got stuck on 12.9.2. See this post where I explain how to go forward:
first you want to download the script.deb.sh and run it so that it refreshes your repository information. Then you can run the manual upgrade commands specifying the actual version to upgrade to. Since you are on an older version you will have to go through quite a few upgrades to get to the latest. This link should help for that:
Based on that info it could be something like this:
of course please ensure you have backups in case anything goes wrong with the upgrade process. You will also see that postgres will be upgraded through some of these releases as it is required. If you are using the omnibus package, I expect you have the default bundled postgres. If you were using an external postgres db, then you would need to take care of that manually since omnibus won’t do it.