Update gitlab-ee 10.1 on Ubuntu

Hey there,

I’m trying to update gitlab on my ubuntu machine. Version is 10.1 and when I try to update it via apt-get I get the following error:
gitlab preinstall: It seems you are upgrading from 10.x version series gitlab preinstall: to 11.x series. It is recommended to upgrade gitlab preinstall: to the last minor version in a major version series first before gitlab preinstall: jumping to the next major version. gitlab preinstall: Please follow the upgrade documentation at https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations gitlab preinstall: and upgrade to 10.8 first. dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/gitlab-ee_11.0.3-ee.0_amd64.deb (--unpack):

I also tried gitlab-ctl update, but the version is still 10.1

How can I update gitlab to the newest version? Preferably from the repository.

1 Like

Got it. I downloaded 10.8 here: https://packages.gitlab.com/gitlab/gitlab-ee
and installed it with the command dpkg -i

2 Likes

This comment guide to the right place (the package website) after researching for an hour!

If you are community version (centos 7), you want to upgrade to version 11.x but you get error you can try:

“sudo yum install gitlab-ce-10.8.7-ce.0.el7.x86_64”

This will update to 10.8.7 first, which upgrade to the last minor version. Then you can upgrade to the next one.

ref: https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-10.8.7-ce.0.el7.x86_64.rpm

1 Like

For debian, if you want to do it with apt: apt-get install --only-upgrade gitlab-ce=10.8.7-ce.0

2 Likes

Thank you @pmartineau