Tag: Gitlab漏洞升级

  • Gitlab升级之路10.8.7 -> 11.11.8 -> 12.0.12 -> 12.1.17 -> 12.10.14 -> 13.0.14 -> 13.1.11 -> 13.5.4 -> 13.10.3

    Gitlab升级之路10.8.7 -> 11.11.8 -> 12.0.12 -> 12.1.17 -> 12.10.14 -> 13.0.14 -> 13.1.11 -> 13.5.4 -> 13.10.3

    Gitlab因存在漏洞,必须进行升级。 https://help.aliyun.com/noticelist/articleid/1060824788.html https://help.aliyun.com/noticelist/articleid/1060819310.html 本文以Gitlab的Omnibus方便版本来说明从低版本10.8.7 升级到13.10.3 的步骤 官方升级文档:https://docs.gitlab.com/omnibus/update/ 重点在这里,版本升级要按部就班,不能步子迈的太大,扯到蛋: https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations 于是最终决定的升级路径: 10.8.7 -> 11.11.8 -> 12.0.12 -> 12.1.17 -> 12.10.14 -> 13.0.14 -> 13.1.11 -> 13.5.4 -> 13.10.3 从下载地址把上面所有的安装包下载下来: https://packages.gitlab.com/gitlab/gitlab-ce 例如我的下载列表: gitlab-ce-10.8.7-ce.0.el7.x86_64.rpm gitlab-ce-12.10.14-ce.0.el7.x86_64.rpm gitlab-ce-13.10.3-ce.0.el7.x86_64.rpm gitlab-ce-11.11.8-ce.0.el7.x86_64.rpm gitlab-ce-12.1.17-ce.0.el7.x86_64.rpm gitlab-ce-13.1.11-ce.0.el7.x86_64.rpm gitlab-ce-12.0.12-ce.0.el7.x86_64.rpm gitlab-ce-13.0.14-ce.0.el7.x86_64.rpm gitlab-ce-13.5.4-ce.0.el7.x86_64.rpm 在你有能力升级之前,请确定你先有能力备份恢复,并且亲自测试! 备份恢复的文档: https://docs.gitlab.com/ee/raketasks/backup_restore.html 备份恢复的重点是这些配置文件: For Omnibus: /etc/gitlab/gitlab-secrets.json /etc/gitlab/gitlab.rb ####### 备份命令需要注意!,不同版本的命令不一样! ######### 在使用 Omnibus package的情况下: GitLab 12.2…