FAQ  •  Register  •  Login

How to solve Serviio not being able to find the files

<<

paulonline

Serviio newbie

Posts: 1

Joined: Mon Dec 31, 2012 11:04 pm

Post Mon Dec 31, 2012 11:28 pm

How to solve Serviio not being able to find the files

My Serviio in Windows 8 is running great but Ubuntu version was not working ok.

2012-12-28 20:41:57,922 WARN [LibraryAdditionsCheckerThread] Folder '/media/paulo/DiscoB/videos' is either not an existing directory or cannot be read due to access rights

After hours I found out that the problem was the partition was not being mounted during the boot. It's a slave drive. Just for videos.

Edited fstab adding the partition I want to share and gave permission to the folder and subfolders.

I do not need to login to get it working. I just turn on the computer and go to the LG 42LD650 to test and I can see Serviio on the list of DLNA servers and being able to play the files shared on videos and its subfolders including the external subtitles.

permissions
  Code:
sudo chmod 777 -R /media/paulo/DiscoB/videos


edit fstab
  Code:
sudo gedit /etc/fstab


added to the last line the code:
  Code:
#<file system>    <mount point>        <type>    <options>  <dump> <pass>
/dev/sdb1      /media/paulo/DiscoB       ntfs   user,rw,auto  0       1


one thing i noticed is that now i cant delete files of this partition to the recycle bin. it is directly deleted.

hope i could help someone :idea:

Gparted gives the information and much more you need about your hard disk.

;)

Happy 2013 for everyone!

PS: If you didn't managed to get it working, create a folder to share your videos in the "serviio-1.1" installation folder and it will find everything. strange? but at least it works.
<<

Spadge

Serviio lover

Posts: 58

Joined: Sun Sep 23, 2012 5:22 pm

Post Tue Jan 01, 2013 12:09 pm

Re: How to solve Serviio not being able to find the files

I would recommend using UUID instead of /dev entries for disk mounting in fstab.

Also, if you want recycle bin to work in Linux, create a .Trash-(UID) folder on the disk. EG, .Trash-1000 if your user has UID 1000. Then everything you delete will go in there until you empty it.

Generally, what you want to do is create a folder that you are going to mount the drive to and then chown it to the serviio user prior to mounting the disk.

For instance, mine is set up as follows:

/home/Serviio

drwxrwxrwx 4 serviio serviio 4096 Aug 26 14:50 ./

spadge@Tobermory:/home/Serviio$ grep Serviio /etc/fstab
UUID=c2322747-b7a3-4893-b548-025b7a4d2ae3 /home/Serviio ext4 rw,nosuid,nodev,uhelper=udisks 0 0

And an upstart script like:

spadge@Tobermory:/home/Serviio$ cat /etc/init/serviio.conf
# Serviio - media server
#
# Serviio is a free media server. It allows you to stream your media files
# (music, video or images) to renderer devices (e.g. a TV set, Bluray player,
# games console or mobile phone) on your connected home network.

start on started networking

# If you don't want to run Serviio as root
# uncomment the following lines and replace <WHATEVER> with user and group
setuid serviio
setgid serviio

script
exec /usr/local/bin/serviio/bin/serviio.sh
end script

And that works fine, even after I move disks around in the server.

Return to Serviio Support & Help

Who is online

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

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