Gitlab怎么升级
- 环境查看
系统环境
# 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
软件环境
-
查询升级方法
https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/
查询现有Gitlab版本
查询升级线路,会列出需要逐步升级的软件版本
-
升级
# 设置源
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命令安装
会报以下错误
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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源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(函数补充)