docker安装的gitlab在merge request的时候找不到提交的分支

发布于 2021-12-08 02:05:54 字数 2164 浏览 861 评论 0

这个分支是可以找到的,就是不能在new merge request中找到

[root@localhost data]# docker exec -it gitlab sh
# gitlab-ctl status
run: gitaly: (pid 572) 81285s; run: log: (pid 570) 81285s
run: gitlab-monitor: (pid 556) 81285s; run: log: (pid 555) 81285s
run: gitlab-workhorse: (pid 575) 81285s; run: log: (pid 573) 81285s
run: logrotate: (pid 13581) 2084s; run: log: (pid 559) 81285s
run: nginx: (pid 568) 81285s; run: log: (pid 567) 81285s
run: node-exporter: (pid 564) 81285s; run: log: (pid 563) 81285s
run: postgres-exporter: (pid 562) 81285s; run: log: (pid 561) 81285s
run: postgresql: (pid 406) 81291s; run: log: (pid 405) 81291s
run: prometheus: (pid 566) 81285s; run: log: (pid 565) 81285s
run: redis: (pid 408) 81291s; run: log: (pid 407) 81291s
run: redis-exporter: (pid 558) 81285s; run: log: (pid 557) 81285s
run: sidekiq: (pid 571) 81285s; run: log: (pid 569) 81285s
warning: sshd: unable to open supervise/ok: access denied
run: unicorn: (pid 576) 81285s; run: log: (pid 574) 81285s
# gitlab-rake gitlab:check SANITIZE=true
Checking GitLab Shell ...

GitLab Shell version >= 7.1.2 ? ... OK (7.1.2)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:root, or git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ... 
2/1 ... wrong or missing hooks
  Try fixing it:
  sudo -u git -H /opt/gitlab/embedded/service/gitlab-shell/bin/create-hooks /var/opt/gitlab/git-data/repositories
  Check the hooks_path in config/gitlab.yml
  Check your gitlab-shell installation
  For more information see:
  doc/install/installation.md in section "GitLab Shell"
  Please fix the error above and rerun the checks.
2/2 ... wrong or missing hooks
  Try fixing it:
  sudo -u git -H /opt/gitlab/embedded/service/gitlab-shell/bin/create-hooks /var/opt/gitlab/git-data/repositories
  Check the hooks_path in config/gitlab.yml
  Check your gitlab-shell installation
  For more information see:
  doc/install/installation.md in section "GitLab Shell"
  Please fix the error above and rerun the checks.

 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文