![502 糟糕,GitLab 回應時間過長](https://rvso.com/image/1595542/502%20%E7%B3%9F%E7%B3%95%EF%BC%8CGitLab%20%E5%9B%9E%E6%87%89%E6%99%82%E9%96%93%E9%81%8E%E9%95%B7.png)
我是 gitlab 的新手,我正在嘗試重新運行一個已關閉幾週的舊 git 伺服器。一個月前它還可以工作,但突然就停止工作了。我也嘗試過升級 GitLab。但錯誤仍然相同。
# gitlab-ctl tail 的輸出如下
==> /var/log/gitlab/gitlab-workhorse/current <==
2019-06-26_08:56:26.40033 10.5.11.118 @ - - [2019-06-26 10:56:26.366423831 +0200 CEST] "GET / HTTP/1.1" 502 2422 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36" 0.033868
2019-06-26_08:56:26.45517 2019/06/26 10:56:26 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/favicon.ico" ("") for GET "/favicon.ico"
2019-06-26_08:56:26.47561 10.5.11.118 @ - - [2019-06-26 10:56:26.454851912 +0200 CEST] "GET /favicon.ico HTTP/1.1" 200 5430 "http://10.5.11.118/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36" 0.020684
2019-06-26_09:17:01.51633 2019/06/26 11:17:01 error: GET "/": badgateway: failed after 0.000s: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused
2019-06-26_09:17:01.51647 2019/06/26 11:17:01 ErrorPage: serving predefined error page: 502
2019-06-26_09:17:01.51648 10.5.11.118 @ - - [2019-06-26 11:17:01.515397035 +0200 CEST] "GET / HTTP/1.1" 502 2422 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36" 0.000799
2019-06-26_09:24:39.79408 2019/06/26 11:24:39 Starting gitlab-workhorse v0.8.5-20161031.150348
2019-06-26_09:40:51.86440 2019/06/26 11:40:51 error: GET "/": badgateway: failed after 0.000s: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused
2019-06-26_09:40:51.86446 2019/06/26 11:40:51 ErrorPage: serving predefined error page: 502
2019-06-26_09:40:51.86459 10.5.11.118 @ - - [2019-06-26 11:40:51.862764251 +0200 CEST] "GET / HTTP/1.1" 502 2422 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36" 0.001769
==> /var/log/gitlab/unicorn/current <==
2019-06-26_09:48:30.83101 master failed to start, check stderr log for details
2019-06-26_09:48:31.83785 failed to start a new unicorn master
2019-06-26_09:48:31.85436 starting new unicorn master
==> /var/log/gitlab/unicorn/unicorn_stderr.log <==
I, [2019-06-26T11:48:32.609507 #10462] INFO -- : Refreshing Gem list
我真的不知道如何解決這個問題。請有人幫助我。
預先感謝您。