FAQ  •  Register  •  Login

Changes in library tab are not saved

<<

janci

Serviio newbie

Posts: 5

Joined: Thu Feb 07, 2013 12:31 am

Post Thu Feb 07, 2013 1:15 am

Changes in library tab are not saved

Can anyone please give advice regarding WebUI v 1.2 with Serviio v 1.1
Any changes i make in the library tab of the UI are lost after refreshing the window or after switching back and forth beween tabs.

Thus i cant add new folders to the libray nor do any modifications to theese settings. not even refresh time interval.
I succesfully managed to add folders and make changes before, now it simply doesnt work.

Ive searched and found some people posting the same problem on other forums but none had any solutions.
Any help is greatly appreciated.
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Thu Feb 07, 2013 5:57 pm

Re: Changes in library tab are not saved

just to confirm your hitting the save button right?

can you post your logs?
<<

janci

Serviio newbie

Posts: 5

Joined: Thu Feb 07, 2013 12:31 am

Post Mon Feb 11, 2013 2:01 am

Re: Changes in library tab are not saved

yes im pressing save, but doesnt do so
here is the log that seems to be relevant to this


-------------------------------
2013-02-11 03:02:12,543 WARN [ServiioStatusService] ConversionException occured. Returning error code 500 to the REST layer. Message: Zero length string : Zero length string
---- Debugging information ----
message : Zero length string
cause-exception : java.lang.NumberFormatException
cause-message : Zero length string
class : java.lang.Long
required-type : java.lang.Long
converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter : com.thoughtworks.xstream.converters.basic.LongConverter
path : /repository/sharedFolders/sharedFolder/accessGroupIds/id
class[1] : java.util.LinkedHashSet
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2] : org.serviio.ui.representation.SharedFolder
converter-type[2] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[3] : java.util.ArrayList
class[4] : org.serviio.ui.representation.RepositoryRepresentation
version : null
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 11, 2013 10:38 am

Re: Changes in library tab are not saved

You should have a look at the thread of the web UI you're using. There might be a new version solving this. Or ask there.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Mon Feb 18, 2013 6:22 pm

Re: Changes in library tab are not saved

There's a 1.3 in beta found here - wiki.serviio.org/doku.php?id=phpwebui
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

rverhoeve

Streaming enthusiast

Posts: 22

Joined: Sat Sep 24, 2011 1:53 pm

Post Sun Feb 24, 2013 11:47 pm

Re: Changes in library tab are not saved

hi all. i am having the same problem on QNAP NAS T212 running QPKG version '1.1_B10 Christian'. i am a reading the posts regarding the UI interface with PHP, but, too technical for me to understand.

is there a solution to this problem ? i cannot add any libraries to my Serviio list, and it does show 'Saved!', and i was able to to it before, as i got the libraries in there that i have now.

any libraries i add are there until i jump to another Serviio tab. come back; the new library is gone.

while new library is still on the screen, i do a 'Refresh', it initiates the chcck, check ends, no files added.

any help would be appreciated. debug log attached. thanks, all.
Attachments
serviio add dir 2.txt
(10.11 KiB) Downloaded 488 times
<<

rverhoeve

Streaming enthusiast

Posts: 22

Joined: Sat Sep 24, 2011 1:53 pm

Post Mon Mar 11, 2013 6:01 pm

Re: Changes in library tab are not saved

help, someone, please ?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Mon Mar 11, 2013 6:18 pm

Re: Changes in library tab are not saved

None of the Web UIs support Serviio 1.2 and even if you are still using 1.1 but are having problems with one of the Web UIs, its probably best to use the official console for now until the devs behind them get them updated as there were a few problems todo with missing data in the Free version of Serviio.

Your options are to either install the official console on your main PC (make sure you have the same version on both machines)and point it to your NAS http://www.serviio.org/component/conten ... e?id=21#q2 or if you have an Android device, use ServiiDroid.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

rverhoeve

Streaming enthusiast

Posts: 22

Joined: Sat Sep 24, 2011 1:53 pm

Post Tue Mar 12, 2013 1:19 am

Re: Changes in library tab are not saved

as noted though, it was working, so is there someone why can actually look at the debug log and explain why it would suddenly stop? seems newbie, i know, but, really... how about Mark Pemberton ? he out there somewhere ??

thanks, all, in advance.
<<

rverhoeve

Streaming enthusiast

Posts: 22

Joined: Sat Sep 24, 2011 1:53 pm

Post Tue Mar 12, 2013 1:46 am

Re: Changes in library tab are not saved

