Headless UMS on Rapsberry Pi Not Working
Posted: Tue Jun 30, 2015 1:25 pm
I'm trying to run UMS on a Raspberry Pi in headless mode but it isn't working. It starts up and gets to the point where it says "The server is available for renderers to find," but it doesn't show up on my PS3 (they both have a wired connection to the router, miniDLNA works and shows up on the PS3). I can connect to the web interface, but no files are viewable (I tried with some images, .mkv, and .avi). There are a few errors starting up, it's unable to load libraries libzen.so and libmediainfo.so, it looks like it's trying to load them from the UMS.jar? I have MediaInfo installed, but I can't find libzen or libmediainfo anywhere. There are also some errors with mplayer and ffmpeg, but I don't really know what they mean. I don't know if the not playing files and the not showing up on the PS3 are related, but any help towards solving either problem would be appreciated.
Here's the debug.log
Here's the debug.log
Code: Select all
DEBUG 21:14:30.108 [main] Mon Jun 29 21:14:30 EDT 2015
DEBUG 21:14:30.111 [main] Reading cred.path: "/home/emma/.config/UMS/UMS.cred" (default: "")
DEBUG 21:14:30.183 [main] PID: 14124
DEBUG 21:14:30.185 [main]
INFO 21:14:30.186 [main] Starting Universal Media Server 5.1.4
INFO 21:14:30.191 [main] Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 21:14:30.193 [main] http://www.universalmediaserver.com
INFO 21:14:30.194 [main]
INFO 21:14:30.195 [main] Build: f58cd7f87 (2015-06-14)
INFO 21:14:30.197 [main] Java: OpenJDK Zero VM 1.6.0_35 32-bit by Sun Microsystems Inc.
INFO 21:14:30.198 [main] OS: Linux 32-bit 3.18.11-v7+
INFO 21:14:30.200 [main] Encoding: UTF-8
INFO 21:14:30.239 [main] Memory: 742 MB
INFO 21:14:30.241 [main] Language: en
INFO 21:14:30.243 [main]
INFO 21:14:30.244 [main] Working directory: /home/emma/ums-5.1.4
INFO 21:14:30.248 [main] Temp directory: /tmp/universalmediaserver
INFO 21:14:30.252 [main] Logging config file: /home/emma/ums-5.1.4/logback.headless.xml
INFO 21:14:30.254 [main] debug.log: /home/emma/.config/UMS/debug.log
INFO 21:14:30.255 [main]
INFO 21:14:30.256 [main] Profile directory: /home/emma/.config/UMS
INFO 21:14:30.261 [main] Profile directory permissions: rw
INFO 21:14:30.262 [main] Profile path: /home/emma/.config/UMS/UMS.conf
INFO 21:14:30.265 [main] Profile permissions: rw
INFO 21:14:30.267 [main] Profile name: emmaberry
INFO 21:14:30.268 [main]
DEBUG 21:14:30.271 [main] Reading web_conf: "/home/emma/.config/UMS/WEB.conf" (previous: null, default: "/home/emma/.config/UMS/WEB.conf")
INFO 21:14:30.272 [main] Web conf path: /home/emma/.config/UMS/WEB.conf
INFO 21:14:30.274 [main] Web conf permissions: rw
INFO 21:14:30.275 [main]
INFO 21:14:30.369 [main] GUI environment not available
INFO 21:14:30.370 [main] Switching to console mode
DEBUG 21:14:30.623 [main] Checking dbgpack property in UMS.conf
DEBUG 21:14:30.685 [main] adding /home/emma/.config/UMS/WEB.conf
DEBUG 21:14:30.686 [main] adding /home/emma/.config/UMS/UMS.conf
DEBUG 21:14:30.687 [main] adding /home/emma/.config/UMS/debug.log.prev
DEBUG 21:14:30.688 [main] adding /home/emma/.config/UMS/debug.log
WARN 21:14:31.044 [main] Error loading libzen: Unable to load library 'zen': Native library (linux-arm/libzen.so) not found in resource path ([file:/home/emma/ums-5.1.4/update.jar, file:/home/emma/ums-5.1.4/ums.jar])
INFO 21:14:31.046 [main] Loading MediaInfo library
INFO 21:14:31.112 [main] Error loading MediaInfo library: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/home/emma/ums-5.1.4/update.jar, file:/home/emma/ums-5.1.4/ums.jar])
INFO 21:14:31.114 [main] Make sure you have libmediainfo and libzen installed
INFO 21:14:31.115 [main] The server will now use the less accurate FFmpeg parsing method
INFO 21:14:31.135 [main] Loading renderer configurations from /home/emma/ums-5.1.4/renderers
INFO 21:14:33.674 [main] Enabled 114 configurations, listed in order of loading priority:
INFO 21:14:33.679 [main] : Panasonic AS600
INFO 21:14:33.680 [main] : Panasonic AS650
INFO 21:14:33.681 [main] : Panasonic BDT220
INFO 21:14:33.682 [main] : Panasonic BDT360
INFO 21:14:33.683 [main] : Panasonic ET60
INFO 21:14:33.684 [main] : Panasonic Home Theater (SC-BTT)
INFO 21:14:33.685 [main] : Panasonic S60
INFO 21:14:33.687 [main] : Panasonic VT60
INFO 21:14:33.688 [main] : Sony Blu-ray (2013)
INFO 21:14:33.689 [main] : Xperia Z3
INFO 21:14:33.690 [main] : Chromecast
INFO 21:14:33.691 [main] : Hisense K680
INFO 21:14:33.692 [main] : LG LCD TV (2014)
INFO 21:14:33.693 [main] : LG LM660
INFO 21:14:33.694 [main] : LG LS5700
INFO 21:14:33.695 [main] : LG UB820V
INFO 21:14:33.696 [main] : LG WebOS TV
INFO 21:14:33.697 [main] : Panasonic TV
INFO 21:14:33.698 [main] : Samsung BD-C6800
INFO 21:14:33.699 [main] : Samsung D6400
INFO 21:14:33.700 [main] : Samsung D7000
INFO 21:14:33.701 [main] : Samsung EH5300
INFO 21:14:33.702 [main] : Samsung EH6070
INFO 21:14:33.704 [main] : Samsung ES6100
INFO 21:14:33.705 [main] : Samsung ES6575
INFO 21:14:33.706 [main] : Samsung ES8000
INFO 21:14:33.707 [main] : Samsung ES8005
INFO 21:14:33.708 [main] : Samsung F5100
INFO 21:14:33.709 [main] : Samsung F5505
INFO 21:14:33.710 [main] : Samsung F5900
INFO 21:14:33.711 [main] : Samsung H4500
INFO 21:14:33.712 [main] : Samsung H6203
INFO 21:14:33.713 [main] : Samsung H6400
INFO 21:14:33.715 [main] : Samsung H6500
INFO 21:14:33.716 [main] : Samsung HT-E3 Series
INFO 21:14:33.717 [main] : Samsung HT-F4
INFO 21:14:33.718 [main] : Samsung HU7000
INFO 21:14:33.719 [main] : Samsung HU9000
INFO 21:14:33.720 [main] : Xbox One
INFO 21:14:33.721 [main] : AirPlayer
INFO 21:14:33.722 [main] : Android
INFO 21:14:33.723 [main] : Azur BD
INFO 21:14:33.724 [main] : D-Link DSM-510
INFO 21:14:33.725 [main] : DirecTV
INFO 21:14:33.726 [main] : Freebox
INFO 21:14:33.727 [main] : Freecom MusicPal
INFO 21:14:33.729 [main] : Hama IR320
INFO 21:14:33.730 [main] : iPad / iPhone
INFO 21:14:33.731 [main] : KalemSoft Media Player
INFO 21:14:33.732 [main] : Kodi
INFO 21:14:33.733 [main] : LG LA6200
INFO 21:14:33.734 [main] : LG LA644V
INFO 21:14:33.735 [main] : LG LM620
INFO 21:14:33.736 [main] : LG Smart TV Upgrader
INFO 21:14:33.737 [main] : Logitech Squeezebox
INFO 21:14:33.738 [main] : Netgear NeoTV
INFO 21:14:33.739 [main] : Netgem N7700
INFO 21:14:33.740 [main] : Nokia N900
INFO 21:14:33.741 [main] : Onkyo TX-NR717
INFO 21:14:33.742 [main] : OPPO BDP
INFO 21:14:33.743 [main] : OPPO BDP-83
INFO 21:14:33.745 [main] : Panasonic BDT
INFO 21:14:33.746 [main] : Panasonic TX-L32V10E
INFO 21:14:33.747 [main] : Panasonic U30Z
INFO 21:14:33.748 [main] : Philips Aurea
INFO 21:14:33.749 [main] : Philips TV
INFO 21:14:33.750 [main] : Pioneer Kuro
INFO 21:14:33.751 [main] : PlayStation 3
INFO 21:14:33.752 [main] : PlayStation Vita
INFO 21:14:33.753 [main] : Popcorn Hour
INFO 21:14:33.754 [main] : Realtek
INFO 21:14:33.755 [main] : Roku 3 (NSP 3)
INFO 21:14:33.756 [main] : Roku 3 (NSP 5)
INFO 21:14:33.757 [main] : Samsung C/D Series
INFO 21:14:33.758 [main] : Samsung C6600
INFO 21:14:33.759 [main] : Samsung E+ Series
INFO 21:14:33.760 [main] : Samsung Galaxy S5
INFO 21:14:33.761 [main] : Samsung Mobile
INFO 21:14:33.763 [main] : Samsung SMT-G7400
INFO 21:14:33.764 [main] : Samsung WiseLink
INFO 21:14:33.766 [main] : Sharp Aquos
INFO 21:14:33.767 [main] : Showtime 3
INFO 21:14:33.768 [main] : Showtime 4
INFO 21:14:33.769 [main] : Sony Blu-ray
INFO 21:14:33.770 [main] : Sony Bravia 4500
INFO 21:14:33.771 [main] : Sony Bravia 5500
INFO 21:14:33.773 [main] : Sony Bravia BX305
INFO 21:14:33.774 [main] : Sony Bravia EX
INFO 21:14:33.775 [main] : Sony Bravia EX620
INFO 21:14:33.776 [main] : Sony Bravia HX
INFO 21:14:33.777 [main] : Sony Bravia HX75
INFO 21:14:33.778 [main] : Sony Bravia NX70x
INFO 21:14:33.779 [main] : Sony Bravia W
INFO 21:14:33.780 [main] : Sony Bravia XBR
INFO 21:14:33.781 [main] : Sony Home Theatre System
INFO 21:14:33.782 [main] : Sony SMP-N100
INFO 21:14:33.783 [main] : Sony STR-DA5800ES
INFO 21:14:33.784 [main] : Sony Xperia Z/ZL/ZQ/Z1/Z2
INFO 21:14:33.785 [main] : Streamium
INFO 21:14:33.786 [main] : Technisat S1+
INFO 21:14:33.787 [main] : Telefunken TV
INFO 21:14:33.788 [main] : Telstra T-Box
INFO 21:14:33.789 [main] : Thomson U3 Series
INFO 21:14:33.790 [main] : Unknown renderer
INFO 21:14:33.791 [main] : VideoWeb TV
INFO 21:14:33.792 [main] : Vizio Smart TV
INFO 21:14:33.793 [main] : WD TV Live
INFO 21:14:33.794 [main] : WMP
INFO 21:14:33.795 [main] : XBMC
INFO 21:14:33.796 [main] : Xbox 360
INFO 21:14:33.797 [main] : Yamaha R-N500
INFO 21:14:33.798 [main] : Yamaha RX-A1010
INFO 21:14:33.799 [main] : Yamaha RX-V3900
INFO 21:14:33.800 [main] : Yamaha RX-V671
DEBUG 21:14:33.802 [main] Reading renderer_default: "Unknown renderer" (default: "")
DEBUG 21:14:34.523 [main] UPNP Services are online, listening for media renderers
DEBUG 21:14:34.532 [main] Attached http player control handler to web server
INFO 21:14:39.792 [main] Checking the fontconfig cache in the background, this can take two minutes or so.
DEBUG 21:14:39.826 [mplayer-0] Starting mplayer dummy
DEBUG 21:14:39.826 [ffmpeg-1] Starting ffmpeg -y -f lavfi -i nullsrc=s=720x480:d=1:r=1 -vf ass=DummyInput.ass -target ntsc-dvd -
INFO 21:14:39.866 [main] Searching for plugins in /home/emma/ums-5.1.4/plugins
INFO 21:14:39.884 [main] No plugins found
DEBUG 21:14:40.525 [mplayer-0-2] mplayer: could not connect to socket
DEBUG 21:14:40.526 [mplayer-0-2] mplayer: No such file or directory
DEBUG 21:14:40.527 [ffmpeg-1-2] ffmpeg version 0.8.17-6:0.8.17-1+rpi1, Copyright (c) 2000-2014 the Libav developers
DEBUG 21:14:40.527 [mplayer-0-2] Failed to open LIRC support. You will not be able to use your remote control.
DEBUG 21:14:40.529 [ffmpeg-1-2] built on Mar 25 2015 00:39:58 with gcc 4.6.3
DEBUG 21:14:40.529 [mplayer-0-2] File not found: 'dummy'
DEBUG 21:14:40.530 [ffmpeg-1-2] The ffmpeg program is only provided for script compatibility and will be removed
DEBUG 21:14:40.531 [ffmpeg-1] Attaching thread: ffmpeg-1
DEBUG 21:14:40.531 [mplayer-0-2] Failed to open dummy.
DEBUG 21:14:40.531 [ffmpeg-1-2] in a future release. It has been deprecated in the Libav project to allow for
DEBUG 21:14:40.533 [ffmpeg-1-2] incompatible command line syntax improvements in its replacement called avconv
DEBUG 21:14:40.534 [ffmpeg-1-2] (see Changelog for details). Please use avconv instead.
DEBUG 21:14:40.534 [ffmpeg-1-2] Unknown input format: 'lavfi'
DEBUG 21:14:40.540 [ffmpeg-1] Unix process ID (ffmpeg): 14167
INFO 21:14:40.580 [ffmpeg-1] Process ffmpeg has a return code of 1! Maybe an error occurred... check the log file
INFO 21:14:40.713 [main] Registering transcoding engine: FFmpeg Audio
DEBUG 21:14:40.730 [mplayer-0] Attaching thread: mplayer-0
DEBUG 21:14:40.739 [mplayer-0] Unix process ID (mplayer): 14165
INFO 21:14:40.775 [main] Registering transcoding engine: MEncoder
INFO 21:14:40.776 [main] Registering transcoding engine: FFmpeg
INFO 21:14:40.782 [main] Registering transcoding engine: VLC
DEBUG 21:14:40.799 [main] Error reading ffmpeg web filters: File '/home/emma/.config/UMS/ffmpeg.webfilters' does not exist
DEBUG 21:14:40.980 [main] FFmpeg supported protocols: [applehttp, concat, crypto, file, gopher, http, httpproxy, https, mmsh, mmst, pipe, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtp, tcp, tls, udp, mms]
INFO 21:14:40.982 [main] Registering transcoding engine: FFmpeg Web Video
INFO 21:14:40.984 [main] Registering transcoding engine: MEncoder Web
INFO 21:14:40.986 [main] Registering transcoding engine: VLC Web Video
INFO 21:14:40.996 [main] Registering transcoding engine: tsMuxeR
INFO 21:14:40.998 [main] Registering transcoding engine: Audio High Fidelity
INFO 21:14:41.001 [main] Registering transcoding engine: VLC Web Audio (Legacy)
INFO 21:14:41.003 [main] Registering transcoding engine: VLC Web Video (Legacy)
INFO 21:14:41.006 [main] Registering transcoding engine: dcraw Thumbnailer
INFO 21:14:41.048 [main] Using address /10.8.0.1 found on network interface: name:tun0 (tun0)
INFO 21:14:41.050 [main] Created socket: /10.8.0.1:5001
DEBUG 21:14:41.102 [main] Using SLF4J as the default logging framework
DEBUG 21:14:41.109 [main] -Dio.netty.eventLoopThreads: 8
DEBUG 21:14:41.186 [main] java.nio.Buffer.address: available
DEBUG 21:14:41.188 [main] sun.misc.Unsafe.theUnsafe: available
DEBUG 21:14:41.190 [main] sun.misc.Unsafe.copyMemory: available
DEBUG 21:14:41.193 [main] java.nio.Bits.unaligned: false
DEBUG 21:14:41.195 [main] Java version: 6
DEBUG 21:14:41.196 [main] -Dio.netty.noUnsafe: false
DEBUG 21:14:41.197 [main] sun.misc.Unsafe: available
DEBUG 21:14:41.200 [main] -Dio.netty.noJavassist: false
DEBUG 21:14:41.748 [main] Javassist: available
DEBUG 21:14:41.752 [main] -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
DEBUG 21:14:41.753 [main] -Dio.netty.bitMode: 32 (sun.arch.data.model)
DEBUG 21:14:41.753 [main] -Dio.netty.noPreferDirect: false
DEBUG 21:14:41.930 [main] -Dio.netty.noKeySetOptimization: false
DEBUG 21:14:41.931 [main] -Dio.netty.selectorAutoRebuildThreshold: 512
DEBUG 21:14:41.998 [cling-38] Ignoring device: InternetGatewayDevice (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:upnp-InternetGatewayDevice-1_0-3cdfa92c5c35, Descriptor: http://192.168.1.1:80/RootDevice.xml, Root: true
DEBUG 21:14:42.000 [cling-38] Ignoring embedded device: urn:schemas-upnp-org:device:WANDevice:1 (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:upnp-WANDevice-1_0-3cdfa92c5c35, Descriptor: http://192.168.1.1:80/RootDevice.xml, Root: false
DEBUG 21:14:42.155 [main] -Dio.netty.initialSeedUniquifier: 0x4b8f1436d8e01742 (took 4 ms)
DEBUG 21:14:42.335 [main] -Dio.netty.allocator.type: unpooled
DEBUG 21:14:42.336 [main] -Dio.netty.threadLocalDirectBufferSize: 65536
DEBUG 21:14:42.345 [main] Loopback interface: lo (lo, 127.0.0.1)
DEBUG 21:14:42.350 [main] /proc/sys/net/core/somaxconn: 128
INFO 21:14:42.454 [main] WEB interface is available at: http://10.8.0.1:9001
DEBUG 21:14:42.483 [main] Using database URL: jdbc:h2:/home/emma/ums-5.1.4/database/medias
INFO 21:14:42.484 [main] Using database located at: /home/emma/ums-5.1.4/database
DEBUG 21:14:43.081 [ffmpeg-1-Cleanup] Stopping Unix process 14167: ffmpeg-1
DEBUG 21:14:43.244 [mplayer-0-Cleanup] Stopping Unix process 14165: mplayer-0
DEBUG 21:14:44.249 [main] Database file count: 0
DEBUG 21:14:44.250 [main] Database version: 4
INFO 21:14:44.395 [main] A tiny cache admin interface is available at: http://10.8.0.1:5001/console/home
DEBUG 21:14:44.693 [main] master is internal:net.pms.dlna.RealFile str [a4e]Paranoia_Agent_01[divx5.2.1].mkv>/media/usb0/VIDEO/Paranoia Agent/[a4e]Paranoia_Agent_01[divx5.2.1].mkv
DEBUG 21:14:44.717 [main] master is internal:net.pms.dlna.RealFile str Se7en.avi>/media/Se7en.avi
DEBUG 21:14:44.721 [main] master is internal:net.pms.dlna.RealFile str [a4e]Paranoia_Agent_01[divx5.2.1].mkv>/media/usb0/VIDEO/Paranoia Agent/[a4e]Paranoia_Agent_01[divx5.2.1].mkv
DEBUG 21:14:44.726 [main] master is internal:net.pms.dlna.RealFile str Se7en.avi>/media/usb0/torrents/completed/Se7en.avi
DEBUG 21:14:44.731 [main] master is internal:net.pms.dlna.RealFile str Se7en.avi>/media/usb0/torrents/completed/Se7en.avi
DEBUG 21:14:44.951 [main] Sending ALIVE...
DEBUG 21:14:44.961 [main] Reading uuid: "c602aeb9-9da6-4e63-a9d7-27b0e8f48cde" (default: null)
INFO 21:14:44.962 [main] Using the following UUID configured in UMS.conf: c602aeb9-9da6-4e63-a9d7-27b0e8f48cde
DEBUG 21:14:45.190 [nioEventLoopGroup-3-2] -Dio.netty.leakDetectionLevel: simple
INFO 21:14:45.239 [main] The server is now available for renderers to find
DEBUG 21:14:45.316 [nioEventLoopGroup-3-1] Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.HttpObjectMatcher
DEBUG 21:14:45.343 [nioEventLoopGroup-3-1] Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.FullHttpRequestMatcher
DEBUG 21:14:45.368 [nioEventLoopGroup-3-2] -Dio.netty.recycler.maxCapacity.default: 262144
DEBUG 21:14:45.403 [nioEventLoopGroup-3-1] java.nio.ByteBuffer.cleaner(): available
DEBUG 21:14:55.232 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 21:15:00.104 [pool-1-thread-1] file req /files/log/1625258005