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:
- Take a backup
- Find the 7.2.2 version for your distro at https://about.gitlab.com/downloads/archives/
- Install the package
- Place your backup in
/etc/gitlab/gitlab.rbto match the settings of your
gitlab.ymlfile. That could entail some work, see the template and a script to convert to (although it might be outdated)
sudo gitlab-ctl reconfigure
sudo gitlab-rake gitlab:backup:restore
- Visit your GitLab and check everything works
- 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
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.