subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mustafa Karci>
Subject SVN write through proxy out off sync
Date Fri, 15 May 2015 10:10:14 GMT
Today ore svn mirrror got out off sync. The setup is as the headline
describes. We have setup a mirror that does only read actions and write
actions are committed to the master SVN server.

So on the mirror we have in the /etc/http/conf.d/mirror.conf file. this has
2 locations created. The private branch that redirects all writes to the
master "SVNMasterURI" and a second Where the sync from master is send to.

And yes, all hook scrip are executable. So the problem is : Some in 6
mounts the mirror would got out off sync because the locking mechanism was
in please. So normally We would do a

svn propdel --revprop -r0 svn:sync-lock http://mirror/svn-proxy-sync
svnsync sync http://mirror/svn-proxyn-sync file:///home/master/svn/private

But now doing a svnsync sync http://mirror/svn-proxyn-sync
we get an error messages like :

 svnsync: DAV request failed; it's possible that the repository's pre-
                      revprop-change hook either failed or is
 svnsync: At least one property change failed; repository is unchanged
 svnsync: Error setting property 'sync-lock':
 Can't find a temporary directory: Internal error

here are the config file:

master SVN

 <Location /svn/master >
  DAV svn
  SVNListParentPath Off
  SVNPath /home/master/svn/private
  #SVNParentPath /var/www/svn
  AuthType Basic
  AuthName "BLA BLA"
  AuthUserFile /home/master/svn/etc/htpasswd
  AuthzSVNAccessFile /home/master/svn/etc/private.access
  Require valid-user

Mirror write through proxy

 <Location /svn/mirror >
   DAV svn
   SVNListParentPath Off
   SVNPath /home/mirror/svn/private
   SVNMasterURI http://svnmaster/svn/master
   #SVNParentPath /var/www/svn
   AuthType Basic
   AuthName "BLA BLA BAL"
   AuthUserFile /home/mirror/svn/etc/htpasswd
   AuthzSVNAccessFile /home/mirror/svn/etc/private.access
   Require valid-user
<Location /svn-proxy-sync >
   DAV svn
   SVNListParentPath Off
   SVNPath /home/mirror/svn/private
   Order deny,allow
   Deny from all
   Allow from</Location>

Also when we tried to do a

svnsync init commando we are getting the same output

Mustafa Karci

The IP Company
Kruisweg 609
2132 NB  Hoofddorp
The Netherlands

Phone number: 085 1119158
Direct phone number: 085 1119158

View raw message