FAQ  •  Register  •  Login

File '%s' cannot be read in logs (no filename expansion)

<<

vark

Serviio newbie

Posts: 2

Joined: Sun Nov 04, 2012 10:42 am

Post Sun Nov 04, 2012 10:50 am

File '%s' cannot be read in logs (no filename expansion)

Hi,

I tried searching around "File '%s' cannot be read" as an error, but they are such common terms, and the %s gets turned into just s - that I couldn't find anything. My apologies if this is a common question or answered elsewhere already.

Installation is Serviio 1.01 on Debian Wheezy, patched to current from the official repositories. Generally, this all works fine.

The message "File '%s' cannot be read" is appearing in my log file, however because the %s is not expanded into a filename, I have been unable to track down what file it is. Serviio runs as its own user (also serviio), and all the files in the directories is is permitted to index are all owned by the group serviio, of which that user is a member. All files and directories have a group permission of at least r-- (most are rw for the serviio group), and there is a cron script that runs every 5 minutes that uses find to locate any new files copied in from any user, and update the rights and ownership to rw- and serviio group.

The full message is:

2012-11-04 20:47:49,264 WARN [LibraryAdditionsCheckerThread] File '%s' cannot be read, probably due to access rights

I know it's just a warning, but I would like to know what file it can't read, so I can sort it out! A full debug log didn't help me (there are so many files, I'm guessing a library scan floods the entire log space, because there is no record of any entry with %s in it when I grep the log files produced after restarting and initiating a library scan from the console)

Many thanks for any assistance
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 04, 2012 12:27 pm

Re: File '%s' cannot be read in logs (no filename expansion)

Ah, that is a bug (the error message formatting). Will be fixed in 1.1.
<<

vark

Serviio newbie

Posts: 2

Joined: Sun Nov 04, 2012 10:42 am

Post Sun Nov 04, 2012 8:33 pm

Re: File '%s' cannot be read in logs (no filename expansion)

Many thanks - I'll wait for that then, so I can make sure that all my files are OK before licencing.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 15 guests

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