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

Desperately need help - win32 upgrade to 1.2 (DB_RUNRECOVERY)

From: <allan_at_muly.dk>
Date: 2005-05-31 21:52:14 CEST

hello

soneome can help with this upgrade prob that i need to (finish by night GMT)?
(theres a FAQ regarding this issue on the website but that the answer
is not on the site it appears)

i have just tried to upgrade Subversion from 1.1 to 1.2 on windows 2003
we are running thru apache

i have done the exact things mentioned Buildnotes.txt (see note
enclodes below)
i have done it about 10 times now - there are no connected users

when i run the svmadmin recover i get:
  Repository lock acquired.
  Please wait; recovering the repository may take some time...
   Recovery completed.
  The latest repos revision is 13110.

(it takes about 2 seconds even the repos is pretty large)

im a pretty blank - what to do ?

./allan

apache error_log:

Error string not specified yet: Berkeley DB error while opening
environment for filesystem
d:/subversion_repositories/repos1/db:\nDB_RUNRECOVERY: Fatal error, run
database recovery

**** IMPORTANT *** Upgrading from 1.1.x to 1.2.x *** IMPORTANT *****

In this release, we've upgraded BerkeleyDB from version 4.2.52 to
4.3.27. If you are currently using Subversion 1.1.x as a server on
Windows with BerkeleyDB, use the following steps to upgrade your
repositories:

  -- Make sure nobody is using the repository (stop Apache/svnserve,
     restrict access via file://).
  -- For each repository, using the old (1.1.x) binaries:
     -- Run "svnadmin recover <repos-dir>";
     -- Create a backup of the repository;
     -- Run "svnadmin list-unused-dblogs <repos-dir>"
        and remove the listed files;
     -- Delete all the "<repos-dir>\db\__db.00?" files.
  -- Upgrade Subversion.

Once again, this is only necessary for repositories based on BDB.
You do NOT have to dump/reload your repositories.

*********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 31 21:54:33 2005

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.