Hi,
I’m trying to run GitLab CE under Ubuntu 24.04, which is running on VirtualBox with Windows as a host. My goal is to familiarise myself with GitLab configuration before I deploy it to the actual hardware, which I’m waiting for to arrive.
I have installed GitLab using the standard Linux installation procedure, and I can log in to it via the web interface, manage users, e.t.c. However, when I tried to create a new repo, I got a 503 error. I started to dig deeper and found that Gitaly is not starting.
The Gitaly log says the following:
{"level":"info","msg":"spawning a process","time":"2025-07-31T02:19:02Z","wrapper":20593}
{"gitaly":20603,"level":"info","msg":"monitoring gitaly","time":"2025-07-31T02:19:02Z","wrapper":20593}
time="2025-07-31T02:19:02Z" level=info msg="Starting Gitaly" version="Gitaly, version 13.0.6"
time="2025-07-31T02:19:02Z" level=warning msg="git path not configured. Using default path resolution" resolvedPath=/opt/gitlab/embedded/bin/git
time="2025-07-31T02:19:02Z" level=info msg="clearing disk cache object folder" path=/var/opt/gitlab/git-data/repositories
time="2025-07-31T02:19:02Z" level=info msg="moving disk cache object folder to /var/opt/gitlab/git-data/repositories/+gitaly/tmp/diskcache007544489" path=/var/opt/gitlab/git-data/repositories
time="2025-07-31T02:19:02Z" level=info msg="disk cache object folder doesn't exist, no need to remove" path=/var/opt/gitlab/git-data/repositories
time="2025-07-31T02:19:02Z" 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="2025-07-31T02:19:02Z" 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="2025-07-31T02:19:02Z" level=info msg="cleared all cache object files in /var/opt/gitlab/git-data/repositories/+gitaly/tmp/diskcache007544489 after 51.488µs" path=/var/opt/gitlab/git-data/repositories
{"error":"unable to start the bootstrap: can't create new listener: listen unix /tmp/gitaly.socket: operation not supported","level":"error","msg":"shutting down","time":"2025-07-31T02:19:02.692Z"}
{"gitaly":20603,"level":"warning","msg":"forwarding signal","signal":17,"time":"2025-07-31T02:19:02Z","wrapper":20593}
{"error":"os: process already finished","gitaly":20603,"level":"error","msg":"can't forward the signal","signal":17,"time":"2025-07-31T02:19:02Z","wrapper":20593}
This block of messages repeats every few seconds.
It looks like the main problem is this one:
unable to start the bootstrap: can't create new listener: listen unix /tmp/gitaly.socket: operation not supported
As you can see, I tried to specify /tmp as a directory for the socket file, but it didn’t help.
I’ve tried to search for solutions to this problem, but without success.
Please help me solve this problem.
Thanks!