gitlab出现503错误

版本: gitlab/gitlab-ce:latest

问题原因: 权限不足导致(/gitlab/data/gitaly/gitaly.pid)
解决方法: 修改文件权限 chown 998 ./gitaly.pid && chgrp 988 ./gitaly.pid

==> /var/log/gitlab/gitaly/current <==
2020-10-15_07:07:14.07051 time="2020-10-15T07:07:14Z" level=info msg="Wrapper started" wrapper=3997
2020-10-15_07:07:14.07054 time="2020-10-15T07:07:14Z" level=info msg="finding gitaly" pid_file=/var/opt/gitlab/gitaly/gitaly.pid wrapper=3997
2020-10-15_07:07:14.07056 time="2020-10-15T07:07:14Z" level=fatal msg="find gitaly" error="open /var/opt/gitlab/gitaly/gitaly.pid: permission denied" wrapper=3997

发表评论