How to upgrade from 7.6 to 8.9

Hi,

Our gitlab version is CE 7.6, and it is installed from source, now we want to upgrade to 8.9.

But from https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/update, we found that we must follow below steps:

  1. upgrade from 7. 6 to 7.14;
  2. upgrade from 7.14 to 8.0;
  3. upgrade from 8.0 to 8.1;
  4. upgrade from 8.1 to 8.2;
  5. upgrade from 8.2 to 8.3;
  6. upgrade from 8.3 to 8.4;
  7. upgrade from 8.4 to 8.5;
  8. upgrade from 8.5 to 8.6;
  9. upgrade from 8.6 to 8.7;
  10. upgrade from 8.7 to 8.8;
  11. upgrade from 8.8 to 8.9;

But the steps is too complex, is there any simpler method for us to upgrade from 7.6 to 8.9?

Thanks

Hi

These upgrade steps should be helpful.
I recommend you to convert your instance from source to omnibus life will be easy after that :slight_smile:
Please post any questions if you have.

Hi Ershad,

As suggested by you I am upgrading gitlab 7.10.1 to 8.x.x , how do we check Gitlab instance is Omnibus or Source method from below out put.

[root@Gitlab-VM ~]# gitlab-rake gitlab:env:info --trace
** Invoke gitlab:env:info (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gitlab:env:info

System information
System: RedHatEnterpriseServer 6.7
Current User: git
Using RVM: no
Ruby Version: 2.1.6p336
Gem Version: 2.2.1
Bundler Version:1.5.3
Rake Version: 10.4.2
Sidekiq Version:3.3.0

GitLab information
Version: 7.10.1
Revision: d5c71c8
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://x.x.x.x
HTTP Clone URL: http://x.x.x.x/some-project.git
SSH Clone URL: git@x.x.x.x:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version: 2.6.2
Repositories: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git

Thanks
Sanjeev Kumar N

Try to locate this file - /etc/gitlab/gitlab.rb

If it’s there, you have an Omnibus instance. If not, it’s installed from source.

This document will provide you with the information to upgrade to omnibus - https://docs.gitlab.com/omnibus/update/README.html#upgrading-from-a-non-omnibus-installation-to-an-omnibus-installation

Hope this helps, let me know!

1 Like

Hi Piixal,

Able to find /etc/gitlab/gitlab.rb file this confirms as Omnibus.

Thanks
Sanjeev Kumar N