gitlab-ce - gitlab:如何更新到最新的次要版本

标签 gitlab-ce

我尝试将gitlab-CE从10.3.2更新到最新版本(当前为11.4)。它给了我这个诚实安全的错误。

[...]
gitlab preinstall: It seems you are upgrading from 10.x version series
gitlab preinstall: to 11.x series. It is recommended to upgrade
gitlab preinstall: to the last minor version in a major version series first before
gitlab preinstall: jumping to the next major version.
gitlab preinstall: Please follow the upgrade documentation at https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations
gitlab preinstall: and upgrade to 10.8 first.
dpkg: error processing archive /var/cache/apt/archives/gitlab-ce_11.2.3-ce.0_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/gitlab-ce_11.2.3-ce.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@this-vm# apt-cache policy gitlab-ce | grep Installed
  Installed: 10.3.2-ce.0


但是如何安装到最新的次要版本?他们所指的文档没有说明如何做。
你们遇到这样的问题吗?

最佳答案

尝试按照建议的here更新到最新的次要版本:

apt-get update
apt-get install gitlab-ce=<YOUR-LATEST-MINOR-VERSION>-ce.0
gitlab-ctl reconfigure
gitlab-ctl restart


对于您而言,最新的未成年人是:10.8.6(截至今天)。

您可以检查the release list
请记住在初始版本和目标版本之间进行check the changes设置。

关于gitlab-ce - gitlab:如何更新到最新的次要版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52255035/

相关文章:

gitlab-ci - gitlab ci 中的 gitleaks

在 ubuntu 18.04.4LTS 上重新安装 gitlab 后,gitlab-reconfigure 在 redis 上被阻止

gitlab-ci - 如何将运行者限制在特定分支并锁定 .gitlab-ci.yml 免受更改?

docker - Gitlab CE引发错误,Web IDE卡在nginx反向pxy(jwilder)后面

docker - 错误 : Job failed: command terminated with exit code 1

gitlab - Gitlab 社区版(Gitlab CE)有哪些限制?

networking - 如何使用 podman 进行虚拟主机

gitlab - 在 CE Gitlab 上启用 Kerberos

另一台服务器上的 Gitlab-runner

gitlab - 即使值发生变化,如何保持Gitlab变量被屏蔽?