Update gitlab

Hi.
I have gitlab 7.5.3!
How to upgrade to the latest version ? Any guide?

dmesg | grep “Linux version”
Linux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013

Hi

These steps will be helpful please go through. Please post questions if any

first step is wrong
[root@gitlab ~]# service gitlab stop gitlab: unrecognized service

if I do
[root@gitlab bin]# gitlab-ctl stop ok: down: logrotate: 0s, normally up ok: down: nginx: 0s, normally up ok: down: postgresql: 0s, normally up ok: down: redis: 0s, normally up timeout: run: sidekiq: (pid 760) 594235s, want down, got TERM timeout: run: unicorn: (pid 765) 594247s, want down, got TERM
It’s right?
If so, what instructions to use?

I have
[root@gitlab ~]# yum list installed | grep git gitlab.x86_64 7.5.3_omnibus.5.2.1.ci-1.el6 xz-libs.x86_64 4.999.9-0.3.beta.20091007git.el6
What should I do next? which package to download?

Hi

There are two types of Gitlab installations namely.

  1. Source method and
  2. Omnibus method.

The below command is for Source installations

The below command is for Omnibus installations.

The command to check the version installed in omnibus method is

Issue:
Now coming to your question.
You are on 7.5.3 , you want to update to latest 8.9.6 (as on 16-July-16).

Steps.
Backup your Gitlab

Direct upgrade from 7.5.3 to 8.9.6 is not possible, you have to upgrade in steps.

7.5.3 to 7.6.0
7.6.0 to 8.0.0
8.0.0 to 8.5.0 (this step is optional, but I recommend to do it)
8.5.0 to 8.9.6
If the installed Gitlab version is 8.0 or later, then there is no need to upgrade in steps you can directly upgrade to latest version.
But if your gitlab installation is lesser than 8.0 then you need to upgrade in steps. If you don’t upgrade in steps the upgrade will fail in database migrations so upgrade in steps is necessary.

You can download the required rpm files from this download location and
follow the upgrade instructions and upgrade your instance.

If you have critical data, I suggest you try this procedure on a test system and then try on production server. It is very important to take backup before attempting any upgrade, in case of any failures you can recover the system with the backup.

Please post if you have any questions.

Cheers Good Luck :slight_smile:

I found only a minimal version 7.10.
[root@gitlab tmp]# gitlab-ctl reconfigure
/opt/gitlab/embedded/bin/ruby: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1) /opt/gitlab/embedded/bin/ruby: /lib64/libc.so.6: version GLIBC_2.17’ not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)