Upgrade gitlab CE from 8.0.5 to latest

Hello,

Pretty new here. Can I know if there is a faster way of upgrading my gitlab CE 8.0.5 (source installation) to the latest version (omnibus?)?

Hi i am also trying to upgrade to the latest version of gitlab and using the versoin 8.0.5 with Source installation. for the Database MySQL is being used, so can any one suggest what are the steps that are needed to be done.

Hi @chithup95 for me, the final database used to store my repos did not matter so these were the following steps that I did.

  1. Gitlab Omnibus CE uses PostgreSQL so first you’d have to export a postgresql compatible version of sql backup from your MYSQL database (https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.0.5/doc/update/mysql_to_postgresql.md)
  2. On a seperate server, it is recommended to install the same version of Gitlab Omnibus v8.0.5. You may get the installation package from https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_8.0.5-ce.0_amd64.deb/download.deb Install it using dpkg -i gitlab-ce_8.0.5-ce.0_amd64 and configure it like any other omnibus installation
  3. restore the backup created in step 1 into your new omnibus version. you may refer to the following link on how to restore from backups for omnibus versions https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore-for-omnibus-installations
  4. ensure that your Omnibus version works before doing major upgrades. do follow gitlab’s recommended upgrade policy to prevent any issues https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations

I hope this helps. If you require using MYSQL I think you’d need to use EE version. If anyone else has better ways, please do share