Hi Christian, [sorry for the delay] Following up on this:
My server (Apache) sets up a virtual host for the site in question. I can access it just fine from browser and curl on both client and server. The client_host and client_port settings are correct in the config file. When I do the equivalent of your > curl http://gitorious.org/gitorious/mainline/config for my site/project/repository, I'm getting an empty document (size 0) but with the correct MIME type: text/x-yaml Poking around, I find repository_config in app/controllers/repositories_controller.rb, which seems to be invoked and correctly produces the config_data object with the right content. But then, the line: render :text => config_data, :content_type => "text/x-yaml" causes the right mime type in the response (I was successful modifying it, so that must be the line!) but the content of the :text never shows. I tried replacing with other strings and using :layout => false; but it's always empty. Not knowing rails, I am lost what to make out of that ... On Mar 22, 2013, at 1:28, Christian Johansen <[email protected]> wrote: > Hi Johannes, > >> I'm trying to successfully invoke /usr/local/bin/gitorious by means of >> ssh on the 'next' branch. >> >> I'm getting a "Access denied or wrong repository path". >> >> It appears that the exception is raised in >> lib/gitorious/ssh/client.rb, method real_path, because >> configuration["real_path"] is not set. I cannot find any place where >> that value is supposed to be set. What am I missing? > > It likely means your server is unreachable. You need to configure the > client_{host,port} so that the server can reach the web application. If > these are set to localhost:80, then your front-end web server must have > a virtual host that serves the app with that hostname. > > In the SSH client, "configuration" refers to the repository > configuration it gets from the web application. To manually inspect: > > curl http://gitorious.org/gitorious/mainline/config > > Christian > > -- > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Gitorious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
