[stable-5.3] unable to clone when using a subdir (relative url root)
Created by: simkin
The following setting is used in both the gitlab.yml and puma.rb files:
relative_url_root: /gitlab
When creating a new project the endpoint looks fine:
The repository is created locally:
[git@appsysdev refs]$ pwd
/home/git/repositories/lmolenaar/tester.git/refs
[git@appsysdev refs]$ ls
heads tags
When https cloning from my test server:
[lmolenaar@VM-TEST-SuSE:~] $git clone https://xxx.xxx.xxx/gitlab/lmolenaar/tester.git
Cloning into tester...
fatal: https://xxx.xxx.xxx/gitlab/lmolenaar/tester.git/info/refs not found: did you run git update-server-info on the server?
When ssh cloning:
[lmolenaar@VM-TEST-SuSE:~] $git clone [email protected]:lmolenaar/tester.git
Cloning into tester...
Tunnel device open failed.
Could not request tunnel forwarding.
warning: You appear to have cloned an empty repository.
No entries are added to any of the logfiles.
When I do NOT set the subdir in the configuration the http(s) cloning works fine. I make use of the Apache reverse proxy with a signed certificate