i have serviio 1.1 on my NAS, where do i find Serviio 1.1 for windows if i want to install the console on my local machine. i can only find a download for Serviio 1.2 n the Serviio site.

thanks.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Mar 12, 2013 9:02 am

Re: Changes in library tab are not saved

As I said, there are a few bugs to do with handling access groups for the free version (which don't exist in the free version), so it probably worked when you first installed Serviio and were under the trial period. The log contains a message that suggests the Web UI is sending back an invalid response to the server and the server doesn't like it. Having said that, I thought mark said he had these issues fixed, are you defineately using the last version of the Web UI (not the version that comes in the NAS package, but the latest from github/the wiki link posted a bit above?)

Its not linked on the site but it is still available http://download.serviio.org/releases/se ... -setup.exe
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

rverhoeve

Streaming enthusiast

Posts: 22

Joined: Sat Sep 24, 2011 1:53 pm

Post Wed Mar 13, 2013 12:10 am

Re: Changes in library tab are not saved

hi thanks, for responding. it is good to have a conversation on this.

i don't know if i have the latest Web UI installed. i just implemented what came with the QPKG that Christian had put together for us QNAP NAS folk. are there instructions on 1) how to find out what Web UI interface i have, and 2) how to implement an upgrade to the interface without destroying what i have now in the QPKG implementation that 'mostly' works for me ? i'll try that link further up in these posts....

thanks, again.
<<

rverhoeve

Streaming enthusiast

Posts: 22

Joined: Sat Sep 24, 2011 1:53 pm

Post Wed Mar 13, 2013 12:28 am

Re: Changes in library tab are not saved

note, i also just read in another forum that the beta 1.3 did not resolve this problem.
<<

elsalvador

Serviio newbie

Posts: 12

Joined: Tue Oct 23, 2012 5:29 pm

Post Wed Mar 20, 2013 6:34 pm

Re: Changes in library tab are not saved

Hi Guys,
Just adding my confirmation to this theory.
I've hit it a number of times, with v1.1 and v1.2 - fresh install always works great, later on you can't change stuff in WebUI.
I can also confirm that the PC version of Serviio when told to connect to the server of your choice (via batch file, examples all over the place here) CAN change the library fine, and that shows up in the WebUI.

My personal theory was that it was something to do with the 15 day test period, but couldn't prove it.
3 options:
1. Fix the WebUI (um...beyond me, sorry) or permissions thing mentioned in this thread;
2. Use the PC config program;
3. Buy the pro license (which I might do once I've finished my testing & we're in DEPLOY mode...).

Thanks guys, keep up the great work.
Regards
ElSalvador
<<

pineson

Serviio newbie

Posts: 3

Joined: Tue Dec 11, 2012 8:34 am

Post Sat Oct 05, 2013 3:12 pm

Re: Changes in library tab are not saved

I just had a quick at the code and have a solution. Checking the rest API for the Library Data then there is a field for the access group ids requires a value of 1, currently a blank string is being submitted by the WebUi.

To fix it then there are two updates to code/library.php, these are;

First change
  Code:
                $repo[0][$id] = array(
                    getPostVar("name_${id}", ""),
                    $items,
                    $metaval,
                    getPostVar("SCAN_${id}", "0")==1?"true":"false",
                    getPostVar("folder_${id}", "new"),
                    array(getPostVar("access_${id}", "")));
            }

becomes;
  Code:
                $repo[0][$id] = array(
                    getPostVar("name_${id}", ""),
                    $items,
                    $metaval,
                    getPostVar("SCAN_${id}", "0")==1?"true":"false",
                    getPostVar("folder_${id}", "new"),
                    array(getPostVar("access_${id}", "1")));
            }


Second change
  Code:
                $repo[1][$id] = array(
                    getPostVar("os_type_${id}", ""),
                    getPostVar("os_url_${id}", ""),
                    getPostVar("os_media_${id}", ""),
                    getPostVar("onlinesource_${id}", ""),
                    getPostVar("os_name_${id}", ""),
                    getPostVar("os_stat_${id}", ""),
                    getPostVar("os_thumb_${id}", ""),
                    array(getPostVar("os_access_${id}", ""))
                    );

becomes;
  Code:
                $repo[1][$id] = array(
                    getPostVar("os_type_${id}", ""),
                    getPostVar("os_url_${id}", ""),
                    getPostVar("os_media_${id}", ""),
                    getPostVar("onlinesource_${id}", ""),
                    getPostVar("os_name_${id}", ""),
                    getPostVar("os_stat_${id}", ""),
                    getPostVar("os_thumb_${id}", ""),
                    array(getPostVar("os_access_${id}", "1"))
                    );

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 12 guests

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