Thu Jan 30, 2020 1:47 pm by mrkrbsn
I'm having a similar problem with the library not updating.
I see in the log that the new file that is added is detected and added to the delta queue. However after that the file is not indexed.
If I force refresh not a lot happens.
If I stop the server AND stop the windows Serviio service, then restart both again files begin to appear. But soon stops again.
Looking further it seems like the point it goes wrong is when the 'LibraryHelper' kicks in and tries to lock a file. e.g. see example below.
Once this happens it somewhat falls through all other folders and doesn't try to check or add files.
My guess is an error occurs during this file check, which then stuffs up the file adding.
Note: This seems to be something that started happening only recently.
I looked at the particular file it stopped at and interestingly the check box on the advanced attributes of the file had the 'Encrypt contents to escure data' flag set. I removed this and that file added to the library.
My guess is that this flag is preventing Serviio from reading the file, then serviio stops looking anymore. Hope this helps.
This may help identify what is going wrong here.
DEBUG [MediaItemDAOImpl] Looking up a media item for file path: H:\Family Files\Pictures\2014\January\Trip\IMG_2743.JPG, ignore case: true
DEBUG [MediaItemDAOImpl] Media item H:\Family Files\Pictures\2014\January\Trip\IMG_2743.JPG doesn't exist in DB yet
DEBUG [MediaFileIndexer] File not in Library, will add it
DEBUG [LibraryHelper] Checking if the file is complete using file lock
DEBUG [LibraryOneTimeScanner] Looking for files to share in folder: H:\Family Files\Pictures\2015\June
DEBUG [LibraryOneTimeScanner] Looking for files to share in folder: H:\Family Files\Pictures\2015\June