FAQ  •  Register  •  Login

Serviio MediaBrowser not working on Ubuntu Server 12.04 LTS

<<

danielgoosen

Serviio newbie

Posts: 4

Joined: Sat Jul 27, 2013 2:20 pm

Post Sat Jul 27, 2013 2:32 pm

Serviio MediaBrowser not working on Ubuntu Server 12.04 LTS

Hi there!
Thank you for taking the time to read this!

I have followed the guide http://wiki.serviio.org/doku.php?id=howto:linux:install:ubuntu12-04 in order to install Serviio on my Ubuntu Server 12.04 LTS, and all installations completed succesfully.
I have extracted Serviio 1.2.1 to
  Code:
/opt/serviio-1.2.1
and added it to the startup list.

Then after some looking around I discovered that I also need to install Java (not mentioned in the guide followed) so I used
  Code:
apt-get install default-jre
and it installed succesfully and Serviio now starts.

However everything seem to work fine but when I try to play a video through the MediaBrowser, it says:
  Code:
200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip]'http://10.0.0.200:23424/cds/resource/3/MEDIA_ITEM/FLV-0/ORIGINAL,flv_player?autToken=9d8703ee559e4151b08f6dd3ab0bd286"


Any help will be highly appreciated!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jul 27, 2013 10:00 pm

Re: Serviio MediaBrowser not working on Ubuntu Server 12.04

Is there ab error in the log? In guessing your Ffmpeg is old.
<<

danielgoosen

Serviio newbie

Posts: 4

Joined: Sat Jul 27, 2013 2:20 pm

Post Sun Jul 28, 2013 10:21 am

Re: Serviio MediaBrowser not working on Ubuntu Server 12.04

zip wrote:Is there ab error in the log? In guessing your Ffmpeg is old.

Hi zip!

Thank you for your reply. I cannot see any errors in the logs:
serviio.log:
  Code:
