Page 1 of 1

Library reset/blank on reboot/unmount

PostPosted: Sat Mar 03, 2012 10:51 pm
by Zaitzev
Every time I boot up the machine, the Serviio service is starting in the background (as dictated by the installation howto). I have a couple of hard drives with videos that I have added to the library. There are a lot of videos, and the library seems to be blank every time I turn on the TV and switch to Serviio. The reason must be because the hard drives aren't mounted, yet when I mount them, Serviio starts re-adding all the videos into the library. This is a tedious process, taking up a lot longer time than I want it to..especially if I want to watch a video at any moment.

Is there anything I can do to make sure Serviio doesn't reset/erase the entire library even though the hard drives specified in the path, aren't mounted?

Re: Library reset/blank on reboot/unmount

PostPosted: Sat Mar 03, 2012 10:57 pm
by Cerberus
OS?

Re: Library reset/blank on reboot/unmount

PostPosted: Sat Mar 03, 2012 10:59 pm
by moltra
you can disable updates for the drives in the console. Wiki hss more info.

Sent from my DROIDX using Tapatalk

Re: Library reset/blank on reboot/unmount

PostPosted: Sat Mar 03, 2012 11:46 pm
by Zaitzev
So the solution, or rather circumvention, is to disable library updates? I guess I could do that, but when there are files added almost daily I have to remember to re-enable it, let it update, and then disable it again? Sounds a bit counter-productive.

I'm on Ubuntu 11.10

Re: Library reset/blank on reboot/unmount

PostPosted: Sat Mar 03, 2012 11:59 pm
by moltra
what would be better would be to set the drives to be automounted, before serviio is started.

Re: Library reset/blank on reboot/unmount

PostPosted: Sun Mar 04, 2012 1:22 am
by Cerberus
Zaitzev wrote:So the solution, or rather circumvention, is to disable library updates? I guess I could do that, but when there are files added almost daily I have to remember to re-enable it, let it update, and then disable it again? Sounds a bit counter-productive.

I'm on Ubuntu 11.10


This is the GUI way of doing it so you don't have to modify your fstab file manually.

If you look in the repositories you should see a program called "mountmanager" or from the terminal (command line) just type:

  Code:
sudo apt-get update
sudo apt-get install mountmanager

Once it is installed you can open it by clicking System->Administration->Mount Manager from the menus.

Once the program is open you can click the extra drive you want to automount from the list on the left. In the options you have a area where you can pick the mount point. In my case I wanted my external drive to be mounted at /media/drive/ so I created a directory there and set it as the mount point. Then I clicked partition->apply from the mount manager menus.

Here it stated it would be modifying my fstab file but I clicked okay. Rebooted my machine and everything was good it was auto-mounted there.

or you can edit the fstab file manualy: https://help.ubuntu.com/community/Fstab

Re: Library reset/blank on reboot/unmount

PostPosted: Wed Aug 01, 2012 7:43 am
by dominater
I am fairly new to Ubuntu and command line but I have successfully mounted a drive in Ubuntu presice server at boot and set it not to dump libary files using fstab I used instuctions at https://help.ubuntu.com/community/Fstab I ceated a directory "sudo mkdir /media/share" share being the name of a partition on a seperate drive then I edited my /etcfstb and added a line for each of my ntfs partitions I wanted to mount at boot /dev/sdb2 /media/share ntfs-3g user,locale=en_US.utf8 0 0
"user" gave me the file permissions to share the drive and I think the second "0" stops the dump of the libary data.
when I start my server I have full DLNA access on my tv panasonic to all my media before login I have also used a script to start
serviio console automatically found on another forum. If this is successful for you please post. for the benifit of others.