FAQ  •  Register  •  Login

bug in LibraryHelper

<<

badger

Serviio newbie

Posts: 2

Joined: Fri Oct 01, 2021 12:06 am

Post Fri Oct 01, 2021 12:13 am

bug in LibraryHelper

hello

I have my media directory mounted via cifs on Linux, only about 900 out of 10000 of my files were registering.

I turned on all the logging, reinstalled and got nowhere

eventually I attached the debugger and I can see LibraryHelper.waitForFileToBeCompleteUsingLock is stuck looping on one file which returns access denied when opened:

$ strace cat "/srv/videos/abc.mkv"
openat(AT_FDCWD, "/srv/videos/abc.mkv", O_RDONLY) = -1 EACCES (Permission denied)

serviio is looping forever trying to re-open that file, java seems to return FileNotFoundException for EACCESS

easy enough for me to fix but I thought you'd like to know
<<

badger

Serviio newbie

Posts: 2

Joined: Fri Oct 01, 2021 12:06 am

Post Fri Oct 01, 2021 12:18 am

Re: bug in LibraryHelper

oh and stat() / File.canRead() says it's readable even though it isn't... the wonders of network filesystems

(there's a race there regardless of the network filesystem though)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 04, 2021 4:35 pm

Re: bug in LibraryHelper

great, thanks

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 57 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.