Gitlab升级-从 8.13.1到 11.5.1-实例基于Ubuntu
1. 备份 (可选)
如果您想在升级之前做个备份,以下的指令,将把备份数据默认保存在/var/opt/gitlab/backups
$ sudo gitlab-rake gitlab:backup:create STRATEGY=copy
2. 升级 GitLab
为什么不直接升级,具体查看官网,直接从8.x升级到11.x会有如下报错:
Preparing to unpack gitlab-ce_11.5.1-ce.0_amd64.deb ...
gitlab preinstall: It seems you are upgrading from 8.x version series
gitlab preinstall: to 11.x series. It is recommended to upgrade
gitlab preinstall: to the last minor version in a major version series first before
gitlab preinstall: jum