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

Re: "Expected format '3' of repository; found format '5' "

From: Paul Greene <paul.greene.va_at_gmail.com>
Date: Tue, 8 May 2018 16:57:53 -0400

Philip Martin - you are correct - it was version 1.3.2 on the old server

On Tue, May 8, 2018 at 4:03 PM, Philip Martin <philip_at_codematters.co.uk>
wrote:

> Paul Greene <paul.greene.va_at_gmail.com> writes:
>
> > I'm migrating an SVN server to a new server. The old server is running an
> > ancient version of Redhat and version 1.4 of subversion.
> >
> > The new server is running CentOS 7 and version 1.7 of subversion.
> >
> > I'm creating some test dump files to copy from the old server to the new
> > one. When I go to run "svnadmin dump repo.name > repo.name.dump" I get
> this
> > error on some of the repos:
> >
> > "svnadmin: Expected format '3' of repository; found format '5' "
> >
> > I get the same error if I try to run this command remotely as well - "svn
> > list svn://svnserver/data/subversion/repo.name"
> >
> > Some generate a normal result, and some generate the above error. It
> seems
> > the newer the repo, the more likely it will push that error.
> >
> > I'm guessing it's related to differing version numbers between what the
> > repos were created with and the current version of the svn software.
> >
> > What is needed to get around this error?
>
> That error comes from the libsvn_repos layer of Subversion but would
> only be produced by Subversion older than 1.4. Your claim to be running
> 1.4 is probably incorrect, what does "svnadmin --version" show?
>
> You may have more than one version of Subversion installed on the old
> server. If you can find and use a more recent version you should be
> able to access the repository.
>
> Alternatively, you do not need to dump/load to move servers. If the
> repository on the old server is not live then you could simply copy it
> to the new server. Subversion 1.7 will be able to read/write the copied
> repository.
>
> --
> Philip
>
Received on 2018-05-08 22:58:00 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.