FAQ  •  Register  •  Login

Library gets empty after network connection failure

<<

nix21

Serviio newbie

Posts: 2

Joined: Wed May 15, 2013 9:42 pm

Post Thu May 16, 2013 7:10 pm

Library gets empty after network connection failure

Hi guys!
Sometimes my Serviio server completely removes all files from its whole library. It's pretty annoying, because I have to wait next few hour before the library is filled up again. I have all the data stored at a network drive and the "removing all files" process happens always after a connection failure of my Wi-Fi network (my router sometimes freezes). So during this time the network drive is unavailable and when the automatic library update starts at that moment it completely removes all the files from the whole library. Is there any way how to force Serviio not to remove files stored at an unavailable drive?

Thx for any advise!!!

Here is particular part of a log file:
2013-05-15 16:46:47,397 INFO [LibraryUpdatesCheckerThread] Updated 'Warehouse 13 - 1x13' (\\192.168.1.1\volume1\Series\Warehouse 13\Warehouse 13 - 1x13.avi) in Library
2013-05-15 16:54:23,342 WARN [DiscoveryAdvertisementNotifier] Cannot acquire NIC for current bound IP address 192.168.1.79, will re-acquire new IP
2013-05-15 16:54:23,343 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2013-05-15 16:54:23,344 INFO [EventDispatcher] Leaving EventDispatcher
2013-05-15 16:54:23,345 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2013-05-15 16:54:23,523 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:23,523 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 9 times
2013-05-15 16:54:23,701 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:23,701 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 8 times
2013-05-15 16:54:25,238 INFO [RendererExpirationChecker] Leaving RendererExpirationChecker
2013-05-15 16:54:28,878 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:28,879 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 7 times
2013-05-15 16:54:34,057 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:34,057 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 6 times
2013-05-15 16:54:39,233 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:39,234 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 5 times
2013-05-15 16:54:44,410 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:44,410 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 4 times
2013-05-15 16:54:49,586 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:49,587 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 3 times
2013-05-15 16:54:54,764 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:54,764 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 2 times
2013-05-15 16:54:59,942 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:54:59,943 WARN [LocalAddressResolverStrategy] Haven't found IP address for NIC net3-0, will try again 1 times
2013-05-15 16:55:05,119 WARN [MultiCastUtils] Could not find NIC with name 'net3-0'
2013-05-15 16:55:05,741 INFO [Device] Updated bound IP address of Device with UUID: f8b55ab0-ed5b-329e-9fed-17e3ebe0736e, bound address: 127.0.0.1
2013-05-15 16:55:05,780 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2013-05-15 16:55:05,786 INFO [EventDispatcher] Starting EventDispatcher
2013-05-15 16:55:05,813 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2013-05-15 16:55:06,001 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface lo (Software Loopback Interface 1) and address 127.0.0.1, timeout = 0
2013-05-15 17:46:47,918 INFO [LibraryUpdatesCheckerThread] Removing 'What Hides Beneath' (\\192.168.1.1\volume1\Series\Falling Skies\Falling Skies - 1x08 - What Hides Beneath.avi) from Library
... removing continues until the whole library is empty :(
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri May 17, 2013 11:16 am

Re: Library gets empty after network connection failure

You can turn off checking for file updates for the shared network folder in the console. Once you add a file you have to turn it on an force refresh.
<<

nix21

Serviio newbie

Posts: 2

Joined: Wed May 15, 2013 9:42 pm

Post Fri May 17, 2013 5:58 pm

Re: Library gets empty after network connection failure

Yeah, that was the first thing that came to my mind. But this is just a workaround. I was hoping that one little "if" in checker thread would fix this ;) But I guess I have to live with that, because otherwise Serviio is one of the best DLNA server that just fits my needs. One little thing thought - library update would be much usable if there was an option to just monitor folders for a change rather than periodically scan all the folders. File systems offer such funcionality - to automatically notiffy app on any file system change (thought I don't know if there is any Java library that implements it - I am a .NET guy after all).

Anyway, thanks for the reply.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 22 guests

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