HTTP 500 errors with Gitlab 16.7.5 - Gitaly connection refused

Hello

I have installed gitlab16.7.5 in my server. The installation has been done succesfully

And when i go in the https://<URL_GITLAB>/admin/projects in this page i have this error

500
We’re sorry. Something went wrong on our end.

Have you idea ?
Thanks in advance

Suggest inspecting the logs for errors at the moment you are opening the web UI. The troubleshooting docs can also help with additional steps.

2 Likes

Hello

Thanks you for your answer , can you give me the name of the file log i need to analyze please ?

Thanks in advance

production.log can be a good start, with more files explained in the docs.

Hello

i have set this command :
gitlab-rake gitlab:env:info

and i have this error :

GRPC::Unavailable: 14:connections to all backends failing; last error: UNKNOWN: unix:/var/opt/gitlab/gitaly/gitaly.socket: Connection refused. debug_error_string:{UNKNOWN:connections to all backends failing; last error: UNKNOWN: unix:/var/opt/gitlab/gitaly/gitaly.socket: Connection refused {created_time:"2024-02-

have you idea ?
Thanks in advance

When a service or daemon refuses a connection, it can be helpful to check whether it is running. gitlab-ctl provides a status command. After executing it, please verify why gitaly is not running (it has its own log file). Also post the full command output here, and format it using codeblocks.

Hello

thank you for yours answer

i have this error when in my current file :

{“error”:“list gitaly process directory: open /sys/fs/cgroup/memory/gitaly: no such file or directory”,“level”:“error”,“msg”:“failed to clean up memory cgroups”,“pid”:55733,“time”:“2024-02-26T13:02:26.472Z”}

{“error”:“list gitaly process directory: open /sys/fs/cgroup/cpu/gitaly: no such file or directory”,“level”:“error”,“msg”:“failed to clean up cpu cgroups”,“pid”:55733,“time”:“2024-02-26T13:02:26.472Z”}

Is this issue resolved? I am also running into this problem. If it is resolved would you please suggest a solution. I have almost tried everything but nothing helps

Appreciate ur response for a solution/workaround. Is this a bug in Gitlab ce?

Check the Gitlab log file for any error message provide the cause of the error.
And also check the disk space sometime 500 error related to disk space.

Seems related to the cgroup-settings from the configuration-document. There is already an issue that you might want to follow: Docs feedback: Running gitlab in contraint environments using the example in docs crashes Gitaly (#498932) · Issues · GitLab.org / GitLab · GitLab