2013-07-27 16:06:54,857 INFO  [MediaServer] ------------------------------------------------------------------------
2013-07-27 16:06:54,873 INFO  [MediaServer] Serviio DLNA media streaming server v 1.2.1 (rev. a2aa56064460+)
2013-07-27 16:06:54,873 INFO  [MediaServer] Petr Nejedly 2009-2013
2013-07-27 16:06:54,873 INFO  [MediaServer] http://www.serviio.org
2013-07-27 16:06:54,873 INFO  [MediaServer]
2013-07-27 16:06:54,874 INFO  [MediaServer] Java 1.6.0_27-Sun Microsystems Inc.
2013-07-27 16:06:54,874 INFO  [MediaServer] OS Linux amd64 3.5.0-23-generic
2013-07-27 16:06:54,874 INFO  [MediaServer] File encoding: US-ASCII
2013-07-27 16:06:54,874 INFO  [MediaServer] Headless mode enabled: true
2013-07-27 16:06:54,875 INFO  [MediaServer] User: root
2013-07-27 16:06:54,875 INFO  [MediaServer] User home dir: /root
2013-07-27 16:06:54,875 INFO  [MediaServer] Temp dir: /tmp
2013-07-27 16:06:54,875 INFO  [MediaServer] ------------------------------------------------------------------------
2013-07-27 16:06:55,338 INFO  [WebServer] Socket buffer set to 65535 bytes
2013-07-27 16:06:55,356 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-07-27 16:06:55,491 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-07-27 16:06:55,492 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-07-27 16:06:55,548 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-07-27 16:07:04,186 INFO  [DBSchemaUpdateExecutor] Updating DB schema
2013-07-27 16:07:21,716 INFO  [DBSchemaUpdateExecutor] Cleaning persistent cache
2013-07-27 16:07:22,013 INFO  [Device] Created UPnP Device with UUID: dcf8e037-d503-3cef-9c9b-a4c3809832af, bound address: 10.0.0.200
2013-07-27 16:07:22,048 WARN  [IndexedDiskCache] Region [online_technical_metadata] Reseting cache
2013-07-27 16:07:22,344 INFO  [prefs] Created user preferences directory.
2013-07-27 16:07:22,524 INFO  [MediaServer] ------------------------------------------------------------------------
2013-07-27 16:07:22,524 INFO  [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2013-07-27 16:07:22,524 INFO  [MediaServer] ------------------------------------------------------------------------
2013-07-27 16:07:23,122 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2013-07-27 16:07:23,296 INFO  [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2013-07-27 16:07:23,323 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2013-07-27 16:07:23,328 INFO  [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2013-07-27 16:07:23,330 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2013-07-27 16:07:23,331 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2013-07-27 16:07:23,333 INFO  [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2013-07-27 16:07:23,336 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D/E-series)' (id=7)
2013-07-27 16:07:23,337 INFO  [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2013-07-27 16:07:23,342 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2013-07-27 16:07:23,345 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx90 (2012)' (id=bdp2012)
2013-07-27 16:07:23,355 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010)' (id=bdp2010)
2013-07-27 16:07:23,356 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010) - US' (id=bdp2010us)
2013-07-27 16:07:23,358 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx80/SMP-N200 (2011)' (id=bdp2011)
2013-07-27 16:07:23,359 INFO  [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2013-07-27 16:07:23,374 INFO  [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2013-07-27 16:07:23,375 INFO  [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2013-07-27 16:07:23,376 INFO  [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2013-07-27 16:07:23,377 INFO  [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2013-07-27 16:07:23,378 INFO  [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2013-07-27 16:07:23,387 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2013-07-27 16:07:23,388 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2013-07-27 16:07:23,390 INFO  [ProfilesDefinitionParser] Added profile 'Philips (2010-)' (id=plps2010)
2013-07-27 16:07:23,391 INFO  [ProfilesDefinitionParser] Added profile 'Philips (2009)' (id=20)
2013-07-27 16:07:23,392 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2013-07-27 16:07:23,392 INFO  [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2013-07-27 16:07:23,393 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2013-07-27 16:07:23,394 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2013-07-27 16:07:23,395 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2013-07-27 16:07:23,396 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2013-07-27 16:07:23,396 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2013-07-27 16:07:23,398 INFO  [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)


derby.log:
  Code:
----------------------------------------------------------------
Sun Jul 28 11:58:53 SAST 2013:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.9.1.0 - (1344872): instance a816c00e-0140-24b7-5fd1-00003b0fe0e5
on database directory /opt/serviio-1.2.1/library/db  with class loader sun.misc.Launcher$AppClassLoader@63c78e57
Loaded from file:/opt/serviio-1.2.1/lib/derby.jar
java.vendor=Sun Microsystems Inc.
java.runtime.version=1.6.0_27-b27
user.dir=/
derby.system.home=/opt/serviio-1.2.1/library
derby.stream.error.file=../log/derby.log
Database Class Loader started - derby.database.classpath=''


ffmpeg -version
  Code:
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  built on Apr  2 2013 17:02:36 with gcc 4.6.3


Thank you!!
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 28, 2013 10:39 am

Re: Serviio MediaBrowser not working on Ubuntu Server 12.04

That guide is a little out of date, Serviio now requires a much more recent version of ffmpeg than is available in the repos.

There are two guides available, http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux or http://ffmpeg.org/trac/ffmpeg/wiki/Ubun ... ationGuide

I prefer the first, but the second is safer if your not familiar with replacing package with ones built from source / if you have lots of packages that need the low level libraries.
Will

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

danielgoosen

Serviio newbie

Posts: 4

Joined: Sat Jul 27, 2013 2:20 pm

Post Sun Jul 28, 2013 12:57 pm

Re: Serviio MediaBrowser not working on Ubuntu Server 12.04

will wrote:That guide is a little out of date, Serviio now requires a much more recent version of ffmpeg than is available in the repos.

There are two guides available, http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux or http://ffmpeg.org/trac/ffmpeg/wiki/Ubun ... ationGuide

I prefer the first, but the second is safer if your not familiar with replacing package with ones built from source / if you have lots of packages that need the low level libraries.

Hi will!

I used the second guide and I have installed the new Ffmpeg, and here is the result:

ffmpeg -version
  Code:
ffmpeg version git-2013-07-28-f0308af
built on Jul 28 2013 14:42:28 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/home/daniel/ffmpeg_build --extra-cflags=-I/home/daniel/ffmpeg_build/include --extra-ldflags=-L/home/daniel/ffmpeg_build/lib --bindir=/home/daniel/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil      52. 40.100 / 52. 40.100
libavcodec     55. 19.100 / 55. 19.100
libavformat    55. 12.102 / 55. 12.102
libavdevice    55.  3.100 / 55.  3.100
libavfilter     3. 81.103 /  3. 81.103
libswscale      2.  4.100 /  2.  4.100
libswresample   0. 17.103 /  0. 17.103
libpostproc    52.  3.100 / 52.  3.100

But unfortunately it is still not working.

Apologies, the previous logs I gave was incomplete. The newest, complete, logs are attached to this post.
derby.log
Serviio Derby Log File
(624 Bytes) Downloaded 295 times
serviio.log
Serviio Log File
(69.84 KiB) Downloaded 308 times
Last edited by danielgoosen on Sun Jul 28, 2013 6:40 pm, edited 1 time in total.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 28, 2013 2:38 pm

Re: Serviio MediaBrowser not working on Ubuntu Server 12.04

Its still using the old version of ffmpeg (a problem that you don't get with the first guide). To fix it

Edit serviio/bin/serviio.sh and add -Dffmpeg.location=/path/to/ffmpeg/bin/ffmpeg to the JAVA_OPTS variable near the end of the file. This will tell serviio where to look for ffmpeg.
Will

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

danielgoosen

Serviio newbie

Posts: 4

Joined: Sat Jul 27, 2013 2:20 pm

Post Sun Jul 28, 2013 3:45 pm

Re: Serviio MediaBrowser not working on Ubuntu Server 12.04

will wrote:Its still using the old version of ffmpeg (a problem that you don't get with the first guide). To fix it

Edit serviio/bin/serviio.sh and add -Dffmpeg.location=/path/to/ffmpeg/bin/ffmpeg to the JAVA_OPTS variable near the end of the file. This will tell serviio where to look for ffmpeg.

Thank you so much!!! Problem is now solved!! :D

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 115 guests

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