在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命令确认更新成功。