Updating from 5.1 to 6.08

Good afternoon,

I have an extensive family tree I’ve built over a number of years, however the last time I used it was in 2022.

Several births required to be added to the family tree. This was done successfully in the 5.1 version I was using. I noted the availability of 6.08 so I backed up my database, and installed the new version (Win 64) when trying to convert the database to SQL I receive an error message about advising “An attempt to convert the database failed. Perhaps it needs updating”

I’m now stuck unable to proceed.

Can you please advise a solution? Thank you in anticipation of a “cure”.

5.1 was probably using the BSDDB database engine. (Where SQLite was an optional conversion.)

Gramps has since switched to SQLite and retired BSDDB.

The normal expectation during upgrades is that you will do a backup to a .gramps XML file before installing the upgraded application. Or if you are switching to another computer rather than merely updating an application, backup to a .gpkg archive which includes media.

Then import that backup file into a new blank Tree.

This has the advantage of repacking the database file… but the disadvantage that any manually re-ordered children in a family or events will revert back to ‘creation order’

Version 5.2 has a reliable BSDDB to SQLite conversion. But that is not available in the 6.x family. (Because of library upgrades having incompatibilities.) So you could install 5.2 and convert, then switch back to 6.0.8

@BMS, you might also look at your gramps user profile. During previous upgrade process, backup files were copied under this location in the past. So, I do not remember well if it was only by importing an old Gramps XML or if this is implemented on DB upgrade process too.