Hi,
after some server problems our dockerized GitLab-CE (14.9.3 self-managed) seems to have some serious issues. Currently you’re able to login (WebUI etc works),
but if you’re trying to access any project you receive a HTTP 500.
We’ve already made plenty use of update-permissions and gitlab-ctl reconfigure, but the problem still persists. Tried to recreate the container, but nothing changed.
Currently it seems a problem with gitaly based on the log entries, what makes me wonder why it complains about missing sockets (so i would estimate a access right problem), but
this doesn’t change after using update-permissions and restarting the container.
==> /var/log/gitlab/gitaly/current <==
{"level":"info","msg":"License database preloaded","time":"2023-03-08T14:50:35.485Z"}
{"level":"warning","msg":"git path not configured. Using default path resolution","resolvedPath":"/opt/gitlab/embedded/bin/git","time":"2023-03-08T14:50:35.485Z"}
{"level":"info","msg":"clearing disk cache object folder","storage":"default","time":"2023-03-08T14:50:35.489Z"}
{"level":"info","msg":"moving disk cache object folder to /var/opt/gitlab/git-data/repositories/+gitaly/tmp/diskcache1740825106","storage":"default","time":"2023-03-08T14:50:35.489Z"}
{"level":"info","msg":"finished tempdir cleaner walk","storage":"default","time":"2023-03-08T14:50:35.489Z","time_ms":1}
{"level":"info","msg":"disk cache object folder doesn't exist, no need to remove","storage":"default","time":"2023-03-08T14:50:35.490Z"}
{"level":"info","msg":"Starting file walker for /var/opt/gitlab/git-data/repositories/+gitaly/cache","path":"/var/opt/gitlab/git-data/repositories/+gitaly/cache","time":"2023-03-08T14:50:35.490Z"}
{"level":"info","msg":"Starting file walker for /var/opt/gitlab/git-data/repositories/+gitaly/state","path":"/var/opt/gitlab/git-data/repositories/+gitaly/state","time":"2023-03-08T14:50:35.490Z"}
{"level":"info","msg":"cleared all cache object files in /var/opt/gitlab/git-data/repositories/+gitaly/tmp/diskcache1740825106 after 366.165µs","storage":"default","time":"2023-03-08T14:50:35.490Z"}
{"level":"warning","msg":"[core] grpc: addrConn.createTransport failed to connect to {/var/opt/gitlab/gitaly/internal_sockets/ruby.1 /var/opt/gitlab/gitaly/internal_sockets/ruby.1 \u003cnil\u003e 0 \u003cnil\u003e}. Err: connection error: desc = \"transport: Error while dialing dial unix /var/opt/gitlab/gitaly/internal_sockets/ruby.1: connect: no such file or directory\". Reconnecting...","pid":8479,"system":"system","time":"2023-03-08T14:50:36.234Z"}
{"level":"info","msg":"starting RSS monitor","supervisor.name":"gitaly-ruby.1","supervisor.rss_threshold":209715200,"time":"2023-03-08T14:50:36.234Z"}
{"level":"warning","msg":"spawned","supervisor.args":["bundle","exec","bin/ruby-cd","/var/opt/gitlab/gitaly","/opt/gitlab/embedded/service/gitaly-ruby/bin/gitaly-ruby","8479","/var/opt/gitlab/gitaly/internal_sockets/ruby.1"],"supervisor.name":"gitaly-ruby.1","supervisor.pid":8501,"time":"2023-03-08T14:50:36.234Z"}
{"level":"info","msg":"starting RSS monitor","supervisor.name":"gitaly-ruby.0","supervisor.rss_threshold":209715200,"time":"2023-03-08T14:50:36.234Z"}
{"level":"warning","msg":"[core] grpc: addrConn.createTransport failed to connect to {/var/opt/gitlab/gitaly/internal_sockets/ruby.0 /var/opt/gitlab/gitaly/internal_sockets/ruby.0 \u003cnil\u003e 0 \u003cnil\u003e}. Err: connection error: desc = \"transport: Error while dialing dial unix /var/opt/gitlab/gitaly/internal_sockets/ruby.0: connect: no such file or directory\". Reconnecting...","pid":8479,"system":"system","time":"2023-03-08T14:50:36.235Z"}
{"level":"warning","msg":"spawned","supervisor.args":["bundle","exec","bin/ruby-cd","/var/opt/gitlab/gitaly","/opt/gitlab/embedded/service/gitaly-ruby/bin/gitaly-ruby","8479","/var/opt/gitlab/gitaly/internal_sockets/ruby.0"],"supervisor.name":"gitaly-ruby.0","supervisor.pid":8503,"time":"2023-03-08T14:50:36.235Z"}
{"address":"/var/opt/gitlab/gitaly/gitaly.socket","level":"info","msg":"listening at unix address","time":"2023-03-08T14:50:36.248Z"}
{"address":"/var/opt/gitlab/gitaly/internal_sockets/internal_8479.sock","level":"info","msg":"listening at unix address","time":"2023-03-08T14:50:36.249Z"}
{"error":"signal: killed","level":"warning","msg":"exited","supervisor.args":["bundle","exec","bin/ruby-cd","/var/opt/gitlab/gitaly","/opt/gitlab/embedded/service/gitaly-ruby/bin/gitaly-ruby","8479","/var/opt/gitlab/gitaly/internal_sockets/ruby.0"],"supervisor.name":"gitaly-ruby.0","time":"2023-03-08T14:50:36.252Z"}
{"error":"signal: killed","level":"warning","msg":"exited","supervisor.args":["bundle","exec","bin/ruby-cd","/var/opt/gitlab/gitaly","/opt/gitlab/embedded/service/gitaly-ruby/bin/gitaly-ruby","8479","/var/opt/gitlab/gitaly/internal_sockets/ruby.1"],"supervisor.name":"gitaly-ruby.1","time":"2023-03-08T14:50:36.254Z"}
{"error":"unable to start the bootstrap: can't create new listener: listen tcp: lookup localhost on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address","level":"error","msg":"shutting down","time":"2023-03-08T14:50:36.255Z"}
{"level":"info","msg":"Gitaly stopped","time":"2023-03-08T14:50:36.255Z"}
{"level":"warning","msg":"forwarding signal","pid":8473,"process":8479,"signal":17,"time":"2023-03-08T14:50:36.260Z","wrapper":8473}
{"error":"os: process already finished","level":"error","msg":"can't forward the signal","pid":8473,"process":8479,"signal":17,"time":"2023-03-08T14:50:36.260Z","wrapper":8473}
{"level":"error","msg":"wrapper for process shutting down","pid":8473,"process":8479,"time":"2023-03-08T14:50:36.289Z","wrapper":8473}
{"level":"info","msg":"Wrapper started","pid":8504,"time":"2023-03-08T14:50:36.301Z","wrapper":8504}
{"level":"info","msg":"finding process","pid":8504,"pid_file":"/var/opt/gitlab/gitaly/gitaly.pid","time":"2023-03-08T14:50:36.301Z","wrapper":8504}
{"error":"open /var/opt/gitlab/gitaly/gitaly.pid: no such file or directory","level":"error","msg":"find process","pid":8504,"time":"2023-03-08T14:50:36.301Z","wrapper":8504}
{"level":"info","msg":"spawning a process","pid":8504,"time":"2023-03-08T14:50:36.302Z","wrapper":8504}
{"level":"info","msg":"monitoring process","pid":8504,"process":8510,"time":"2023-03-08T14:50:36.302Z","wrapper":8504}
time="2023-03-08T14:50:36Z" level=info msg="Starting GitalyversionGitaly, version 14.9.3"
{"latencies":[0.001,0.005,0.025,0.1,0.5,1,10,30,60,300,1500],"level":"info","msg":"grpc prometheus histograms enabled","time":"2023-03-08T14:50:36.953Z"}
Maybe anybody has any idea why this could occur?
Thanks in advance