ruby on rails - Gitorious - how can I restore repository indexes? -
I'm working with Gitorious
(Rails on Ruby + Ubuntu 12.04)
Because I was not able to log in through the web lately, I cleared some cache using some rack commands. I am sorry for what command I do not remember. After that, I could not go from my local to the remote repository. It seems that every repository does not work.
The error is like:
root @ gitclient: ~ / test # git clone git @ gitserver: foo / foo_web.git In cloning 'Foo_web' ... = = Geetanjan: =============================================== =========== Access denied or inaccurate access to path ================================ ========================================
The web app is working fine for Gippers and in Gearswar, there are sources of source code.
I think that happened with some repository indexes.
Can someone give me a debug or tip to fix it?
Updated:
SSH access with public key functions
root @ gitclient: ~ # Ssh git @ gitserver on PTY allocation request channel Failed 0 Welcome, userfoo Use the git to push / pull your treasure off to close the connection. Root = gitclient: ~ #
File side works with GIT clone file system
root @ gitserver: ~ / test # git clone file: / Cloning in / localhost //repositories/foo/bar_src.git 'bar_src' ...
Because I'm running some web applications, I like to configure.
/config/gitorious.yml
... gitorious_host: git.mydomain.com ...
Apache Virtual Host
root @ gitserver: ~ cat / etc / apache2 / site-enabled / guitarius & lt; VirtualHost *: 80 & gt; ServerName mydomain.com ServerAlias git.mydomain.com DocumentRoot / var / www / gitorious / Public Redirect Permanent / https://git.mydomain.com/ #Redirect permanent / https://git.mydomain.com/ # I comment this line works fine, & lt; / VirtualHost & gt;
It seems that when the GIT server accesses with the GIT command, the Apache Web server is blocking it.
Like other posts, the subdomain or web server setting is a problem.
Comments
Post a Comment