Page 1 of 1

Library not updating...

PostPosted: Fri Oct 02, 2015 8:15 pm
by rtan
I have been using Serviio for a little over a year now and all was working great. However, it seems this problem started when I recently upgraded to version 1.5.2.

When I created new folders or new files, they don't show up in my devices. All the files/folders previously in the library are all accessible.

Here is my Serviio settings:
Under Library tab, the "Search for update of currently shared files" box is checked. "Include hidden files" is not checked. "Keep library automatically updated" is checked. I even click on the "Force refresh" button, nothing change.

Re: Library not updating...

PostPosted: Mon Oct 05, 2015 8:42 am
by zip

Re: Library not updating...

PostPosted: Tue Nov 10, 2015 6:56 pm
by roygaard
I do have the same problem. When creating new folders/files Serviio 1.5.2 (Linux) doesn't automatically refresh the content.

OS: Ubuntu Server LTS 14.04 x86_64 (Kernel 3.19.0-31-generic)
Filesystem: BTRFS
Java: 1.8.0_66-b17

Maybe the problem is the local BTRFS and some problems with BTRFS using INOTIFY since the server seems to work on EXT4-filesystems but converting the filesystem isn't an option. The process has read/write-access to all files+directories. I also use symbolic links to distribute the collection accross multiple external and internal storages.

I simply need a commandline-utility to start the refresh-function via crontab or commandline - this couldn't be that hard to implement... PLEASE!!!!!

Re: Library not updating...

PostPosted: Sat Nov 21, 2015 5:53 am
by SHAILS1234
ZIP

I tried your advice which you have suggested at the below link but it did not work for me...

http://serviio.org/component/content/article?id=21#q5

Mine is a strange problem where the library does not get updated automatically ONLY IN THE BELOW MENTIONED SCENARIO...

my settings are
1)Search for updates of currently shared files--->CHECKED
2)INCLUDE HIDDEN FILES------>UNCHECKED
3)KEEP LIBRARY AUTOMATICALLY UPDATED------>CHECKED

THE FILE TYPE IS MKV AND THE MEDIA INFO IS AS FOLLOWS:

General

Format : Matroska
Format version : Version 4 / Version 2
File size : 652 MiB
Duration : 1h 30mn
Overall bit rate : 1 009 Kbps
Writing application : IDMmkvlib0.1
Writing library : IDMmkvlib0.1
Language : und
HANDLER_NAME : AudioHandler

Video
ID : 1
Format : VP9
Codec ID : V_VP9
Duration : 1h 30mn
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Default : Yes
Forced : No

Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 1h 30mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : bit0
Compression mode : Lossy
Default : Yes
Forced : No

THIS FILE DOES NOT GET UPDATED EITHER AUTOMATICALLY OR MANUALLY IN THE LIBRARY.

BUT IF I SHARE ANY OTHER MKV FILE IT DOES GET UPDATED BOTH AUTOMATICALLY OR MANUALLY.

Please help.
cherio :D

Re: Library not updating...

PostPosted: Sun Nov 22, 2015 1:21 am
by DenyAll
@roygaard: Have you tried forcing Serviio to use the POLLER method to scan your library - see http://wiki.serviio.org/doku.php?id=lib ... _mechanism Forcing Poller Scanner.

@SHAILS1234: Suspect it's because the Opus Audio Codec isn't supported by Serviio (not sure whether vp9 video is either). Does your log file contain a message about unknown media format or something like that for this file. You may need to manually transcode this file.

Re: Library not updating...

PostPosted: Wed Nov 30, 2016 6:44 am
by primodeelux
Thanks Zip...........your link provided helped me setup my NAS. Been using Serviio for years and love it.......hands down best media server out there.

Re: Library not updating...

PostPosted: Fri Dec 09, 2016 1:38 pm
by dgrantuk
The solution from DenyAll worked for me and now my windows mount in CentOS is refreshed automatically.

My steps were:

1. Installed Serviio to CentOS 7
2. Mounted a Windows share to /mnt:
//[windows server ip address]/videos /mnt/videos cifs user=[my windows user] password=[my password] 0 0
3. Edit the serviio.sh file
nano /opt/serviio/bin/serviio.sh
4. Added the line below to the end of JAVA_OPTS (remember to check the double quotes are in the correct place i.e. at the end of the line)
-Dserviio.forceLibraryPoller=true
5. Restart