FAQ  •  Register  •  Login

Library reset/blank on reboot/unmount

<<

Zaitzev

Serviio newbie

Posts: 2

Joined: Sat Mar 03, 2012 10:41 pm

Post Sat Mar 03, 2012 10:51 pm

Library reset/blank on reboot/unmount

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?
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sat Mar 03, 2012 10:57 pm

Re: Library reset/blank on reboot/unmount

OS?
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sat Mar 03, 2012 10:59 pm

Re: Library reset/blank on reboot/unmount

you can disable updates for the drives in the console. Wiki hss more info.

Sent from my DROIDX using Tapatalk
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Zaitzev

Serviio newbie

Posts: 2

Joined: Sat Mar 03, 2012 10:41 pm

Post Sat Mar 03, 2012 11:46 pm

Re: Library reset/blank on reboot/unmount

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
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sat Mar 03, 2012 11:59 pm

Re: Library reset/blank on reboot/unmount

what would be better would be to set the drives to be automounted, before serviio is started.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sun Mar 04, 2012 1:22 am

Re: Library reset/blank on reboot/unmount

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
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

dominater

Serviio newbie

Posts: 1

Joined: Wed Aug 01, 2012 7:09 am

Post Wed Aug 01, 2012 7:43 am

Re: Library reset/blank on reboot/unmount

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.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 55 guests

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