Windows 10 AIO64-6.0.0-1
Did you resolve this?
If not can you please provide more information/screenshots etc?
Do any of the methods in the user manual help?
I have given up on using GRAMPSHOME nothing I did, following the manual, would allow me to locate the DB and associated files where I wanted it. My original intent was for using two Windows 10 computers to run Gramps and allow updating of the DB. Needless to say that was a lost cause. I updated the system variables, etc. But nothing worked. Are there users who are able to do what I was trying to do?
Apologies came to this late
Are you trying to have the database on a USB stick to swap between PC’s
or a NAS/Cloud
I have done similar (not recently) with a NAS but abandoned it mainly
because my hardware is getting long in the tooth, using the NAS makes
GRAMPS slow and unusable. Also the likes of custom.xml, reports.xml,
filters.xml are scattered to the 4 winds throughout the installation
change on 1 PC is not reflected on any other
phil
I tried the USB method but that became unwieldy because of drive number assignment, files location etc. I am just trying to have Gramps DB reside on a network drive available to two PCs on the same local network and have not ad any success. The manual isn’t very clear about how it needs to be done exactly, and the steps I have followed didn’t work. I never have been able to use GRAMPSHOME and have it locate the DB where I want it. Has anybody been able to do what I am trying on two Windows 10 PCs?
With No guarantees or warranty this how I did it originally from my
notes. I did this on Linux not Windows
1)Create a suitably named folder on your network drive
2)On 1st PC open GRAMPS and close any open trees
3)Go to Edit Preferences/Family Tree/Database Path make a note of your
current path, change it to your newly created network folder.
4)Go to Family Trees/Manage Family Trees and create a new tree (DO NOT
USE THE NAME OF YOUR WORKING TREE)
5)Open your new tree and IMPORT a suitably secure backup preferably of a
db that is not your current working db, note depending on your tree size
it could take a while.
6)You should now have a working db on the network drive
7)On 2nd PC open GRAMPS and close any open trees
8)Go to Edit Preferences/Family Tree/Database Path make a note of your
current path, change it to your newly created network folder.
9)This gives you a working db on your second PC
WARNING use a backup do not try to do this on your working db.
Play with it for a while particularly with regards reports and filters
If all goes wrong change your database paths back to the original
phil
Phil,
Thank you for the info I will give it a try. I think the manual is good but it needs more complete examples of functions like this to aid in setting something like this up.
john
This is the key step. The database directory is stored in the configuration setting “database.path”.
On Windows, it defaults to:
%USERPROFILE%\AppData\Roaming\gramps\grampsdb
Unless GRAMPSHOME is set, then it defaults to:
%GRAMPSHOME%\gramps\grampsdb
However, it is the configuration setting that is used by the family tree manager.
Thank you but I have done that but without success. As I have stated earlier nothing I did set the correct path that Gramps found. I wonder if anybody running Windows 10 on two computers on a local network has done what I am trying to do. Also, the manual could use a complete example of the settings to accomplish this.
I don’t think you will be successful with this endeavour because gramps uses local files in addition to the database to store information.
I would not call gramps “portable” due to this fact.
In my app design days, I insisted that the developers store everything in the database, however, that is not what has happened with gramps.
I think you are probably right. Everything that the manual says to do to set Gramps up on a network I have found it to be severely lacking. SQLite has the capability but Gramps just doesn’t utilize them to make it portable.
Dave John
In no way to taken as a criticism of past or present developers this was
the reason I wrote “files scattered to the 4 winds” the information
should either be included in the database at best or the necessary files
needed stored in the network grampsdb folder at worst.
I think the only mod that is required is to the manual a simple statement
GRAMPS is not designed to work on a network system.
phil