There are two types of Gitlab installations namely.
- Source method and
- 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
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).
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