What is the command for upgrade gitlab version

hi guys,

need help I have a gitlab running version 12.0.0 in ubuntu live server.
now I plan to upgrade to latest version

but it need upgrade to v13.0.0 after just can get install latest version

I been trying below command
apt-get update
apt-get install gitlab-ce=YOUR-VERSION-ce.0

error
gitlab 12.0.12-ce.o for gitlab-ce was not found

is can’t get install?
can I how it working on manually download the version and install?

anyone can help. thanks

Please see this post for more info as has been encountered before and lists steps you can use to upgrade:

going from 12.0.0 you will need to ensure you don’t go straight to 13.x otherwise you will have major problems. The link in the output you provided will help also. My link will help you with the commands required to install/upgrade to specific versions before you go to 13.x. You cannot go to 13.x until you are on 12.10.x because of the postgresql upgrade and postgres version required.

You need to check the upgrade path of which versions between 12.0.0 and 12.10.x are required. This link will help with some of that info: Upgrading GitLab | GitLab

In particular:

12.0.1212.1.1712.10.1413.0.1413.1.11 - > 13.5.3

so upgrade to 12.0.12 first, and then each of the other versions listed above should be your path to the latest version. Of course, make sure you have backups in case this fails.

Also make sure that when going between each version that you make sure that background migrations have finished. If any of them are running, keep checking until the value output is zero. Once zero it means the background migrations have finished and you can then do the next upgrade. The command to check it is in this section: Upgrading GitLab | GitLab

1 Like