You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by sa...@equoria.net on 2007/08/29 06:14:26 UTC
found format '2'
We have a Subversion repository is on a Mac OS X system. About two
weeks ago we updated it from 10.4.8 to 10.4.10, but the first inkling
that there was a problem was yesterday.
# svnadmin verify db
svnadmin: Expected repository format '3' or '5'; found format '2'
# /usr/local/bin/svn --version
svn, version 1.4.4 (r25188)
compiled Jun 15 2007, 09:34:00
[snip]
# /usr/bin/db_stat -V
Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
I attempted to do the back archive upgrade involving the
building of a older version, following this procedure;
http://www.littleredbat.net/mk/blog/story/46/
# /usr/local/svn_rescue/bin/svn --version
svn, version 1.2.3 (r15833)
compiled Aug 29 2007, 09:08:13
[snip]
# /usr/local/svn_rescue/bin/db_stat -V
Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
# /usr/local/svn_rescue/bin/svnadmin verify db
svnadmin: Expected format '3' of repository; found format '2'
Before I spend a lot of time spinning my wheels building multiple,
alternative versions, I figured I better ask for advice.
Unfortunately, I got three programmers waiting to check out that
version of their code, so they aren't too happy.
Sakshale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: found format '2'
Posted by sa...@equoria.net.
Quoting Blair Zajac <bl...@orcaware.com>:
> sakshale@equoria.net wrote:
>> We have a Subversion repository is on a Mac OS X system. About two
>> weeks ago we updated it from 10.4.8 to 10.4.10, but the first inkling
>> that there was a problem was yesterday.
>>
>> # svnadmin verify db
>> svnadmin: Expected repository format '3' or '5'; found format '2'
>>
[snipped]
>
> Don't point svnadmin at the db directory, but the directory containing
> the db directory.
>
> Regards,
> Blair
>
> --
> Blair Zajac, Ph.D.
> http://www.orcaware.com/training/
Thank you very much! It turns out that I was trapped between
two bogus failure symptoms.
1 - There are two db directories in the repository;
/db
/project/db
They are both labeled "format '2'", in spite of the fact
that the entire setup is less than three months old.
2 - It turned out that I had changed the configuration of the
repository without being aware of it.
When initially installed, the daemon was not set to auto
start, simply because I didn't know how to do that on a
OS X system. It was added to my list of things to do and
forgotten.
So, the initial problem was that the daemon wasn't running.
I did some research and found out how to do it and set
things up:
https://www.equoria.net/index.php/OS_X_Subversion
When I followed that setup, I edited the file to point
to my repository, whereas, when I originally installed
the system I pointed it to "/".
Original:
/usr/local/bin/svnserve --daemon
Current
/usr/local/bin/svnserve --daemon --root /Volume/raid0/Subversion
Unfortunately, this meant that the user's SVN client was configured
to checkout /Volume/raid0/Subversion/Package instead of /Package.
Everything appears to be working correctly now.
Thanks for your help in clarifying this confusion.
Sakshale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: found format '2'
Posted by Blair Zajac <bl...@orcaware.com>.
sakshale@equoria.net wrote:
> We have a Subversion repository is on a Mac OS X system. About two
> weeks ago we updated it from 10.4.8 to 10.4.10, but the first inkling
> that there was a problem was yesterday.
>
> # svnadmin verify db
> svnadmin: Expected repository format '3' or '5'; found format '2'
>
> # /usr/local/bin/svn --version
> svn, version 1.4.4 (r25188)
> compiled Jun 15 2007, 09:34:00
> [snip]
> # /usr/bin/db_stat -V
> Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
>
> I attempted to do the back archive upgrade involving the
> building of a older version, following this procedure;
> http://www.littleredbat.net/mk/blog/story/46/
>
> # /usr/local/svn_rescue/bin/svn --version
> svn, version 1.2.3 (r15833)
> compiled Aug 29 2007, 09:08:13
> [snip]
> # /usr/local/svn_rescue/bin/db_stat -V
> Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
> # /usr/local/svn_rescue/bin/svnadmin verify db
> svnadmin: Expected format '3' of repository; found format '2'
Don't point svnadmin at the db directory, but the directory containing the db
directory.
Regards,
Blair
--
Blair Zajac, Ph.D.
http://www.orcaware.com/training/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org