Manjaro Linux + latest available Gramps in system packages (6.0.1)
I’m guessing Gramps updated since I last used it since it started up with no Add-ons and a database upgrade warning. Now that I’ve added back at least some of the add-ons, I find that all of my custom forms are not loading. How can I diagnose what’s happening?
I’m sure someone will tell me to update, but the system package simply isn’t there and I’m reluctant to add the weirdness of Flatpak sandboxing into the equation. (Flatpak is at 6.0.4, Snap at 6.0.3) I’ve asked for 6.0.4 to go into the next update.
Addons are stored in your user directory under the Gramps version folder.
Since you upgraded to 6.0.1 it will be /gramps60/plugins/
I assume you upgraded from a 5.2.x version of Gramps. Your custom forms will be under /gramps52/plugins/form. You will need to manually copy your custom forms over to your new plugins folder.
The first thing I did was check that they were there, but I only found a gramps52 folder in ~/.gramps, no gramps60 folder.
Now I see from the Wiki that configuration files were supposed to be moved in 5.2 to the ~/.config/gramps folder, but that didn’t happen for me, so I’ve ended up with completely different paths: ~/.gramps/gramps52 and ~/.config/gramps/gramps60.
It seems like some things are still using ~/.gramps so I suppose I should also go through ~/.config/gramps/gramps60/gramps.ini and manually change paths.
I assume a new install would also put the database in ~/.config/gramps/grampsdb?
Edit: now that I’ve looked in gramps.ini, there’s a commented out path ~/.local/share/gramps/grampsdb so maybe that’s the default?
Has something also changed about where add-ons are stored? I reinstalled quite a few yesterday, but I see none at all in ~/.config/gramps/gramps60/plugins whereas there are lots of folders under the old path ~/.gramps/gramps52/plugins.
A line starting with ;; in an .ini file is the default setting.
I am on Windows and the location of the user files did change but not if the computer had a previous version installed. The change would be for an install on a new environment. I use a GRAMPSHOME setting so any and all installs go to a folder of my choosing.
Once you get your 6.0 setting and plugins the way you want them, you can delete the 5.2 user files. Just be sure to know where your database/tree files are stored and which version is storing them. Databases are stored in the user’s /grampsdb/ folder. The database location set in Preferences is where the Database Manager will look for files and where new trees will be created. The recent-files-gramps.xml stores which actual files have been loaded and where stored.
There are still a few folders that I’m not sure where they belong, but I’m guessing under ~/.local, like maps and thumb.
It looks like plugins go in ~/.local/share/gramps/gramps60/plugins, but their .ini files (being config) go in ~/.config/gramps/gramps60/plugins.
Also I suppose since it was referenced in gramps.ini the database is still in ~/.gramps/grampsdb but it was also copied to ~/.local/share/gramps/grampsdb. I can tell which is the right one by the timestamp, but this seems like a really bad idea, which could really confuse people if they look up the canonical location and assume that’s their db, when it’s just a copy of the db at the time they upgraded.
Seems like the last database loaded can be found in two totally different locations: ~/.config/gramps/gramps.ini → [paths] → recent-file= and ~/.local/share/gramps/recent-files-gramps.xml.
After moving/copying everything & editing gramps.ini and recent-files-gramps.xml it all seems to be working OK. Now I just have to remember whose baptism I was checking when I realised forms were gone.