Smart HTTP not working?
Created by: ottawadeveloper
Alright, so I'm six days into trying to install this, so forgive me if I miss any important details. Any direction would be very useful into how I can fix this.
My end goal is Gitlab/gitolite set up on a CentOS 6.3 machine (using a minimal install as a base) and using Apache/Passenger in front of gitlab. Users should be created only through the Gitlab interface and should be able to use both SSH (using their pubkeys) and HTTP/HTTPS to clone/push/pull/fetch from their repos.
I've installed the latest stable version from here for gitlab via clone and I'm using the 2.x gitolite install that's provided via RPM for CentOS.
After much permissions configuring and editing the config files, I've gotten the front-end web interface to work (over Thin, I haven't tackled Apache/Passenger yet) and I'm able to clone/push/pull/fetch from repos over SSH. However, I am unable to access the repos over HTTP.
Cloning using git clone http://server:3000/my_project
first resulted in fatal: http://server:3000/my_project/info/refs not found : did you run git update-server-info on the server?
. I ran that command in the git directory, just to see what it would do, and I now get:
Cloning into 'my_project'
error: Empty rely from server while accessing http://server:3000/my_project/info/refs
fatal: HTTP request failed
As I noted before, cloning using git clone config_box:my_project
works fine and /home/git/repositories/my_project.git does exist.
Thin puts out the following message during this process:
Started GET "/my_project/info/refs" for *.*.*.* at 2012-10-25 13:08:27 -0400
ActionController::RoutingError (No route matches [GET] "/my_project/info/refs"):
[long stack trace]
Any one have any ideas what I could be missing or doing wrong to get this result?
Also, git version on server: 1.7.1; git version on my workstation: 1.7.9