FAQ  •  Register  •  Login

Cannot add to library

<<

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Fri Dec 14, 2012 3:01 pm

Cannot add to library

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

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Fri Dec 14, 2012 5:14 pm

Re: Cannot add to library

The content I'm adding is all jpg photos btw.
<<

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Fri Dec 14, 2012 5:24 pm

Re: Cannot add to library

It's not just content. Added another renderer and navigated away. When I navigated back it was no longer there.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 14, 2012 5:29 pm

Re: Cannot add to library

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

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Fri Dec 14, 2012 6:28 pm

Re: Cannot add to library

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

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 14, 2012 9:35 pm

Re: Cannot add to library

<<

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Sat Dec 15, 2012 11:05 am

Re: Cannot add to library

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

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Dec 15, 2012 12:31 pm

Re: Cannot add to library

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

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

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Sat Dec 15, 2012 2:53 pm

Re: Cannot add to library

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

martianw

Streaming enthusiast

Posts: 28

Joined: Fri Dec 14, 2012 2:49 pm

Post Sun Dec 16, 2012 9:08 am

Re: Cannot add to library

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.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 96 guests

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