Page 1 of 1

cannot read the folder in linux

PostPosted: Wed Oct 19, 2016 9:06 pm
by babak_vandad
Hi,
I've been using Serviio on Windows for a while now and it's a great dlna server, thanks!

Now I've installed Serviio on an Ubuntu 16.04, the media files are on a mounted ntfs HDD (the same files I've been using on the windows system).
I've followed these instructions for installation: http://wiki.serviio.org/doku.php?id=how ... buntu15-04

But on my console, in the "shared folders" section, there is an orange exclamation mark in front of every folder and on mouse over it shows this message:

"This folder is not currently available or cannot be read"

The folders are accessible via Nautillus and I can play the files, and there is no error in the serviio.log file.

Thanks for your support.

Re: cannot read the folder in linux

PostPosted: Fri Oct 21, 2016 2:39 pm
by zip
Because the Serviio server runs as a system user, not you (as in the logged in user). You can either run the Serviio service as yourself, or give the system user rights to read your folders.

http://www.serviio.org/component/conten ... e?id=21#q5

Re: cannot read the folder in linux

PostPosted: Fri Oct 21, 2016 3:07 pm
by babak_vandad
All the users have access to the shared folders. yet serviio can't index them.

Re: cannot read the folder in linux

PostPosted: Fri Oct 21, 2016 3:52 pm
by zip
can you get to the files when you log into your Ubuntu server as user 'serviio' ?

Re: cannot read the folder in linux

PostPosted: Fri Oct 21, 2016 8:17 pm
by babak_vandad
aah... the mount point was not accessible... thanks.

Re: cannot read the folder in linux

PostPosted: Thu Jan 30, 2020 5:49 pm
by Galtlives
I am having the same problem. I have my disks set to auto mount when Mint starts but I see orange disclaimers next to the folders in serviio. I am still confused on how to fix this issue. Also if I try to add a folder on a different drive within servio I am not able to access the drives via media. So if I go back and change the Mount options in Linux and set the User session defaults to on than it works. Its a permission issue but I have no clue how to fix it.

Re: cannot read the folder in linux

PostPosted: Fri Jan 31, 2020 3:58 pm
by freaknik
What is the output of the stat command?

bash$: stat /home/you/somefolderforServiio

permissions set to 755 sometimes works better than 644 it depends on security you want play around with it