小版本升級,比如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