Project

General

Profile

subversion repository browsing under lighttpd

Added by Justin Clacherty about 14 years ago

Hi,

I've got redmine up and working nicely using webrick and wanted to switch across to lighttpd using fcgi. I've set up lighttpd and everything but repository browsing seems to work. Is there something special I need to do to get repository browsing to work?

I'm using a subversion repository which is accessed via file:///path-to-repo. lighttpd is running as the redmine user that I created, this user has access to the repository.

The error I see in the log is

Processing RepositoriesController#show (for my.ip.add.ress at 2010-03-24 19:12:34) [GET]
  Parameters: {"action"=>"show", "id"=>"myproject", "controller"=>"repositories"}
Rendering template within layouts/base
Completed in 613ms (View: 24, DB: 8) | 500 Internal Server Error [http://redmine.server.name/projects/myproject/repository]

The relevant part of the lighttpd configuration.

$HTTP["host"] == "redmine.server.name" {
        server.document-root = "/opt/redmine/public/" 
        server.indexfiles = ( "dispatch.fcgi" )
        server.error-handler-404 = "/dispatch.fcgi" 
        fastcgi.debug = 1
        fastcgi.server = (
                ".fcgi" => (
                        "localhost" => (
                                "bin-path" => "/opt/redmine/public/dispatch.fcgi",
                                "socket" => "/tmp/redmine-server.socket",
                                "min-procs" => 1,
                                "max-procs" => 2,
                                "idle-timeout" => 120,
                                "check-local" => "disable",
                                "bin-environment" => ( "RAILS_ENV" => "production" ),
                        )
                )
        )
}

Replies (5)

RE: subversion repository browsing under lighttpd - Added by Felix Schäfer about 14 years ago

I've never user lighttpd, but I'll try to help you nonetheless. Alas, the error you have pasted is not explicit enough to be helpful at this point. Is there some more info in the redmine log, or if not, in the lighttpd log?

RE: subversion repository browsing under lighttpd - Added by Justin Clacherty about 14 years ago

Unfortunately no. The only info I see is in the excerpt above from the redmine log. The fastcgi and lighttpd logs don't have anything in them.

RE: subversion repository browsing under lighttpd - Added by Felix Schäfer about 14 years ago

Well, to make a bad car analogy, that amounts to you calling me telling your car doesn't start, and there is some light showing up, but you can't tell me which… Without more information, I won't be able to help you, and I can't tell you how you could get more, sorry.

RE: subversion repository browsing under lighttpd - Added by Justin Clacherty about 14 years ago

Yeah, I know. I was kind of hoping someone else had seen the same problem. I've tried to do what I can but I'm not sure how to generate more debug to find out what's going on.

If anyone can let me know what I can do to generate more debug let me know. In the meantime I'll keep trolling through lighttpd/redmine docs.

    (1-5/5)