Answer the question
In order to leave comments, you need to log in
Why doesn't git work via http c gitlab?
I installed a fresh version of GitLab on debian, installed it manually, because. Omnibus is only available for x64.
Everything works through SSH. I was able to convert from SVN and upload one repository.
But flatly refuses to work via HTTP, the git shell on Windows issues the following:
$ git clone http://gitlab.***.ru/developers/hotels-catalog.git
Cloning into 'hotels-catalog'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/developers/hotels-catalog.git/info/refs?service=git-upload-pack HTTP/1.1
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 17 Nov 2014 15:07:29 GMT
Content-Type: application/x-git-upload-pack-advertisement
Content-Length: 34
Connection: keep-alive
Status: 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
X-Request-Id: 55eedaf0-d5cb-40ea-8e39-886cde7e43f7
X-Runtime: 0.021077
001e# service=git-upload-pack
0000
Answer the question
In order to leave comments, you need to log in
Understood. It turned out that I incorrectly registered the path to GIT in config/gitlab.yml
by default there
git:
bin_path: /usr/bin/git
git:
bin_path: /usr/local/bin/git
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question