Anyone has upgraded Ubuntu under Omnibus EE from 14.04 to 16.04 to 18.04 already?


#1

Hi, we are currently running GitLab Omnibus EE on a Hyper-V VM under Ubuntu 14.04 LTS. Support for the OS ends this year, and it seems the time has come to bite the bullet and upgrade. Has anyone performed such a feat?

According to Ubuntu, i’ll have to go through 16.04, as “jumping over” an LTS release is not supported. So I’ll have to perform 2 upgrades in a row. There was a post claiming no problems with the upgrade from 14.04 to 16.04, but I could not find anything related to the second part, 16.04 to 18.04. Any words of wisdom out there to share?


#2

I took a VMware snapshot then upgraded from Ubuntu 16.04 to 18.04. Gitlab omnibus CE 11.1.1 started I could authenticate as the admin afterward but when I tried to upgrade to the latest Gitlab version with

sudo apt-get update
sudo apt-get install gitlab-ce

it returned a message that there weren’t any new versions. I hadn’t seen the instructions in this link Upgrading from Ubuntu 14.04 to 16.04 to which corrected repository issues going from 14.04 to 16.04…

I reverted back to my snapshot and successfully applied the Gitlab upgrade.

Would I have been successful if I had followed the suggestions for the repository fix between Ubuntu 14.04 to 16.04 upgrade? Any other suggestions?


#3

I upgraded Ubuntu 16.04.5 LTS with GitLab Omnibus CE 11.2.3 to Ubuntu 18.04.1 LTS using do-release-upgrade and experienced problems due to a gitlab-secrets.json reset, so I would recommend specifically backing up the /etc/gitlab/gitlab-secrets.json for faster service restoration if that issue comes up.

Otherwise the upgrade went smoothly.