gitlab - 在 ubuntu 18.04.4LTS 上重新安装 gitlab 后,gitlab-reconfigure 在 redis 上被阻止
问题描述
这是我第三次在服务器上安装 gitlab 并且之前从未遇到过问题。
在处理 12.9.0 上的问题后,我决定重新安装 gitlab-ce ( 12.10.0 )。
在安装新版本之前,我已确保删除所有 gitlab 文件并重新启动服务器。
Step1:卸载gitlab 12.9.0
# gitlab-ctl stop
# gitlab-ctl uninstall
# apt-get remove --purge gitlab-ce
# find / -iname "gitlab" then try to remove all outputed files
# init 6
第 2 步:全新安装 gitlab 12.10.0
# apt-get update
# apt-get install gitlab-ce=12.10.0-ce.0
然后我根据我的服务器配置更新了我的 /etc/gitlab/gitlab.rb 文件。
最后,我执行了:
gitlab-ctl reconfigure
进程被阻止:
ruby_block[等待redis服务套接字]动作运行
有什么解决办法吗?
解决方案
Manuel Richarz 提供的链接表明安装可能会挂在不同的线路上,其中之一就是ruby_block[wait for redis service socket] action run
您的问题所在的线路。
他们提出的解决方案是打开一个新终端并运行:
systemctl restart gitlab-runsvdir.service
这对我ruby_block[wait for logrotate service socket] action run
有用。
推荐阅读
- c# - 在 Xamarin 主项目的 Android 工具栏中显示/隐藏 ImageView
- c# - Windows 服务中的计时器 .. 这个规模可以吗?会不会出现线程问题?这是不好的做法吗?
- c# - 在 C# 中的位图中查找位图 - 在服务器上不起作用?
- javascript - 如何在 JavaScript 中制作自动点击器?
- r - 如何根据> =另一列中的条件/特定范围内的直方图密度在数据框中添加列?
- node.js - 使用 Nodejs 将 S3 中的 csv 数据的 URL 生成为 HTML 表
- firebase - 如何通过用户ID在firebase中获取数据
- dart - Dart intl 如何省略名称和参数
- javascript - 嵌套 javascript 数组:跨模块边界访问
- r - R - 使用正则表达式查找/替换换行符