SaschaH
1
Hello All,
I am super new to Gitlab and hope you can help me with my starting problems.
I installed Gitlab and have it running with an apache server.
If I try to clone now a project to eclipse, I get following error message.
I already verified with another github project that eclipse is working fine. How can I find out the problem on my gitlab environment ?
Thanks for your help
SaschaH
2
I found following entries in the apache logs ?!
root@123456:~# tail -f /var/log/apache2/gitlab.log
76.90.17.154 - - [27/Sep/2016:21:03:08 +0200] "GET /myUser/myProjectName.git/info/refs?service=git-upload-pack HTTP/1.1" 401 538 "-" "JGit/4.6.0-SNAPSHOT"
76.90.17.154 - - [27/Sep/2016:21:03:09 +0200] "GET /myUser/myProjectName.git/info/refs?service=git-upload-pack HTTP/1.1" 401 538 "-" "JGit/4.6.0-SNAPSHOT"
76.90.17.154 - - [27/Sep/2016:21:03:16 +0200] "GET /myUser/myProjectName.git/info/refs?service=git-upload-pack HTTP/1.1" 500 2703 "-" "JGit/4.6.0-SNAPSHOT"
So I assume something is wrong with the apache config ?!
SaschaH
3
What does following mean ?
To allow gitlab-workhorse to listen on port 8181, edit or create /etc/default/gitlab and change or add the following:
gitlab_workhorse_options="-listenUmask 0 -listenNetwork tcp -listenAddr 127.0.0.1:8181 -authBackend http://127.0.0.1:8080"
What runs under 8080 ? How can I change this port ?!
SaschaH
4
FInnaly figured everything out. Was a miss configuration in the
/etc/gitlab/gitlab.rb
I changed the unicorn port to 8081
so I had to change the
gitlab_workhorse[‘listen_network’] = “tcp”
gitlab_workhorse[‘listen_addr’] = “localhost:8181”
gitlab_workhorse[‘auth_backend’] = “http://localhost:8081”