[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: Philip Martin <philip_at_codematters.co.uk>
Date: Tue, 08 May 2018 21:03:45 +0100

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:03:59 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.