I am trying to upgrade my gitlab server to the latest version as recommended. I understand the upgrade paths, that you need to upgrade to the latest minor version before you upgrade to the latest major version.
I am currently running version 12.0.12 CE which means I should upgrade to 12.10.6 before going to 13.0.0 CE.
When I run
apt-get install gitlab-ce=12.10.6-ce.0
I get this error:
Version '12.10.6-ce.0' for 'gitlab-ce' was not found
Am I missing something? This worked for me last year when I upgraded my server. I am pretty sure that I ran this command last year to get to the version I am running now.
Why 12.10.6, the latest version is 12.10 is 12.10.11.
There is a 12.10.6 package, so it should work, one explanation would be that you haven’t actually configured the right repository, but there might be other explanations. If you use debian (or a derivative) show us the complete output of apt-cache policy gitlab-ce (there might be quite a lot of data,). If you use some other distribution, I’m not able to help.
(I think that) 12.10.6 was the newest when the upgrade recommendations were written, that’s probably why they refer to that version. But there shouldn’t be any difference between 12.10.6 and 12.10.11 for upgrading, but if upgrading causes problems, it’s better (in almost all cases) to be on 12.10.11.
That output suggests that you have configured the repository. My first bet then is that you haven’t run apt update for a while. If that doesn’t help, please show us the output from running that command.
Version 13.2.0 has been released yet (expect it on 22 July), so what you’re experiencing now is supposed to happen. If I remember correctly there wasn’t even a 13.0.2 (publicly released version jumped from 13.0.1 to 13.0.3), but I also believe one of the later versions was labeled a security release, so you really should go to 13.0.6 (the latest).