2008/7/30 Jeff Ramnani <jefframnani_at_yahoo.com>:
> I am getting the following error when running svnsync to update a mirror
> of my production subversion repo. Here's what the error looks like
> (changing the actual file paths for the example).
>
> svnsync: Path 'projects/dir1/dir2/dir3/dir4' not present
>
> I followed the instructions in the "Repository Replication" section of
> the Subversion Handbook when setting up the repository mirror. The
> mirroring worked successfully for about a month until I got this error.
> Subsequent execution of the 'svnsync' command fails immediately with
> the same error message.
>
> The revision which triggers the error is the addition of a directory,
> 'projects/dir1/dir2/dir3/dir4/dir5' (same path elements as before with
> the addition of dir5).
>
> I've done the following troubleshooting steps:
> * Run 'svnadmin verify' against both my production repository and my
> mirror repository. Both complete successfully. The mirror
> repository's HEAD revision is the revision committed prior to
> the error.
>
> * Compared the revision properties for the last committed revision in
> the mirror repository and the same revision in the production
> repository, and they look the same.
> (svn proplist --revprop -v -r 85223 [REPO URL])
>
> * Deleted the mirror repository, and re-created it. I get the same
> error when it tries to commit the same revision.
>
> Are there any other techniques or troubleshooting steps I can use to
> find the cause of this error and fix it? I've searched the mailing
> list archives, and this is the only thread I've found for this error
> message,
> http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=69732.
> Pointers to other threads or documentation I may have missed would be
> welcome. Please let me know if there's any more information that I can
> provide which would help.
>
> Subversion Version: 1.4.3
> Repository Back End: fsfs
> Platform: Linux RHEL 4 (2.6.9-42.ELsmp x86_64)
>
> Much obliged,
>
> Jeff Ramnani
>
Googling for svnsync path "not present" also finds the following threads:
http://svn.haxx.se/dev/archive-2008-04/0424.shtml
http://svn.haxx.se/users/archive-2007-09/0064.shtml
http://svn.haxx.se/users/archive-2007-11/0000.shtml
From the CHANGES file:
Version 1.4.4
* fixed: svnsync cannot sync unreadable modified dir copies (issue #2705)
Version 1.4.6
* fixed: svnsync ignores '--config-dir' (r27056)
Version 1.5.0
* 'svnsync' had bug with replaced+modified rev over serf (issue #2904)
* 'svnsync --config-dir' sometimes ignored, thus tunnel agent bug (r27056)
Question: are you mirroring the whole repository? Are all paths in it
readable by the svnsync user?
I suggest trying the following:
(make a hotcopy of your mirror repository before that, for reference)
1. Try syncing with the latest revision of subversion client (1.5.1).
If it is able to resume from the revision where the 1.4.3 client fails, then
you are bitten by a bug that is already fixed.
If it fails, there is some bug in the current code.
Needs to be mentioned:
The 1.5.x subversion can be installed on some other computer. There
is no need to upgrade your server, unless you are using the
file:// protocol to access it.
2. Create a dump file for a single revision - the one that svnsync fails
to process (85224) and try to load it into the mirror.
There should be something in that revision, that triggers the issue.
If it succeeds, you can update the properties on revision 0 to reflect the
change. Use "--revprop -r 0" arguments, e.g.
svn proplist --revprop -r 0 repository-url
See also notes/svnsync.txt in subversion sources.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-06 00:26:58 CEST