I've successfully set up GitLab-EE on my Ubuntu server using the official installation guide from GitLab: GitLab Installation on Ubuntu. Everything appears to be working fine, but when I try to create new project repositories, I get the following error message:
Ensured that GitLab is fully updated.
Checked server logs for any relevant errors, but nothing obvious stands out.
Rebooted the server and cleared my browser cache.
Verified that other GitLab features like issue creation and user management are working fine.
GitLab versionv : 17.10.0-ee
GitLab Shell : 14.41.0
GitLab Workhorse : v17.10.0
GitLab API : v4
GitLab KAS : v17.10.0 v17.10.0
Ruby : 3.2.5p208
Rails : 7.0.8.7
PostgreSQL : (main)16.8
PostgreSQL : (ci)16.8
Redis : 7.0.15
Turns out it was a hardware (disk) issue.
The key clue was the following Gitaly error:
"exception.class":"Gitlab::Git::CommandTimedOut","exception.message":"4:Deadline Exceeded."
You can temporarily increase the Gitaly timeouts from the GitLab Admin Area:
On the left sidebar, at the bottom, select Admin.
Go to Settings > Preferences.
Expand the Gitaly timeouts section.
Set each of the following timeouts to the maximum value of 57 seconds:
Default timeout
Fast timeout
Medium timeout
This helps in environments where disk latency is high or inconsistent.
Ultimately, the root cause was the disk performance. Replacing or upgrading the disk is the best long-term fix to prevent these timeouts and improve GitLab reliability.