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

Re: Database upgrade problem

From: marc gonzalez-carnicer <carnicer.lists_at_gmail.com>
Date: 2006-12-29 13:41:10 CET

hmmm, well. this does not provide any valuable information to me. i
had problems of the "great" auto DB upgrade feature that silently
makes your repositories unusable.

the proper solution is to install a previous version of subversion, then
run svnadmin dump. but there is a trick that can save you work :

i was not able to install or compile an older version. since i use kubuntu,
and development tools are not installed there by default, i found it would
be easier to boot with a cdrom that contained an older subversion
version. then i could perform the svnadmin dump.

2006/12/29, Greg Adam <gadam@lancashiredigital.com>:
> Sorry, my mistake, no it wasn't.
>
> The error was:
>
> db_upgrade: Program version 4.2 doesn't match environment version
> db_upgrade: __db.001: unrecognized file type
> db_upgrade: DB->upgrade: __db.001: Invalid argument
>
> The other message was when I followed up by trying db_recover, which
> proceeded to remove all my __db.00* files (I have multiple backups, so no
> real problem here).
>
> Greg Adam wrote:
> > The full error I'm getting is:
> >
> > db_recover: Program version 4.2 doesn't match environment version
> > db_recover: Ignoring log file: log.0000000016: unsupported log
> > version 10 db_recover: Invalid log file: log.0000000016: Invalid
> > argument
> > db_recover: PANIC: Invalid argument
> > db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
> > db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
> > recovery
> >
> > marc gonzalez-carnicer wrote:
> >> are you getting an error like this or similar?
> >>
> >> svnadmin: Berkeley DB error for filesystem wygccash/db while opening
> >> environment: DB_VERSION_MISMATCH: Database environment version
> >> mismatch svnadmin: bdb: Program version 4.3 doesn't match
> >> environment version
> >>
> >>
> >> 2006/12/28, Greg Adam <greg@gregadam.com>:
> >>> Hi there,
> >>>
> >>> I'm new to the list (and relatively new to Subversion
> >>> administration) so please be gentle!
> >>>
> >>> I help run a small company, and a bit over a year ago I set up SVN
> >>> for my development team on a Fedora based server in the office. At
> >>> the time I set up nightly backups of the data, and tested that I
> >>> could load from these backups, with no problems.
> >>>
> >>> Unfortunately last week our office was broken into, and one of the
> >>> things taken was the server. I also do offsite backups, so I thought
> >>> it was an inconvenience, but no real problem as I in theory was only
> >>> losing one day's work. So, I rebuilt a server (this time using
> >>> Debian), and installed SVN, got it all working with Apache, then
> >>> tried to install from the backup... Here I encountered problems.
> >>> Some searching has taught me that it is likely that the database
> >>> (bdb) used within my backed up repositories is incompatible with the
> >>> latest version of SVN, and that I should install the old version of
> >>> bdb/svn and do a dump of the data. This would be all well and good
> >>> if I knew what version I was running previously... Is there a way of
> >>> finding out the relevant information from the repository itself? Is
> >>> this likely to be my problem?
> >>>
> >>> Any help on this would be very greatly appreciated. If I have
> >>> forgotten any required information just let me know.
> >>>
> >>> Thanks in advance.
> >>>
> >>> Greg
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> >>> For additional commands, e-mail: users-help@subversion.tigris.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> >> For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 29 13:41:26 2006

This is an archived mail posted to the Subversion Users mailing list.