We've found this can happen if executing an update after a read on a sqlite database file. Tried all sorts of fixes, closing the connection in between, etc, etc, but nothing other than a long sleep delay would fix it. From reading up it seems sqlite works in the background after returning from calls such as […]