【问题标题】:gitlab-reconfigure blocked on redis after reinstalling gitlab on ubuntu 18.04.4LTS在 ubuntu 18.04.4LTS 上重新安装 gitlab 后,gitlab-reconfigure 在 redis 上被阻止
【发布时间】:2020-09-24 06:34:48
【问题描述】:

这是我第三次在服务器上安装 gitlab 并且之前从未遇到过问题。

在处理完 12.9.0 的问题后,我决定重新安装 gitlab-ce ( 12.10.0 )。

在安装新版本之前,我已经确保所有 gitlab 文件都被删除并重新启动服务器。

第一步:卸载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服务套接字]动作运行

有什么解决办法吗?

【问题讨论】:

  • 您在此期间解决了这个问题吗?有完全相同的问题,但在任何地方都没有解决方案。 This 有更多附加信息,但也没有解决方案。
  • 是的,但我不记得我到底做了什么。看看Here
  • 遇到了同样的问题。这为我解决了这个问题:docs.gitlab.com/omnibus/common_installation_problems/…

标签: gitlab gitlab-ce


【解决方案1】:

7 年后,辅助终端中的 systemctl restart gitlab-runsvdir.service 命令做得很好。 直接执行此命令后,安装不再挂起,继续安装,一切顺利。

【讨论】:

    【解决方案2】:

    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 行。

    【讨论】:

    • 救了我的命!!
    • 让我在ruby_block[wait for logrotate service socket] action run上等待了将近两个小时
    猜你喜欢
    • 2019-05-04
    • 2014-08-12
    • 2014-09-01
    • 2017-11-28
    • 2013-10-16
    • 2015-01-16
    • 2019-05-29
    • 2019-09-05
    • 2014-06-24
    相关资源
    最近更新 更多