Updating GitLab to last version

What’s the best way to migrate GitLab from 7.2.2 version to latest version?

You mean a source installation to the package one?

Yes from source (https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md) . There is a way to install the latest version and just run the database migration scripts? Because there are many versions to update, and can cause problems

In order to go from source to package you have to be on the same version. So the steps would be:

  1. Take a backup
  2. Find the 7.2.2 version for your distro at https://about.gitlab.com/downloads/archives/
  3. Install the package
  4. Place your backup in /var/opt/gitlab/backups
  5. Edit /etc/gitlab/gitlab.rb to match the settings of your gitlab.yml file. That could entail some work, see the template and a script to convert to (although it might be outdated)
  6. Run sudo gitlab-ctl reconfigure
  7. Run sudo gitlab-rake gitlab:backup:restore
  8. Visit your GitLab and check everything works
  9. To update to latest version, follow the instructions for your distro at https://about.gitlab.com/upgrade-to-package-repository/

Sorry, i think I expressed myself poorly, I just want update my GitLab from 7.2.2 to last version. Is there a safe way to do this without having to go updating the smaller version to the last? My installation was performed from source

Oops I totally forgot to include how to update to latest version :confused:

I will edit my answer above.

Hi @axil I am doing a similar activity.
I want to upgrade from 6.9.2 to 8.2 latest version.
My setup is source method on RHEL 6
I want to stay on Source method.
Can you tell me what is the best way to do this.