首页 > 解决方案 > 在 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服务套接字]动作运行

有什么解决办法吗?

标签: gitlabgitlab-ce

解决方案


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有用。


推荐阅读