I’ve noticed this for a few weeks now, when the Butler is running, it fails to start generating video preview thumbnails due to a Uncaught Exception:
Jan 29, 2020 17:03:56.445 [0x7f746d7fa700] ERROR - Butler: Uncaught exception starting generator GenerateMediaIndexFiles: sqlite3_statement_backend::loadOne: database is locked
About half of my library has indexes already created. If I manually Analyze a show or library it runs, and when new media is added, it also runs, only the Scheduled Tasks generation isn’t working. This even happens with every scheduled task disabled other than Generate video preview thumbnails.
Good news, using the latest PMS beta (version 1.18.6.2348) the scheduled video thumbnails activity started as expected.
Of concern however, it looks like all the files it attempted to generate previews for ended in BIF Failure. I looked in the Contents/Indexes directory where it was supposed to be generating them at and there was a “tmp” directory, no JPEGs were being spit out. Plex would read the entire file, but didn’t generate anything and ended in failure. The progress meter for the activity never filled while the activity was in progress either.
I have my library set to generate them on both Add and Scheduled tasks, items newly added to Plex were able to have their indexes built correctly.