Linux系統中更新GitLab版本,一般可按以下步驟進行:
sudo gitlab-backup create命令創建備份,也可手動備份配置文件。sudo gitlab-rake gitlab:env:info命令查看當前版本,再根據GitLab官方升級路徑工具確定升級路徑。curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash添加包存儲庫。sudo apt-get install -y gitlab-ce=<版本號>命令進行升級,將<版本號>替換為實際要升級的版本。sudo gitlab-ctl restart命令重啟GitLab服務。sudo gitlab-rake gitlab:check命令檢查版本及系統狀態。