Update SQLite Doesn't Work ← Knowledge Base Make sure that the directory containing the database file is also writable to the user executing the script. In other words, the folder containing the SQLite DB file should also be writable so the lock file can be created by SQLite.