小版本升级,比如12.3.xx 升级到12.4.xx, 但是注意提示,如果升级不了会提示的:
gitlab preinstall: It seems you are upgrading from major version 13 to major version 14.
gitlab preinstall: It is required to upgrade to the latest 13.12.x version first before proceeding.
gitlab preinstall: Please follow the upgrade documentation at https://docs.gitlab.com/ee/update/index.html#upgrade-paths
- 下载rpm包,可以从这里下载https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/ 根据自己的系统选择对应的版本
- gitlab-ctl stop unicorn
- gitlab-ctl stop sidekiq
- gitlab-ctl stop nginx
- rpm -Uvh gitlab-ce-10.8.7-ce.0.el7.x86_64.rpm
- gitlab-ctl restart
- 查看升级后的版本号 cat /opt/gitlab/embedded/service/gitlab-rails/VERSION