Git repo: The entry or revision was not found in the repository
Added by Jérémy Chatard about 15 years ago
Hi all,
I have problems setting Redmine to browse my Git repos, I always get the following error from Redmine repository view:
The entry or revision was not found in the repository
In my Redmine project the repo is set to Git on the following path:
http://git.domain.com/git-private/myproject/.git/
I'm on:
Centos 5 Git version 1.6.3 Redmine 8.0.4
I created a vhost called http://git.mydomain.com with the following Apache rules, knowing that my repo is located in :
/var/www/vhosts/domain.com/subdomains/git/data/myproject
Apache vhosts rules:
PerlLoadModule Apache::Redmine LogLevel warn ErrorLog /var/www/vhosts/domain.com/subdomains/git/git.error.log CustomLog /var/www/vhosts/domain.com/subdomains/git/git.access.log combined Alias /git /var/www/vhosts/domain.com/subdomains/git/data <Location /git> DAV on AuthType Basic AuthName "Git" Require valid-user PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler RedmineDSN "DBI:mysql:database=redmine;host=localhost" RedmineDbUser "redmine" RedmineDbPass "superpassword" </Location> # a private location in read only mode to allow Redmine browsing Alias /git-private /var/www/vhosts/domain.com/subdomains/git/data <Location /git-private> DAV on Order deny,allow Deny from all # only allow reading orders <Limit GET PROPFIND OPTIONS REPORT> Options Indexes FollowSymLinks MultiViews Allow from 127.0.0.1 </Limit> </Location>
One thing to note is I do have commits in my repo!
Any help would be much appreciated, I'm on this for 2 days now, and I'm lost really!
Thank you all!
Jérémy