Page 1 of 1

Cannot add to library

PostPosted: Fri Dec 14, 2012 3:01 pm
by martianw
Hello

I just installed serviio 1.0.1 on a server running Ubuntu 10.0.4.

I also installed the serviioweb "module" on apache.

I see no errors in logs and have it running at debug level but when I add content to the library using serviioweb, it appears to work but if I navigate away from that page/panel and navigate back, whatever I had added has disappeared.

If I try to add the same content using the serviio-console.sh app, I get an error "An unexpected error occurred (500). Check the log". I see nothing significant in the log though and no new entries are being written when the error occurs. The end of the log looks like this:

2012-12-14 14:59:35,762 INFO [ServiioConsole] Starting Serviio Console
2012-12-14 14:59:35,966 DEBUG [SwingHelper] Choosing java look and feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
2012-12-14 14:59:36,084 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2012-12-14 14:59:36,329 DEBUG [ServiioConsole] Retrieving console settings
2012-12-14 14:59:36,422 DEBUG [ServiioConsole] Setting console locale to be: en
2012-12-14 14:59:36,427 INFO [Messages] Loaded console message bundle for locale: en
2012-12-14 14:59:36,458 DEBUG [ServiioFrameView] Initializing main frame
2012-12-14 14:59:36,476 DEBUG [ServiioFrameView] System tray is supported
2012-12-14 14:59:38,654 DEBUG [ServiioConsole] Reading application data
2012-12-14 14:59:38,658 DEBUG [RepositoryView$LibraryStatusCheckerThread] Starting library status checking thread


Hope someone can help me get this working.... looks very good.

Thanks.

Re: Cannot add to library

PostPosted: Fri Dec 14, 2012 5:14 pm
by martianw
The content I'm adding is all jpg photos btw.

Re: Cannot add to library

PostPosted: Fri Dec 14, 2012 5:24 pm
by martianw
It's not just content. Added another renderer and navigated away. When I navigated back it was no longer there.

Re: Cannot add to library

PostPosted: Fri Dec 14, 2012 5:29 pm
by zip
Might be incompatibility of the web UI. Did you get the latest from their websites?

When you get 500 using the console, is there anything in the log?

Re: Cannot add to library

PostPosted: Fri Dec 14, 2012 6:28 pm
by martianw
Hi Petr and thanks for your reply.

I got the serviiiweb ui from the wiki Page I think. About Page says

Serviio v 1.0.1  - WebUI v 1.2

don't see anything much in the logs when I get the 500. I pasted the end of the log in my post.

Obviously I don't know much about how serviiiweb works but I noticed it seems to use the derby db. Could there be a problem writing to the db I wonder?

Is there anything I can do to flush out more information on the issue?

Cheers

Martin

Re: Cannot add to library

PostPosted: Fri Dec 14, 2012 9:35 pm
by zip

Re: Cannot add to library

PostPosted: Sat Dec 15, 2012 11:05 am
by martianw
Yep, I see the latest version is supposed to fix an issue suspiciously like the one I am having. I installed (after deleting the original version) and it still doesn't work for me. I've left a comment on their github page about this.

Meanwhile, if we assume the web UI problems are in the web UI itself, do you have any thoughts on the 500 error returned by the console? I don't mind how I add content to the library; I just want to get it in there so I can start exploring this interesting looking product. If I like what I see I'll definitely buy the pro version.

Thanks

Re: Cannot add to library

PostPosted: Sat Dec 15, 2012 12:31 pm
by will
You can use the official console by installing Serviio on your main machine (select just the console if installing on windows) and point it at your server, see the FAQ for details.

Otherwise if you have an Android device you can use ServiiDroid.

Re: Cannot add to library

PostPosted: Sat Dec 15, 2012 2:53 pm
by martianw
I am using the official console already, from the same Ubuntu box the has the server running on it. But as reported I get an 'error 500' when I try to add to the library. This is what I'd like to solve if possible.

Re: Cannot add to library

PostPosted: Sun Dec 16, 2012 9:08 am
by martianw
Problem solved! But I'm not exactly sure what the problem was :-)

Yesterday I went through these steps to properly set up ffmpeg: https://ffmpeg.org/trac/ffmpeg/wiki/Ubu ... GuideLucid

I then had to go out for the day and didn't do anything further with the server or serviio. This morning I fired up the console, added the same content before and this time... no error 500! I would not have expected ffmpeg to have anything to do with this. But either way, I do now seem to have a working serviio installation, at least as far as serving still photographs is concerned. Will test music and video next.