gitlab升级手册
停止unicorn、sidekiq
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq
关闭nginx
gitlab-ctl stop nginx
创建数据备份,防止更新失败
gitlab-rake gitlab:backup:create
安装升级包
rpm -Uvh gitlab-ce-10.8.1-ce.0.el7.x86_64.rpm
rpm -Uvh gitlab-ce-11.3.0-ce.0.el7.x86_64.rpm
这里注意:升级版本有先后顺序,必须升级到10.8.1以后,才能继续升级到11.3.0,详情请看https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations
重新加载配置
gitlab-ctl reconfigure
重启Gitlab服务
gitlab-ctl restart