docker安装的gitlab在merge request的时候找不到提交的分支
这个分支是可以找到的,就是不能在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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论