can't view my repository in redmine and svn
Added by AJlekceu P about 16 years ago
- Installed redmine using:
svn co http://redmine.rubyforge.org/svn/trunk redmine
- Strictly follow the instructions configured redmine+Apache+Mongrel+Subversion, use:
HowTo run Redmine with a Mongrel cluster Automating repository creation Repositories access control with apache, mod_dav_svn and mod_perl
http://name_host/ opens redmine, set up a new projects "mts", launched reposman.rb everything went without error.
But viewing the repository have problems:
1. svn ls http://name_host/svn/mts
apache.error.log
Can't connect to data source '' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Redmine.pm line 340
2. http://name_host/repositories/show/mts
mongrel.log
svn: Server sent unexpected return value (501 Not Implemented) in response to OPTIONS request for 'http://name_host/svn-private/mts' svn: warning: Can't open file '/root/.subversion/servers': Premission svn: 'http://name_host/svn-private/mts' path not foundapache.error.log
proxy: Error reading from remote server returned by /repositories/show/mts, referer: http://name_host/projects/activity/mts (70007)The timeout specified has expired: proxy: error reading status line from remote server 127.0.0.1 proxy: Error reading from remote server returned by /svn-private/mts
What could be the problem?
subversion.conf
PerlRequire /usr/lib/perl5/vendor_perl/5.10.0/Apache/Redmine.pm <Location /svn> DAV svn SVNParentPath "/home/svn/repos". AuthType Basic AuthName redmine Require valid-user PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler PerlSetVar dns DBI:mysql:database=redmine;host=localhost PerlSetVar db_user root PerlSetVar db_pass PASSWORD </Location> <Location /svn-private> DAV svn SVNParentPath "/home/svn/repos" Order deny,allow Deny from all # only allow reading orders <Limit GET PROPFIND OPTIONS REPORT> Allow from name_host </Limit> </Location>
name_host.conf
<VirtualHost *:80> ServerName name_host ErrorLog /var/log/apache2/o-o.tomsk.ru/error_log CustomLog /var/log/apache2/o-o.tomsk.ru/access_log combined DocumentRoot /home/www/vhosts/o-o.tomsk.ru/redmine/public <Directory "/home/www/vhosts/o-o.tomsk.ru/redmine/public"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <Proxy balancer://redmine_cluster> Order allow,deny Allow from all BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 </Proxy> <Location /sys> Order allow,deny Allow from all </Location> RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://redmine_cluster%{REQUEST_URI} [P,QSA,L] </VirtualHost>