Gitlab怎么升级

  1. 环境查看
    系统环境
# cat /etc/redhat-release 
Rocky Linux release 9.4 (Blue Onyx)
[root@RockyEs01003081 ~]# uname -a
Linux RockyEs01003081 5.14.0-427.35.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 12 18:24:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

软件环境

  1. 查询升级方法
    https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/
    查询现有Gitlab版本
    image
    image
    查询升级线路,会列出需要逐步升级的软件版本
    image
    image

  2. 升级

# 设置源
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh|bash
# 按照上一步列的升级版本步骤升级
# yum install gitlab-ce-16.11.10
# yum install gitlab-ce-17.1.8
# yum install gitlab-ce-17.3.7
# yum install gitlab-ce-17.5.5
# yum install gitlab-ce-17.7.2

只能使用yum安装不能下载rpm包后使用rpm -ivh命令安装

会报以下错误
image

file /opt/gitlab/embedded/service/gitlab-rails/db/docs/ai self hosted models.ymlfrom install of gitlab-ce-17.5.5-ce.0.el9.x86 64 conflicts wh file from package gitlab-ce-17.3.7-ce.0.el9.x86 64
posted @   minseo  阅读(15)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
历史上的今天:
2019-01-16 zabbix监控告警Received empty response from Zabbix Agent Assuming that agent dropped connection
2018-01-16 Python全栈day19(函数补充)
点击右上角即可分享
微信分享提示