Defect #5631
closedSVN integration broken, Redmine.pm and RedmineRepoControl.pm
0%
Description
When trying to enable the plugins Redmine or RedmineRepoControl for SVN integration, Redmine throws the errors listed beneath. FYI, we're running the site through Passenger.
for Redmine.pm:
[Tue Jun 01 18:03:45 2010] [error] [client 192.168.1.108] Use of uninitialized value $project_id in concatenation (.) or string at /usr/lib/perl/5.10/Apache/Redmine.pm line 282.\n
for RedmineRepoControl.pm:
[Tue Jun 01 18:01:42 2010] [error] [client 192.168.1.108] failed to resolve handler `Apache::Authn::RedmineRepoControl::access_handler': Can't locate Apache/Authn/RedmineRepoControl/access_handler.pm in Cedric Albrecht (Cedric Albrecht contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval 6) line 3.\n
PerlLoadModule Apache::Redmine
<Location /svn>
DAV svn
#SVNParentPath "/home/subversion/repos"
SVNPath /home/subversion/repos
- PerlAuthzHandler Apache::Authn::RedmineRepoControl::authz_handler
AuthType Basic
AuthName "Redmine SVN Repository"
Require valid-user
- for mysql
RedmineDSN "DBI:mysql:database=our_redmine_db;host=our_db_server" - for postgres
- RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
- for SQLite3
- RedmineDSN "DBI:SQLite:dbname=database.db"
RedmineDbUser "our_username"
RedmineDbPass "our_password"
RedmineCacheCredsMax 50
</Location>
Updated by Felix Schäfer almost 15 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Please use the forum if you need help.
As to your problem: there is no RedmineRepoControl.pm module, so that won't work, and the Redmine.pm will only work if you use SVNParentPath, not SVNPath. For more information see Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl.