[英]How to upgrade Gitlab 7 to 8 with old backup
I was using Gitlab 7.10.4. 我正在使用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 : 然后我尝试使用升级到最新的Gitlab版本(例如8.3.4 ):
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. 因此,我不得不重新安装Gitlab,但是我不明白为什么我的旧备份不能安装在新版本的Gitlab上,这会产生版本不匹配错误。
How to keep my old data backup and upgrade to the lastest version of gitlab ? 如何保留旧数据备份并升级到最新版本的gitlab?
I've upgraded Gitlab
7.10.4 to 8.5.0 using : 我使用以下命令将Gitlab
7.10.4升级到8.5.0:
$ 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.