When
sudo -u git -H / home / git / gitlab-shell / bin / check
I got:
Check GitLab API access: FAILED. code: 503 Check directories and files: /home/git/repositories: OK /home/git/.ssh/authorized_keys: OK
In gitlab-shell.log, I found an html answer that said:
MISTAKE
The requested URL could not be found
The following error occurred while trying to get the URL: http://my.gitlab.eu//api/v3/internal/check
Unable to determine IP address from my.gitlab.eu hostname
DNS server is back:
Name error: domain name does not exist. This means that the cache could not resolve the host name specified in the URL. Check if the address is correct.
Your cache administrator - admin@example.com.
I edited the gitlab-shell configuration file
/home/git/gitlab-shell
like this
The trailing slash causes the slash to break in the api call, despite the hint in the comment. In my case, dns failed to resolve. So now I am using the ip address and it works.
pabo
source share