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

2021-01-21 Thread Chris Green
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 >

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

2021-01-20 Thread John Ralls
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

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

2021-01-20 Thread Chris Green
On Wed, Jan 20, 2021 at 12:03:48PM -0600, Adrien Monteleone wrote: > On 1/20/21 8:24 AM, Chris Green wrote: > > On Wed, Jan 20, 2021 at 09:04:52AM -0500, Derek Atkins wrote: > > > NB: there is no need to start over every year; GnuCash hapily accounts for > > > multiple years of data and reports

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

2021-01-20 Thread Adrien Monteleone
On 1/20/21 8:24 AM, Chris Green wrote: On Wed, Jan 20, 2021 at 09:04:52AM -0500, Derek Atkins wrote: NB: there is no need to start over every year; GnuCash hapily accounts for multiple years of data and reports know how to handle that. That might make sense for me, I'm not quite sure. It's

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

2021-01-20 Thread Chris Green
On Wed, Jan 20, 2021 at 09:08:27AM -0500, Robert Heller wrote: > Question: do you have selinux enabled? It is possible that somehow you have > the wrong selinux context set on the directory or don't have a selinux > context > set at all. > No selinux here. > At Wed, 20 Jan 2021 13:33:33

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

2021-01-20 Thread Chris Green
On Wed, Jan 20, 2021 at 09:04:52AM -0500, Derek Atkins wrote: > Hi, > > On Wed, January 20, 2021 8:33 am, Chris Green wrote: > > On Wed, Jan 20, 2021 at 08:23:23AM -0500, Derek Atkins wrote: > >> Hi, > >> > >> The lock file is created in the same directory as the data file. > >> Is that directory

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

2021-01-20 Thread Robert Heller
Question: do you have selinux enabled? It is possible that somehow you have the wrong selinux context set on the directory or don't have a selinux context set at all. At Wed, 20 Jan 2021 13:33:33 + Chris Green wrote: > > On Wed, Jan 20, 2021 at 08:23:23AM -0500, Derek Atkins wrote: > >

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

2021-01-20 Thread Derek Atkins
Hi, On Wed, January 20, 2021 8:33 am, Chris Green wrote: > On Wed, Jan 20, 2021 at 08:23:23AM -0500, Derek Atkins wrote: >> Hi, >> >> The lock file is created in the same directory as the data file. >> Is that directory not writeable? That would cause the error. > > The directory is definitely

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

2021-01-20 Thread Chris Green
On Wed, Jan 20, 2021 at 08:23:23AM -0500, Derek Atkins wrote: > Hi, > > The lock file is created in the same directory as the data file. > Is that directory not writeable? That would cause the error. The directory is definitely writeable and there definitely isn't any sort of lock file in the

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

2021-01-20 Thread Derek Atkins
Hi, The lock file is created in the same directory as the data file. Is that directory not writeable? That would cause the error. If GnuCash cannot create (and lock) the lock file then it will throw the error. If you are SURE that there is not another process running, you can "Open Anyways" and

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

2021-01-20 Thread Chris Green
I seem to have an odd error with GnuCash saying another copy is running but only when the xxx.gnucash file is in a certain location. I needed to move my gnucash database, called general.gnucash to a new location as it's end of year. After copying it I can still open it in its original location