If I look in the databases folder, I see that there are two file
storage.sqlite-wal and
storage.sqlite-shm
The first of these has 0 bytes as its size.
Both of them have the 'wrong' permissions in that they do not include group write permissions.
If I change the permissions of the two files, then reload the page, it works.
However I will soon again get the 'unable to open database error', and the persmissions will need resetting.
Does anyone have any idea why I am getting these permission issues with the WAL file?
I set up a very simple application and WAL worked okay on that, so WAL is possible on my system.
If I turn WAL off and go back to DELETE everything works fine, but I am at risk of database locking. so I would prefer to be able to use Write Ahead Logging.
Thanks for any help
Peter