[GNC] Where does gnucash put the lock file on Linux?

Chris Green cl at isbd.net
Thu Jan 21 03:55:15 EST 2021


On Wed, Jan 20, 2021 at 05:20:16PM -0800, John Ralls wrote:
> Do I remember correctly that you're using the SQL backend? That works a 
> bit differently because there's no way to have a lock file if you're connected 
> to a DB server. Instead of a lock file it has a lock table inside the database. 
> If you copy the database (and with SQLite3 it looks just like a file) when 
> there's a lock record in the lock table then GnuCash will put up the "unable 
> to obtain the lock" dialog box. 
> 
You're absolutely right, I'm using sqlite, the above would exactly
explain what I'm seeing, thank you.

With sqlite it would, of course, be OK to use a lock file as it's not
a client/server system but I suppose it just shares the way things
work with mySql/postgresql.


-- 
Chris Green


More information about the gnucash-user mailing list