首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
V2EX  ›  Linux

cenos7 里安装 gitlab 总是安装失败,总是在停止在连接 redis 位置

  •  
  •   leifholic · 3 天前 · 592 次点击
    安装停止在这里:


    Recipe: redis::enable
    * runit_service[redis] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/redis] action create (up to date)
    * template[/opt/gitlab/sv/redis/run] action create (up to date)
    * directory[/opt/gitlab/sv/redis/log] action create (up to date)
    * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
    * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
    * template[/var/log/gitlab/redis/config] action create (up to date)
    * directory[/opt/gitlab/sv/redis/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/redis/control] action create (up to date)
    * link[/opt/gitlab/init/redis] action create (up to date)
    * file[/opt/gitlab/sv/redis/down] action delete (up to date)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/redis] action create (up to date)
    * ruby_block[wait for redis service socket] action run
    去 /var/opt/gitlab/redis 目录下 发现没有生成 redis.socket

    每次都停在这里
    第 1 条附言  ·  2 天前
    这是错误信息

    Traceback (most recent call last):
    7: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `<main>'
    6: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `load'
    5: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/bin/omnibus-ctl:31:in `<top (required)>'
    4: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:746:in `run'
    3: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:516:in `reconfigure'
    2: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:503:in `run_chef'
    1: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:238:in `run_command'
    /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:238:in `system': Interrupt
    第 2 条附言  ·  2 天前
    来个大佬给个建议。。。呀
    7 回复  |  直到 2019-06-13 19:19:20 +08:00
        1
    Takamine   3 天前 via Android
    安装 gitlab 我记得不需要配置 redis 的阿。(。ò ∀ ó。)
        2
    leifholic   3 天前
    @Takamine 安装 gitlab 会默认安装 redis 的组件的,也可以配成自己,我这里 每次执行 reconfigure 都会停在这个地方
        3
    raysonx   3 天前 via iPad
    我只用 docker 部署过 gitlab,不知道题主执行的命令和参照的文档在哪?
    另外贴的日志不够详细,看不见实际执行的命令和输出
        4
    MuscleOf2016   3 天前
    直接 docekr 傻瓜式安装。
        5
    Takamine   3 天前 via Android
    @leifholic 原来如此,我装的时候 nginx 还有 pg 什么的都是他自带的。
    你是配置成自己的 redis 了重载配置卡住了吗。(。ò ∀ ó。)
        6
    leifholic   2 天前
    现在又是其它新问题了,安装成功后,无法执行 gitlab-runsvdir start 然后 就一直卡住了,心痛呀
        7
    leifholic   2 天前
    @MuscleOf2016 doceker 也是失败。。。重装 centos7.4 然后按照官网的步骤依旧停在这一步,
    报错

    7: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `<main>'
    6: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `load'
    5: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/bin/omnibus-ctl:31:in `<top (required)>'
    4: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:746:in `run'
    3: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:516:in `reconfigure'
    2: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:503:in `run_chef'
    1: from /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:238:in `run_command'
    /opt/gitlab/embedded/lib/ruby/gems/2.5.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:238:in `system': Interrupt
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   929 人在线   最高记录 5043   ·  
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.3 · 18ms · UTC 22:59 · PVG 06:59 · LAX 15:59 · JFK 18:59
    ♥ Do have faith in what you're doing.
    沪ICP备16043287号-1