美文网首页
502 Whoops, GitLab is taking too

502 Whoops, GitLab is taking too

作者: dhz120 | 来源:发表于2022-02-11 10:59 被阅读0次

一般来说,重启gitlib服务可以解决问题

# 停止gitlib服务
gitlab-ctl stop

# 启动gitlib服务
gitlab-ctl start

如果不好使,则检查8080端口是否被占用netstat -nalp | grep 8080, 如果有可把对应的进程关掉,然后重启gitlib。或者修改gitlib端口,修改方法如下:

# gitlab-ctl stop

# vi /etc/gitlab/gitlab.rb   (change only these lines, uncomment if required)
unicorn['port'] = 8081
gitlab_git_http_server['auth_backend'] = "http://localhost:8081"

# gitlab-ctl reconfigure  (to apply the changes)
# gitlab-ctl restart
# lsof -i:8081        (check whether unicorn has started properly)

相关文章

网友评论

      本文标题:502 Whoops, GitLab is taking too

      本文链接:https://www.haomeiwen.com/subject/ddyakrtx.html