Computer and system migration

Hi, I’m back after a while :wink:

Gramps 5.2x was previously installed on LMDE6, and the new computer runs LMDE7. Version 6.0.1 from the application manager is already installed.

I have already imported my backups from Gramps 5.2x and adjusted the database due to the media data. I can see that the media are correctly linked :slight_smile:

I’m confused… under LMDE6, there was a hidden folder .gramps in the home directory, which no longer exists. The replacement seems to be the hidden folder .config/gramps/gramps60?

What can or must I transfer from the old .gramps folder?

ancestor_report.xml
books.xml
css
env
gramps42
gramps51
gramps52
grampsdb
indiv_complete.xml
maps
place_formats.xml
recent-files-gramps.xml
report_options.xml
temp
thumb
tool_options.xml

Inside the gramps52 folder, there is also a plugins folder… Sorry for my mess! I want to organize it now :wink: What is the best way to proceed to keep previously set settings? What about the *.ini files in the gramps52 folder?

It’s probably best to check the plugins folder to see which ones were used and reinstall them?

I’d appreciate any tips on how I can get everything organized again :slight_smile:

Do these moves while the new Gramps 6.0 is not running.

One file to definitely move over from the gramps52 folder to the new gramps60 folder is custon_filters.xml.

You can try moving the .ini files. They contain all of your view settings. When I made the move to 6.0 I did have problems with a particular setting found in many of the .ini files so be prepared to abandon this tactic. I remember making notes about how I had 5.2 views set up with column orders and which gramplets were loaded in side- and bottombars. But since I cannot remember what the actual problem was or with which gramplet it involved you may get lucky especially if you just use the standard default gramplets.

If you do have issues when you launch Gramps 6.0 you can close gramps and delete the .ini files. Gramps will recreate them.

I would also move all of the .xml files in the gramps folder to the new computer. Again, these contain the settings you use. Many of them are for reports. The database name is stored with the settings. As long as the 6.0 database has the same name as your 5.2 database, the settings should carry over. (Famous last words.)

Do not bother moving the recent-files-gramps.xml.

Your old computer has Gramps User Directory remnants from Gramps 4.2, 5.1 and 5.2 versions.

The files at the .gramps folder level are common to all the versions. The most important is the grampsdb. But if you’ve used created books of reports, the books.xml is important. The same with place_formats.xml if you’ve made some custom Place display formats. And the thumb folder has all the Media previews used in the Gramps interface.

The version subfolders can sacrifice the view mode and splitbar .ini files without risk. And the version-specific addon plug-ins have to be re-installed from the current repository for each release. But the custom_filters.xml (the rules, parameters and names of your custom filters) and gramps.ini (stores Preferences configurations that are easy to forget) may have SOME content that you want to manually migrate. Those are something to explore with a text editor rather than just copy over to a new version. That’s because they expand readily but are difficult to slim down.

You can run a “Troubleshooting Gramps paths and environmental variables” Python script on your old installation and on the new machine to get a definitive list of how the file locations differ.