[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion 1.6 write-through proxy mirroring

From: Jim Lord <jlord_at_divxcorp.com>
Date: Mon, 26 Jul 2010 15:15:55 -0700

Hopefully you can point me in the right direction:

I'm setting up a write-through proxy mirror. I can run:

svnsync init --source-username svnsystem --source-password $pass --sync-username svnsystem --sync-password $pass file:///data/svn/vtest https://versiontest2.divxnetworks.com/svn/vtest

from the slave machine versiontest1

BUT, I can't run:

svnsync init --source-username svnsystem --source-password $pass --sync-username svnsystem --sync-password $pass https://versiontest1.divxnetworks.com/svn/vtest file:///data/svn

on the master without getting the error:

svnsync: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: Server sent unexpected return value (500 Internal Server Error) in response to PROPPATCH request for '/svn/vtest/!svn/bln/0'

The pre-revprop-change hooks exist on both master and slave for the vtest repository

I want the mirroring to be a PUSH model from the Master to the Slave instead of a PULL model from the slave. Otherwise, I don't think I can get the write-through proxying to work correctly.

I do have these on the slave's httpd configuration files:

<Location /vtest>
        DAV svn
        SVNPath /data/svn/vtest
        SVNMasterURI https://versiontest2.divxnetworks.com/svn/vtest
...
</Location>
<Location /svn/vtest>
        DAV svn
        SVNPath /data/svn/vtest
        SVNMasterURI https://versiontest2.divxnetworks.com/svn/vtest
...
</Location>

<Location /svn-proxy-sync>
  DAV svn
  SVNPath /data/svn/vtest
  Order deny,allow
  Deny from all
  # Only let the server's IP address access this Location:
  Allow from 172.16.4.134
</Location>

Is there something about the apache configuration of the master or slave that I'm missing?

The master versiontest2 and slave versiontest1 are configured exactly from the same image of a Slackware O/S with http v2.2.13.
Received on 2010-07-27 15:31:19 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.