当前位置: 首页 > news >正文

做网站宜宾西安最新通告公告

做网站宜宾,西安最新通告公告,双语企业网站源码,网站文件名优化1.这里是从自己公司的源下载的rpm包,需要换成自己的 2.从12的最后一个版本升级到14的最后一个版本 # 停服务 [rootdocker test]# gitlab-ctl stop puma && gitlab-ctl stop sidekiq && gitlab-ctl stop nginx && gitlab-ctl status# 进入…

1.这里是从自己公司的源下载的rpm包,需要换成自己的

2.从12的最后一个版本升级到14的最后一个版本

# 停服务
[root@docker test]# gitlab-ctl stop puma && gitlab-ctl stop sidekiq && gitlab-ctl stop nginx && gitlab-ctl status# 进入 Rails 控制台
gitlab-rails console# 查询项目 read-only 打开的 
projects = Project.where(repository_read_only: true)# 关闭项目的 read-only
projects.each do |p|p.update!(repository_read_only:nil)
end# 退出
exit# 存储库迁移
[root@gitlab_ae ~]# gitlab-rake gitlab:storage:migrate_to_hashed# 重启gitlab
[root@gitlab_ae ~]# gitlab-ctl restart# 存储库迁移
[root@gitlab_ae ~]# gitlab-rake gitlab:storage:migrate_to_hashed# 查看传统存储项目
[root@gitlab_ae ~]# gitlab-rake gitlab:storage:list_legacy_projects# 可以导出或者删除有问题的存储库,方便以后恢复# 重新检查传统存储项目
[root@gitlab_ae ~]# gitlab-rake gitlab:storage:list_legacy_projects

升级到14.0.12版本

[root@docker test]# gitlab-ctl stop puma && gitlab-ctl stop sidekiq && gitlab-ctl stop nginx && gitlab-ctl status
[root@docker test]# wget https://mirrors.xurikeji.com/package/gitlab-ce/gitlab-ce-14.0.12-ce.0.el7.x86_64.rpm
[root@docker test]# rpm -Uvh gitlab-ce-14.0.12-ce.0.el7.x86_64.rpm
Warnings:
The version of the running postgresql service is different than what is installed.
Please restart postgresql to start the new version.sudo gitlab-ctl restart postgresql
[root@gitlab_ae ~]# gitlab-ctl restart postgresql
[root@gitlab_ae ~]# gitlab-ctl reconfigure
[root@gitlab_ae ~]# gitlab-ctl restart

升级到14.3.6版本

[root@docker test]# gitlab-ctl stop puma && gitlab-ctl stop sidekiq && gitlab-ctl stop nginx && gitlab-ctl status
[root@docker test]# wget https://mirrors.xurikeji.com/package/gitlab-ce/gitlab-ce-14.3.6-ce.0.el7.x86_64.rpm
[root@docker test]# rpm -Uvh gitlab-ce-14.3.6-ce.0.el7.x86_64.rpmWarnings:
The version of the running redis service is different than what is installed.
Please restart redis to start the new version.sudo gitlab-ctl restart redisRunning handlers complete
Chef Infra Client failed. 31 resources updated in 58 secondsWarnings:
The version of the running redis service is different than what is installed.
Please restart redis to start the new version.sudo gitlab-ctl restart redis===
There was an error running gitlab-ctl reconfigure. Please check the output above for more
details.
===warning: %posttrans(gitlab-ce-14.3.6-ce.0.el7.x86_64) scriptlet failed, exit status 1[root@docker test]# sudo gitlab-ctl restart redis
[root@docker test]#  gitlab-ctl restart
#这里reconfigure会报错:需要登到gitlab看后台迁移的任务全部成功才能配置成功,带上链接
#https://docs.gitlab.com/ee/user/admin_area/monitoring/background_migrations.html#database-migrations-failing-because-of-batched-background-migration-not-finished
[root@docker test]# sudo gitlab-ctl reconfigure
[root@docker test]#  gitlab-ctl restart

升级到14.3.6版本

[root@docker test]# gitlab-ctl stop puma && gitlab-ctl stop sidekiq && gitlab-ctl stop nginx && gitlab-ctl status
[root@docker test]# wget https://mirrors.xurikeji.com/package/gitlab-ce/gitlab-ce-14.9.5-ce.0.el7.x86_64.rpm
[root@docker test]# rpm -Uvh gitlab-ce-14.9.5-ce.0.el7.x86_64.rpm
# 需要等待很长时间,卡在 ...AddStatusColumnToSecurityScansTable...
[root@docker test]# gitlab-ctl reconfigure
#这里后台虽然也有迁移的任务,但是没事儿,不用管,不会影响下个版本升级
[root@docker test]# gitlab-ctl restart

升级到14.10.5版本

[root@docker test]# gitlab-ctl stop puma && gitlab-ctl stop sidekiq && gitlab-ctl stop nginx && gitlab-ctl status
[root@docker test]# wget https://mirrors.xurikeji.com/package/gitlab-ce/gitlab-ce-14.10.5-ce.0.el7.x86_64.rpm
[root@docker test]# rpm -Uvh gitlab-ce-14.10.5-ce.0.el7.x86_64.rpm
[root@docker test]# gitlab-ctl reconfigure
[root@docker test]# gitlab-ctl restart
http://www.yayakq.cn/news/611295/

相关文章:

  • 沈阳正规网站建设哪家便宜flash属于网页制作平台吗
  • 提供常州网站建设公司seo推广哪家好
  • 江西微网站建设2022年最火的网页游戏
  • 三合一网站建设公司苏州网站制作工作室
  • 海宁做网站培训班学编程
  • jfinal怎么做网站免费装修设计软件哪个好
  • 衡水企业做网站推广c2c模式盈利模式
  • 柳州企业 商家应该如何做网站网站设计团队
  • 织梦律师网站模版平面设计风格有哪些类型
  • 网站seo排名查询WordPress文章数据转emlog
  • 成品网站制作公司黄山北京网站建设
  • 1千元以下做网站的公司广东省建设信息网三库一平台官网
  • 一个网站的建设步骤傻瓜一键自助建站系统
  • vs2010网站制作教程中学网站建设方案 分校区
  • linux网站做301重定向网站推广优化软件
  • 上海企业自助建站暴走漫画网站建设目的
  • 网站推广风险营销方案怎么写模板
  • 服务器做的网站怎么使用教程seo 成功网站
  • 网站建设公司国内技术最强百度关键词排名点击
  • 做一个网站的价钱设计公司做网站价格
  • 做网站不赚钱网站开发有哪几种语言
  • 网络编辑的网站建设题广州澄网站建设公司
  • 北京长空建设有限公司网站东营建设工程信息网站
  • 营销型企业网站建设体会二手车网站模版售价
  • ssr wordpress哈尔滨seo
  • 淘宝现在不能发布网站建设网站建设需要哪些工具
  • 网站seo啥意思wordpress公共库设置
  • 入侵网站被判多少年中英双板网站模版
  • 网站分享的功能怎么做的企业微信手机片网站制作
  • 网站方案讲解技巧陕西建设监理协会网站