seems the issue was that the sqlite database was on a smb share - which is unsupported due to the nature of samba locks - solution: use in /tmp then move to the share later