CommunityScripts
CommunityScripts copied to clipboard
[renamerOnUpdate] Updating database fails, "locking protocol"
Since going to v0.20.2, the plugin is no longer able to update the database.
I have the plugin set to rename AND move the file. It appears to be able to do so, but it is unable to actually update the database with the new file directory and name.
Docker on Ubuntu Server.
Logs:
2023-04-12 01:53:37Debug Scene.Update.Post [renamerOnUpdate]: returned: Successful!
2023-04-12 01:53:37Debug [Plugin / renamerOnUpdate] Execution time: 10.47028s
2023-04-12 01:53:37Info [Plugin / renamerOnUpdate] [SQLITE] Database updated and closed!
**2023-04-12 01:53:37Error [Plugin / renamerOnUpdate] Error during database operation (database update)**
2023-04-12 01:53:37Debug [Plugin / renamerOnUpdate] [SQLITE] Database closed
2023-04-12 01:53:37Info [Plugin / renamerOnUpdate] [OS] File Renamed! (/data/videos/performers/newfilename - 1080p.mp4 -> /data/unsorted/performers/oldfilename - 1080p.mp4)
**2023-04-12 01:53:37Error [Plugin / renamerOnUpdate] error when trying to update the database (locking protocol), revert the move...**
2023-04-12 01:53:27Info [Plugin / renamerOnUpdate] [OS] File Renamed! (/data/unsorted/performers/oldfilename - 1080p.mp4 -> /data/videos/performers/newfilename - 1080p.mp4)
2023-04-12 01:53:27Debug [Plugin / renamerOnUpdate] Python successfully connected to SQLite
2023-04-12 01:53:27Debug [Plugin / renamerOnUpdate] [OLD path] /data/unsorted/performers/oldfilename - 1080p.mp4
2023-04-12 01:53:27Info [Plugin / renamerOnUpdate] File will be moved to another directory
2023-04-12 01:53:27Debug [Plugin / renamerOnUpdate] [NEW path] /data/videos/performers/newfilename - 1080p.mp4