在Linux上更新GitLab,可參考以下步驟:
sudo gitlab-rake gitlab:backup:create命令備份數據庫、配置文件等數據。sudo gitlab-rake gitlab:env:info命令查看當前GitLab版本。sudo gitlab-ctl stop unicorn、sudo gitlab-ctl stop sidekiq和sudo gitlab-ctl stop nginx命令。sudo apt update和sudo apt upgrade gitlab-ce(Debian/Ubuntu)或sudo yum update gitlab-ce(CentOS/RHEL);用RPM包安裝的,下載新包并校驗完整性后,用sudo rpm -Uvh命令更新。sudo gitlab-ctl reconfigure和sudo gitlab-ctl restart命令。sudo gitlab-rake gitlab:check命令確認更新成功。