# \[Linux Mint\] Ugrading gramps from v5,2,4 to v6.0.5, and it is not going well

**URL:** <https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630>\
**Category:** Help\
**Tags:** install, linux\
**Created:** [October 4, 2025, 10:32pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630 "2025-10-04T22:32:50Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnS](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/johns/32/2082_2.png) [@JohnS](https://gramps.discourse.group/u/JohnS)\
**Post date:** [October 4, 2025, 10:32pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/1 "2025-10-04T22:32:51Z")

</div>

Linux Mint 21.3. Upgrading from v5,2,4 to v6.0.5, and it is not going well. Made backups in both .gramps and .gpkg formats.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [October 5, 2025, 2:49am UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/2 "2025-10-05T02:49:42Z")

</div>

“not going well” doesn’t even hint at the nature of the problem.

What is happening?

---

<div class="post-metadata">

**Author:** ![csam](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/csam/32/5361_2.png) [@csam](https://gramps.discourse.group/u/csam)\
**Post date:** [October 5, 2025, 7:36am UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/3 "2025-10-05T07:36:49Z")

</div>

If you can start Gramps v6, but don’t see your Family Tree, open the Preferences and choose the [Family Tree] tab. Check that the ‘Database path’ field points to your database.

---

<div class="post-metadata">

**Author:** ![JohnS](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/johns/32/2082_2.png) [@JohnS](https://gramps.discourse.group/u/JohnS)\
**Post date:** [October 5, 2025, 4:02pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/4 "2025-10-05T16:02:56Z")

</div>

I backed up my v5.2.4 files, but could not figure out how to make the “hardy and portable XML format”. Then installed the v6.0.5 flatpack (yuk). The gramps flatpack attempted to open and convert my database, but seemed to fail. Alas I cannot remember what happened. So, now I do not know what to do to recover my data and begin to use v6. Any help would be greatly appreciated and earn beer points for someone.

---

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [October 5, 2025, 4:23pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/5 "2025-10-05T16:23:51Z")

</div>

I’m no expert but someone will correct me if I’m wrong…

Can’t you simply create a new empty tree and then import the back up you made into that tree?

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [October 5, 2025, 4:49pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/6 "2025-10-05T16:49:55Z")

</div>

> [@JohnS](#):
>
> but could not figure out how to make the “hardy and portable XML format”.

The working file format is a SQLite database file and a cache folder of media thumbnails. (And another cache of map tile files.) In addition, there are lots of `.ini` files that store configuration choices.

The backup/archival format is XML written to a file with a `.gramps` or `.gpkg` file extension.  
`.gramps` files can be either compressed or in uncompressed plain text. (The default is compressed.)

`.gpkg` files (Gramps Package : Gramps XML plus media) are _always_ compressed because they can also archive the media files.

You can decompress these files to inspect at the plain XML text. (I tend to use 7zip or similar tool.)

The easiest way to open an import a backup archive is a starting point with Gramps _not_ running. Right-click the archive in the OS desktop and opt to open the file with the Gramps application. This will prompt Gramps to launch, create a new and blank Tree database, name the new Tree similarly to the archive filename, load that Tree and begin importing the archive into the Tree.

---

<div class="post-metadata">

**Author:** ![JohnS](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/johns/32/2082_2.png) [@JohnS](https://gramps.discourse.group/u/JohnS)\
**Post date:** [October 6, 2025, 10:47pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/7 "2025-10-06T22:47:22Z")

</div>

Thanks for this suggestion. I imported a bunch of stuff, but attempting to load a person or a family produced in an error

```python
File “/app/lib/python3.12/site-packages/gramps/gen/display/place.py”, line 84, in display_event
return self.display(db, place, event.get_date_object(), fmt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/app/lib/python3.12/site-packages/gramps/gen/display/place.py”, line 96, in display
pf = self.place_formats\[fmt\]
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^
IndexError: list index out of range

```

This error may be related to problems setting (or resetting) the base media path.

(I tried submitting a bug report, but had password issues.)**[Admin: Reset password email sent as last login was in 2017 and account expired]**

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [October 6, 2025, 11:24pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/8 "2025-10-06T23:24:15Z")

</div>

The place\_format.xml file was not imported to your 6.0 user directory from your 5.2 folder.

> [@Problem getting started with Gramps 6.0](https://gramps.discourse.group/t/problem-getting-started-with-gramps-6-0/7561/5):
>
> The code is trying to access a place format that doesn’t exist. Your gramps.ini file was probably upgraded automatically but you didn’t copy over your place\_formats.xml file. I suggest that you edit your gramps.ini file and set the “preferences.place-format” entry to 0.

---

<div class="post-metadata">

**Author:** ![JohnS](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/johns/32/2082_2.png) [@JohnS](https://gramps.discourse.group/u/JohnS)\
**Post date:** [October 8, 2025, 8:43pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/9 "2025-10-08T20:43:23Z")

</div>

Thanks for the suggestions. v6.0.5 now seems to be working better, but it still unable to find some information. (1) The links to all media seem to be broken. I changed the Base path for relative media paths to a directory that contains various directories containing media objects. But it doesn’t seem to help. (2) Links to children in families also seem to be broken.

---

<div class="post-metadata">

**Author:** ![JohnS](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/johns/32/2082_2.png) [@JohnS](https://gramps.discourse.group/u/JohnS)\
**Post date:** [October 10, 2025, 9:04pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/10 "2025-10-10T21:04:35Z")

</div>

Alas there are remaining issues with media paths. Most (exception noted below) media do not show reporting a File does not exist error. The path to the media object is obviously wrong. /home/USER/Personal/Genealogy/Personal/Genealogy/Scans should be simply /home/USER/Personal/Genealogy/Scans. I have set the Base media path to /home/USER/Personal/Genealogy/. The exception I referred to above is one of the most recent media objects added to my data base.

Also I seem to have 3 gramps.ini files: $ find . -iname gramps.ini  
./.gramps/gramps51/gramps.ini  
./.gramps/gramps52/gramps.ini  
./.var/app/org.gramps\_project.Gramps/config/gramps/gramps60/gramps.ini

For now I’m stuck. My data are intact, and my database seems to be intact. The problem seems to be getting gramps to correctly access the dats.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [October 10, 2025, 9:28pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/11 "2025-10-10T21:28:40Z")

</div>

It is a matter of making the base media path set in Preferences plus the path of each media record to complete the full path to each media object.

You set the path in Preferences to `/home/USER/Personal/Genealogy/`. Then the path in the media record will be something like `births/filename.jpg`.

You can use the [Media Manager](https://gramps-project.org/wiki/index.php?title=Gramps_6.0_Wiki_Manual_-_Tools#Media_Manager)’s **Replace substrings in the path** to make the records agree with the file’s hard drive location.

The Isotammi addon [Property Editor](https://gramps-project.org/wiki/index.php/Addon:Isotammi_addons#PropertyEditor) can also be used to do a batch edit of the path field from the search and replace.

The [Media Verify](https://gramps-project.org/wiki/index.php/Addon:Media_Verify_Tool) addon tool’s **Verify** option will scan all the files in the base directory set in Preferences and compare the checksums stored in each Gramps media record and locate each record. It will present a list of the files and present a list of changes to be made in the record’s path field. Using the **Fix** option will make those changes.

Note: MV works off the checksums set in Gramps when the media file was added. If you have edited any media file after it was added to Gramps, it will show as a missing file. MV cannot find or fix it even if the file shows that it there. A manual edit will be necessary or using the methods listed above.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [October 10, 2025, 9:31pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/12 "2025-10-10T21:31:59Z")

</div>

> [@JohnS](#):
>
> Also I seem to have 3 gramps.ini files: $ find . -iname gramps.ini  
> ./.gramps/gramps51/gramps.ini  
> ./.gramps/gramps52/gramps.ini  
> ./.var/app/org.gramps\_project.Gramps/config/gramps/gramps60/gramps.ini

./.gramps/gramps51/gramps.ini  
./.gramps/gramps52/gramps.ini

These are remnants from previous installs. Even after deleting or uninstalling the older program files, the user files remain. Once you have 6.0.5 up and running to your total satisfaction, the old user files can be deleted.

---

<div class="post-metadata">

**Author:** ![JohnS](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/johns/32/2082_2.png) [@JohnS](https://gramps.discourse.group/u/JohnS)\
**Post date:** [October 12, 2025, 5:20pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/13 "2025-10-12T17:20:06Z")

</div>

Thanks for all your help, Dave. Media Manager did the trick. My media files all seem (mostly) correct now. A couple of strays are wandering around, but they aren’t critical and will get resolved eventually.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [November 11, 2025, 5:20pm UTC](https://gramps.discourse.group/t/linux-mint-ugrading-gramps-from-v5-2-4-to-v6-0-5-and-it-is-not-going-well/8630/14 "2025-11-11T17:20:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
