You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Shlomi Fish <sh...@vipe.stud.technion.ac.il> on 2003/10/08 11:18:07 UTC
Errors when svnadmin dumping a repository
Hi!
I have a repository on a remote server where I have ssh/rsync/etc. access
to.
I had a version of Subversion there, but the exact version is somewhere on
a damaged hard-disk. (which I can try to access if needed).
Now, I upgraded to the latest subversion but did not make dumps
beforehand. Afterwards I installed Svn 0.26.0 and 0.27.0 there and tried
to dump it with them. With 0.27.0 and 0.26.0 the dump start and then I
get:
<<<
svn: Malformed skeleton data
svn: Malformed node-revision skeleton
>>>
With the latest Subversion I get:
<<<
svn: Unsupported repository version
svn: Expected version '2' of repository; found version '1'
>>>
What gives? Which version of Subversion should I use to dump it?
svn recover says:
<<<
Acquiring exclusive lock on repository db.
Recovery is running, please stand by...svn: Berkeley DB error
svn: DB_NOTFOUND: No matching key/data pair found
>>>
I'm running it on a Linux.
Regards,
Shlomi Fish
----------------------------------------------------------------------
Shlomi Fish shlomif@vipe.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.
Falk Fish
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by "C. Michael Pilato" <cm...@collab.net>.
Michael Wood <mw...@its.uct.ac.za> writes:
> > Now, the format file says "1". What should I do? Did the schema ever
> > change before the format number did?
>
> There was originally no format number at all. Later there was format
> number 1 and now there is format version 2. I could be wrong, but I
> seem to remember there was a time where the schema changed before the
> format number was updated. Maybe a look at the commit logs would carify
> things.
That did happen. Oversight on my part a while back. If this repos
was created during that period, I can see this kind of problem
occurring.
Try this: cp -a your repository (back a backup, in other words), then
do 'echo 2 > repos/format', and try again.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by Michael Wood <mw...@its.uct.ac.za>.
On Wed, Oct 08, 2003 at 05:58:11PM +0200, Shlomi Fish wrote:
> On Wed, 8 Oct 2003, Ben Collins-Sussman wrote:
>
> > Shlomi Fish <sh...@vipe.technion.ac.il> writes:
> >
> > >
> > > <<<
> > > svn: Malformed skeleton data
> > > svn: Malformed node-revision skeleton
> > > >>>
> >
> > A the repos_upgrade_HOWTO document hint), this specific error is what
> > you get when you try to use pre-0.28 libsvn_fs to read a post-0.28
> > repository. Mixed libraries, most likely... as cmpilato already said.
> >
>
> svnadmin-0.26.0-1 is a completely statically linked binary. And I verified
> that the other svnadmin's link against their corresponding shared library.
> (using ldd)
>
> Now, the format file says "1". What should I do? Did the schema ever
> change before the format number did?
There was originally no format number at all. Later there was format
number 1 and now there is format version 2. I could be wrong, but I
seem to remember there was a time where the schema changed before the
format number was updated. Maybe a look at the commit logs would carify
things.
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by Shlomi Fish <sh...@vipe.stud.technion.ac.il>.
On Wed, 8 Oct 2003, Ben Collins-Sussman wrote:
> Shlomi Fish <sh...@vipe.technion.ac.il> writes:
>
> >
> > <<<
> > svn: Malformed skeleton data
> > svn: Malformed node-revision skeleton
> > >>>
>
> A the repos_upgrade_HOWTO document hint), this specific error is what
> you get when you try to use pre-0.28 libsvn_fs to read a post-0.28
> repository. Mixed libraries, most likely... as cmpilato already said.
>
svnadmin-0.26.0-1 is a completely statically linked binary. And I verified
that the other svnadmin's link against their corresponding shared library.
(using ldd)
Now, the format file says "1". What should I do? Did the schema ever
change before the format number did?
Regards,
Shlomi Fish
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
----------------------------------------------------------------------
Shlomi Fish shlomif@vipe.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.
Falk Fish
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by Ben Collins-Sussman <su...@collab.net>.
Shlomi Fish <sh...@vipe.technion.ac.il> writes:
>
> <<<
> svn: Malformed skeleton data
> svn: Malformed node-revision skeleton
> >>>
A the repos_upgrade_HOWTO document hint), this specific error is what
you get when you try to use pre-0.28 libsvn_fs to read a post-0.28
repository. Mixed libraries, most likely... as cmpilato already said.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by Michael Wood <mw...@its.uct.ac.za>.
On Wed, Oct 08, 2003 at 02:34:19PM +0200, Shlomi Fish wrote:
[snip]
> > I had a version of Subversion there, but the exact version is somewhere on
> > a damaged hard-disk. (which I can try to access if needed).
> >
> > Now, I upgraded to the latest subversion but did not make dumps
> > beforehand. Afterwards I installed Svn 0.26.0 and 0.27.0 there and tried
> > to dump it with them. With 0.27.0 and 0.26.0 the dump start and then I
> > get:
> >
> > <<<
> > svn: Malformed skeleton data
> > svn: Malformed node-revision skeleton
> > >>>
[snip]
There have been other schema changes in the past. I remember messages
similar to the above when people tried to use newer clients with the
older schema. Please try an even older version of svnadmin.
Looking at the CHANGES implies the schema changed in 0.14.0 (and maybe
0.14.2, but maybe not) so try 0.13.0 maybe?
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by "C. Michael Pilato" <cm...@collab.net>.
Shlomi Fish <sh...@vipe.technion.ac.il> writes:
> OK, some more information:
>
> <<<
> shlomif@stalker:~/var/svn$ ~/svnadmin-0.26.0-1 recover shlomif-homepage/
> Acquiring exclusive lock on repository db.
> Recovery is running, please stand by...
> Recovery completed.
> The latest repos revision is 131.
> >>>
>
> This operation complete fine. (with a statically linked svnadmin).
> However svnadmin-0.26.0-1 dump still generates these errors.
This is probably indicative of some mixed shared libraries.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Errors when svnadmin dumping a repository
Posted by Shlomi Fish <sh...@vipe.stud.technion.ac.il>.
OK, some more information:
<<<
shlomif@stalker:~/var/svn$ ~/svnadmin-0.26.0-1 recover shlomif-homepage/
Acquiring exclusive lock on repository db.
Recovery is running, please stand by...
Recovery completed.
The latest repos revision is 131.
>>>
This operation complete fine. (with a statically linked svnadmin).
However svnadmin-0.26.0-1 dump still generates these errors.
Regards,
Shlomi Fish
On Wed, 8 Oct 2003, Shlomi Fish wrote:
>
> Hi!
>
> I have a repository on a remote server where I have ssh/rsync/etc. access
> to.
>
> I had a version of Subversion there, but the exact version is somewhere on
> a damaged hard-disk. (which I can try to access if needed).
>
> Now, I upgraded to the latest subversion but did not make dumps
> beforehand. Afterwards I installed Svn 0.26.0 and 0.27.0 there and tried
> to dump it with them. With 0.27.0 and 0.26.0 the dump start and then I
> get:
>
> <<<
> svn: Malformed skeleton data
> svn: Malformed node-revision skeleton
> >>>
>
> With the latest Subversion I get:
>
> <<<
> svn: Unsupported repository version
> svn: Expected version '2' of repository; found version '1'
> >>>
>
> What gives? Which version of Subversion should I use to dump it?
>
> svn recover says:
>
> <<<
> Acquiring exclusive lock on repository db.
> Recovery is running, please stand by...svn: Berkeley DB error
> svn: DB_NOTFOUND: No matching key/data pair found
> >>>
>
> I'm running it on a Linux.
>
> Regards,
>
> Shlomi Fish
>
> ----------------------------------------------------------------------
> Shlomi Fish shlomif@vipe.technion.ac.il
> Home Page: http://t2.technion.ac.il/~shlomif/
>
> An apple a day will keep a doctor away. Two apples a day will keep two
> doctors away.
>
> Falk Fish
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
----------------------------------------------------------------------
Shlomi Fish shlomif@vipe.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.
Falk Fish
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org