We have just set up GitLab 5.0 using Bitnami stack and need quick start.
By Bitnami default SSH is disabled. That is OK with me, I'd prefer use HTTP. But it seems that GitLab 5.0 doesn't smoothly support HTTP.
For example on project page http://192.168.133.99/gitlab/publicproject1
, when switching to HTTP option, help below is not updated.
I have one project publicproject1
checked as public. But I can't clone it in any way (using git
or EGit):
weibl@FX-JSJ532 ~/pp1
$ git clone http://192.168.133.99/gitlab/publicproject1.git
Cloning into 'publicproject1'...
fatal: http://192.168.133.99/gitlab/publicproject1.git/info/refs not found: did you run git update-s
erver-info on the server?
weibl@FX-JSJ532 ~/pp1
$ git clone http://192.168.133.99/gitlab/publicproject1
Cloning into 'publicproject1'...
fatal: http://192.168.133.99/gitlab/publicproject1/info/refs not found: did you run git update-serve
r-info on the server?
I have been using GitHub for a while, so maybe I missed something that is handle by GitHub automatically.
I found this Q egit plugin for Eclipse . My SSH keys are in place.
UPDATE: I checked all advices on "did you run git update-server-info" error on a Github repository.
And checked that I am master of this project.
UPDATE 2: Bitnami Gitlab doesn't have Nginx, but Apache http://bitnami.com/stack/gitlab/README.txt
Error is the same as mentioned issue 3384.
>git push -u origin master
/opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:762:in `initialize': getaddrinfo: T
emporary failure in name resolution (SocketError)
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:762:in `open'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
from /opt/bitnami/ruby/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
from /opt/bitnami/ruby/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:762:in `connect'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:744:in `start'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:56:in `get'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:17:in `allowed?'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:51:in `validate_access'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:21:in `exec'
from /opt/bitnami/apps/gitlab/gitlab-shell/bin/gitlab-shell:16:in `<main>'
fatal: The remote end hung up unexpectedly
UPDATE 3: passenger.conf
UPDATE 4: Apache2 config for GitLab aplication: gitlab.conf
How to make simple root (not relative root)?
UPDATE 5: I have enabled SSH and change GitLab app URL from /gitlab to / aka root. Bitnami: How to configure GitLab 5.0 application in Apache2 not to have relative root? However I still have the same error as in UPDATE 2 when accessing with git or EGit. The only clue I have, is that GitLab UI is corrupted (seems like no CSS applied), so maybe some additional configuration for GitLab application required. HELP!!
SOLUTION was not found. I actually got newer VM version 5.1.0-2 with main bug mentioned here fixed, however there is general question now How to update GitLab in Bitnami stack