You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kay Abendroth <ab...@wsc-gmbh.de> on 2004/03/11 20:52:41 UTC

Upgrading Berkeley DB 4.0 to ... 4.2

	Hello,

I'm using Subversion for quite a while now and still have Berkeley DB 4.0
installed. As I wanted to upgrade to version 4.2 I got an error "Couldn't
read SVN filesystem" (Apache access). Trying to use 'db_recover' said sth.
like "environment changed" (or so) and 'svnadmin recover' didn't help as
well.

I have Subversion 1.0.0 and Apache 2.0.48 installed.


Kind regards,
Kay


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Upgrading Berkeley DB 4.0 to ... 4.2

Posted by "C. Michael Pilato" <cm...@collab.net>.
"Kay Abendroth" <ab...@wsc-gmbh.de> writes:

> > Generally this boils down just making sure you have removed all
> > unused log files, and then running recover.  If you have lingering
> > logfiles, they can get in the way of the upgrade process.
> 
> 
> What are lingering logfiles and how do I find out I have them (or
> not)?

I guess that was a bad choice of words.  IIRC, you essentially want to
do this:

   $ /path/to/Berkeley40/bin/db_recover -ve /path/to/repos/db
   $ /path/to/Berkeley40/bin/db_archive -h /path/to/repos/db | xargs rm
   $ /path/to/Berkeley42/bin/db_recover -ve /path/to/repos/db

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Upgrading Berkeley DB 4.0 to ... 4.2

Posted by Kay Abendroth <ab...@wsc-gmbh.de>.
> -----Original Message-----
> From: cmpilato@localhost.localdomain 
> [mailto:cmpilato@localhost.localdomain] On Behalf Of C. Michael Pilato
> Sent: Thursday, March 11, 2004 10:04 PM
> To: Kay Abendroth
> Cc: users@subversion.tigris.org
> Subject: Re: Upgrading Berkeley DB 4.0 to ... 4.2
> 
> 
> "Kay Abendroth" <ab...@wsc-gmbh.de> writes:
> 
> > 	Hello,
> > 
> > I'm using Subversion for quite a while now and still have 
> Berkeley DB 
> > 4.0 installed. As I wanted to upgrade to version 4.2 I got an error 
> > "Couldn't read SVN filesystem" (Apache access). Trying to use 
> > 'db_recover' said sth. like "environment changed" (or so) and 
> > 'svnadmin recover' didn't help as well.
> 
> Berkeley has specific documentation for how to properly 
> upgrade your environment.
> 
>   http://www.sleepycat.com/docs/ref/upgrade/process.html
>
>Generally this boils down just making sure you have removed all unused log
files, and then running recover.  If you have lingering logfiles, they can
get in the way of the upgrade process.


What are lingering logfiles and how do I find out I have them (or not)?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Upgrading Berkeley DB 4.0 to ... 4.2

Posted by "C. Michael Pilato" <cm...@collab.net>.
"Kay Abendroth" <ab...@wsc-gmbh.de> writes:

> 	Hello,
> 
> I'm using Subversion for quite a while now and still have Berkeley DB 4.0
> installed. As I wanted to upgrade to version 4.2 I got an error "Couldn't
> read SVN filesystem" (Apache access). Trying to use 'db_recover' said sth.
> like "environment changed" (or so) and 'svnadmin recover' didn't help as
> well.

Berkeley has specific documentation for how to properly upgrade your
environment.

   http://www.sleepycat.com/docs/ref/upgrade/process.html

Generally this boils down just making sure you have removed all unused
log files, and then running recover.  If you have lingering logfiles,
they can get in the way of the upgrade process.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org