How to upgrade Gitlab 7 to 8 with old backup

3k views Asked by At

I was using Gitlab 7.10.4. I created a backup using the following command :

# I have installed GitLab with the Omnibus package
sudo gitlab-rake gitlab:backup:create

Then I tried to upgrade to the lastest Gitlab version (eg. 8.3.4) using :

sudo apt-get update 
sudo apt-get install gitlab-ce

For an unknow reason, this has failed. So I had to install a fresh install of Gitlab, but I don't understand why my old backup can't be installed on the new version of Gitlab which generates a version mismatch error.

How to keep my old data backup and upgrade to the lastest version of gitlab ?

1

There are 1 answers

1
analo9star On

I've upgraded Gitlab 7.10.4 to 8.5.0 using :

$ curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

$ sudo apt-get install gitlab-ce

$ sudo gitlab-ctl restart