Gitlab update to the latest version 11.5 from 10.*


#1

I am not able to find suitable link or steps for updating to the latest version.
I would like to upgrade to the 11.5v from 10.6 on debian system.

can anyone help me with that


#2

This should have the caveats for upgrading: https://docs.gitlab.com/omnibus/update/README.html
We initially installed on a 10.x version and have upgraded to the latest without (m)any problems so far. At least no major issues (EE version)


#3

oh nice then i have to follow the below steps


curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce=11.5.6-ce.0

can i also perfrom the installation like this or just use this  apt-get install gitlab-ee

#4

can i perofrm the installation as below?

curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce=11.5.6-ce.0

#5

The latest version is 11.6.3, not 11.5.6.

I won’t recommend doing anything of the form curl | sh, download the script, read what it does, determine if that’s a good fit for your system and then either run it, or do something with the same effect that makes more sense in your case.


#6

Earlier i used the same procedure to update the gitlab from 9.x to 10.x, So i thought the same can be applied for upgrade.


#7

Hello all,

Preparing to unpack …/gitlab-ce_11.5.6-ce.0_amd64.deb …
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: error processing archive /var/cache/apt/archives/gitlab-ce_11.5.6-ce.0_amd64.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/gitlab-ce_11.5.6-ce.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


#8

After updating the gitlab it went fine, but we have a problem.

API 3 is not supported and should move to API 4. any idea how could we do this


#9

Sorry, missed your reply. It depends, if you are not aware of using the API, you’re probably not using it. If you are using it, it is in self made scripts or code, and you or the person who made the custom integration should know where and how to update this.


#10

https://docs.gitlab.com/ee/api/v3_to_v4.html