Feed on
Posts
Comments

my berkeley db just got updated and now svn is unhappy:

svn: Commit failed (details follow): 

svn: Berkeley DB error while opening environment for filesystem /home/ldavid/svn/db:

Invalid argument

svn: bdb: Program version 4.2 doesn’t match environment version

 i found a fix for this problem here.    

$ svnadmin create –fs-type bdb newrepos

$ cd newrepos/db

$ rm *s __db.* log.*

$ cd ../..

$ cd oldrepos/db

$ for dbf in *s ; do db_dump $dbf | db_load -h ../../newrepos/db $dbf ; done 

$ cd ../..

$ svnadmin verify newrepos 

 

  


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS