From owner-freebsd-ports@FreeBSD.ORG Tue Mar 18 23:36:44 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FC58DBD for ; Tue, 18 Mar 2014 23:36:44 +0000 (UTC) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1704CEB8 for ; Tue, 18 Mar 2014 23:36:43 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id w61so6385707wes.18 for ; Tue, 18 Mar 2014 16:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Rp0VKPuBHOSpby/4u0CL0tup0dGI4KL6yybva+Or+t8=; b=ki7Nm8vxyD2T2cNPJKQew2Nlabi5xniLJJ92/k3XKAIVBIwlZdAfu7p7ltNEApkWqV 1yNeYkrH4KL3Smhpfms2GrRYH7bG4kthTyz7v/Pi26pnt6Y3tH3/WTn0g21ks8UsYaiX EjMiz9qAN40wUIvzH3zAmg2yrlE5izegCgsIySgSUTJzUFPvt51xsDMEuGOOP6pQlThq rfJwlKKWDjyqLOAw+vUOt5jqL//LjO0EDmBY6W6DEKW8DGE89iCI+/RF+NsWrUVqdt6u ZQIAcCejNXnLkC/gUBbGPwlU0cADLTLE71BSUHTyTRcTy6KIQ5zjBLv9UfxLlpN20Oth kqHg== X-Received: by 10.180.83.196 with SMTP id s4mr13990229wiy.24.1395185802005; Tue, 18 Mar 2014 16:36:42 -0700 (PDT) Received: from x220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPSA id fo6sm38959946wib.7.2014.03.18.16.36.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Mar 2014 16:36:41 -0700 (PDT) Message-ID: <5328D887.3080901@gmail.com> Date: Tue, 18 Mar 2014 23:36:39 +0000 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-ports Subject: Plex Media Server Port issues Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 23:36:44 -0000 Hi, I'm experiencing 3 issues with the Plex Media Server.... My configuration is running FreeBSD 10.0 x64 with the ports tree up to date. Issue 1: Upon first installing the port everything went fine however, PMS wouldn't start and kept complaining about a Python C Lang issue... Google'ing I managed to find a FreeBSD Forum posting stating to insert this line: #!/bin/sh export LD_LIBMAP="/lib/libc.so.7 /usr/local/share/plexmediaserver/libc.so.7" in the start.sh file located in: /usr/local/share/plexmediaserver In addition I had to comment out these two lines: #export LC_ALL="en_US.UTF-8" #export LANG="en_US.UTF-8" in the start.sh file. Issue 2: As I'm running PMS in a Jail on a headless server, for some reason the rc script doesn't start properly?? This is quite weird... Using an SSH tunnel running: service plexmediaserver start or the /usr/local/etc/rc.d/plexmediaserver start method, not all services seem to come up properly. Running ./start.sh sometimes works but not all. I managed to find the solution in running: service plexmediaserver start from Xterm using a VNC server/client - tightvnc on the FBSD jail while GTK-VNC on my Linux desktop. Probably linked in with this is that not VNC'ing leaves me unable to login at the web interface. Putting my Plex ID/passwd combo in doesn't do a thing. The VNC method allows me unconditional access with no login prompts or anything. I have customized the Preferences.xml file in /usr/local/plexdata to allow local-subnets access in any case so this issue is simply just odd! Issue 3: For some reason the DLNA server doesn't work properly.... Though it does show up as online using ps: plex 89291 0.0 0.2 139844 17808 - SJ 10:40PM 0:00.15 /usr/local/share/plexmediaserver/Plex DLNA Server It doesn't seem to broadcast itself. I'm running a few uPNP clients on Android which I like to test connectivity with though I have the official Plex app installed too, but none of them see the server? Running XBMC or the Playstation3 Media Server on my Linux Desktop is fine as the phone sees those without any issue. Since I have my networks in separate vlans I'm running IGMPProxy on my router to enable cross-network igmp communication. It works fine and the config is totally correct; using tcpdump I can even see traffic being broadcast between both the Android and the Plex server to: 239.255.255.250 (uPNP/DLNA multicast address) but the phone simply doesn't see the server?? I don't know if this is a Plex issue in itself or something that just simply needs patching in the port but for now one really needs to wrestle with the service to get it to work properly. I wonder if anyone has any ideas to resolve the above? Regards, Kaya