Hello, I am running Gitlab on Ubuntu server 20.04. I updated Gitlab on December and I had to update from version 14.2 to 15.5, so I did multiples hops and updates were done manually , defining each version as recomended Gitlab documentation. Now on, the latest version of Gitlab is 15.9 but I would like to move to 15.8.2??
Original installation was using Linux packages (Omnibus GitLab), but when I upgraded from 14.2 I run:
sudo apt install gitlab-ee=14.9.5-ee.0
My question is, if I can upgrade the whole system (Gitlab and other packages) just running
sudo apt update
sudo apt upgrade
Is this recomended or should I first upgrade my Gitlab to the desire release that I want to have and then upgrade the system (other Linux packages)??
Hello @gitlab-greg , thanks for your answer and your time. I am not running 14.9.5, that was an dumb example that I used to show the command I ran to upgrade Gitlab in December, hop after hop from release 14.2 to my current running version that is 15.5.
So with that “missunderstanding” cleared, what do you think?? should I first upgrade my Gitlab to the desire release (15.8.2) and then upgrade the system (other Linux packages) or can I run “apt upgrade” and upgrade the whole system at once including Gitlab?? As you can imagine, it was a Omnibus installation in Ubuntu 20.04.
The steps in the upgrade path are noted because they’re required for the upgrade to go smoothly. If steps are skipped in the upgrade path and something goes awry, the only option might be to rollback and try again.
Because apt upgrade doesn’t know about GitLab upgrade paths, and since skipping a step in the upgrade path can have serious consequences and impact availability, I generally advise against upgrading GitLab with sudo apt update.