You are here

Lost Data after Gramps Portable Update

3 posts / 0 new
Last post
inlandsurfer2
Offline
Last seen: 11 years 9 months ago
Joined: 2012-12-25 11:41
Lost Data after Gramps Portable Update

I created a family tree in gramps portable a year or so ago and it was pretty complete going back several generations and haven't touched it since. The portable apps platform must have updated it several times since then. I am now getting the following message when I try to open the file:

"Gramps has detected a problem in opening the 'environment' of the underlying Berkeley database used to store this Family Tree. The most likely cause is that the database was created with an old version of the Berkeley database program, and you are now using a new version. It is quite likely that your database has not been changed by Gramps.
If possible, you should revert to your old version of Gramps and its support software; export your database to XML; close the database; then upgrade again to this version of Gramps and import the XML file in an empty Family Tree. Alternatively, it may be possible to use the Berkeley database recovery tools."

The problem is that I don't know where to find the older versions. The file wont export unless I can find a way to open it first. I don't know where the file is kept. I don't know how to use the 'Berkeley' recovery tools. I tried the install version and have problems with python 2.6. Please tell me I haven't lost my data, this was supposed to be my big Christmas present to the family!

Bart.S
Offline
Last seen: 4 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Merry Christmas :)

By default the databases are located at GrampsPortable\Data\settings\gramps\grampsdb.
Best thing to do is

  • Make a backup of the folder GrampsPortable\Data first (to be on the safe side).
  • Navigate to your database folder GrampsPortable\Data\settings\gramps\grampsdb (each subfolder contains a family tree)
  • Open a subfolder of your choice
  • Create a file with name need_recover. Mind the underscore and the lack of an extension. The content of that file is unimportant.
  • Start Gramps Portable, click on the family tree with a red stop sign. Click on the Recover button. The red stop sign should disappear and you should be able to load that family tree.

If this fails, old versions of Gramps Portable could be found here. Install the old version and copy your backup of the folder GrampsPortable\Data inside. You should be able to export your databases to XML.

Hope that helps. Smile

inlandsurfer2
Offline
Last seen: 11 years 9 months ago
Joined: 2012-12-25 11:41
This worked!

This worked thank you very much! Ahh what a relief! For anybody else in my situation who doesn't know how to create a file, I just right clicked in the folder-->new-->text file. Then while the folder was open tools-->folder options-->view tab-->uncheck hide file extensions. I then renamed the file the way you suggested.

Thank you very much again. Saves me A LOT of work.

Michael Orme

Log in or register to post comments