PlexConnect on Asustor NAS

Recently I moved my PMS/PlexConnect setup from a hackintosh over to a new Asustor NAS, and I have built an installer package for PlexConnect for Asustor NAS boxes.

 

I was curious as to if there is anyone else out there interesting in testing the package, and if there was enough interest to bother uploading it to App Central?

 

Currently it installs itself to run on port 9999 and 10000 for SSL, installs the appropriate apache vhost, and on first install generates new certificates on device. Also on update, it has the ability to backup the certificates and Settings/ATVSettings.cfg files, and restore them after the upgrade is completed.

I have an asustor 202 te and I would love to try it out. How do I do?


Hans



Sent from my iPhone using Tapatalk

Count me in. I'm about to get an appletv to test out plex on it and would like to try out the install package.

I believe this is a copy of my most recent build:

Settings default to:

[PlexConnect]

enable_plexgdm = True
ip_pms = 192.168.178.10
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 127.0.0.1
hosttointercept = trailers.apple.com
port_webserver = 9999
enable_webserver_ssl = True
port_ssl = 10000
certfile = ../config/certificates/trailers.pem
loglevel = Normal
logpath = .
 
Upon install the app will grab the latest version of plexconnect from the git master branch, generate new certificates, install the apache vhost file and setup the required apache modules. 
 
plexconnect_20140630_any.apk.zip (11.7 KB)

Found one issue on my AS-202T.

PlexConnect will not start when the start_stop script user is set to admin:administrators. I had to change it to root:root.

Still have not been able to connect appleTV to the Plexconnect, it just states 'Trailers are not available'.

Got this pack up and running and working on my NAS.

I get you a list of the changes I had to make it work, to potentially make a new package.

One thing I also did was change from using the trailers app to using the imovie app, and it works great :-)

One thing that I did not explicitly mention, is that when you run the installer, it generates new ssl certificates for you, so, in order for plexconnect to function, it requires you to install the new certificates to the ATVs using this method here: https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Certificate-via-Ethernet

If you want to re-use a set of certificates that you have from a previous installation, you must place them in the /usr/local/AppCentral/plexconnect/config/certificates/ directory.

I am not sure if that was the cause of your issue, but I know it is something that I forget about everytime I mess with my installation.

I would like to see the changes that you had to make to get it to work for you, and from there I can make any changes to the package, rebuild it, and push it up to AppCentral.

Yes I knew about the step of getting the certificates onto the AppleTV. That was not the problem, it seemed as though apache was not redirecting port 80 to 9999 and possible 443 to 10000. I had to remove the nocanon from the ProxyPass line in the apache config file to get it to work. I'll zip up the PlexConnect and config dirs and PM the changes to you.

Hi, is this one working for you now? I can't make it work 100% Tips?

I've finally gotten around to getting the relavant files off my nas and zipped up and coppied onto here. The files contains the following:

config/PlexConnect.conf.* <- Apache config files for with trailers and imovies apps. PlexConnect.config is then a symbolic link to one or the other.

config/Settings.cfg.* <- Same to plexconnect settings. Settings.cfg is then a symbolic link to one or the other.

CONTROL/start-stop/sh <- I changed the RUNAS to root:root so that the DNS server actually started.

Hopefully that helps and allows the change to be put on tho the Asustor Apps site.

I aslo changed the ports to 10000 and 10001 as 9999 would conflict with the downloader app.

I've finally gotten around to getting the relavant files off my nas and zipped up and coppied onto here.

Hi genesispc,

sounds very interesting and promising as I have tried the "plexconnect trailer workaround" for my windows desktop machine (works nice) but doing it with my asustor 302 would be even better. Unfortunately, I'm a completely noob and I have no clue how to get this running on my NAS.

Any chance you share a short how to? Thanks in advance.

Hi, Ive been trying this over the last couple of days but without any luck,

Has anyone managed to get this working on an Asustor? 

Cheers

I believe this is a copy of my most recent build:

Settings default to:

[PlexConnect]

enable_plexgdm = True
ip_pms = 192.168.178.10
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 127.0.0.1
hosttointercept = trailers.apple.com
port_webserver = 9999
enable_webserver_ssl = True
port_ssl = 10000
certfile = ../config/certificates/trailers.pem
loglevel = Normal
logpath = .
 
Upon install the app will grab the latest version of plexconnect from the git master branch, generate new certificates, install the apache vhost file and setup the required apache modules. 
 

Hi

How can I convert yours .zip file to .apk so I can install it on NAS?

It is a zipped apk, just unzip it   ;)

Sorry I quote wrong post. I want to install file from post below. because first app use port 9999 which is allready used by download app on my NAS.

I've finally gotten around to getting the relavant files off my nas and zipped up and coppied onto here. The files contains the following:

config/PlexConnect.conf.* <- Apache config files for with trailers and imovies apps. PlexConnect.config is then a symbolic link to one or the other.

config/Settings.cfg.* <- Same to plexconnect settings. Settings.cfg is then a symbolic link to one or the other.

CONTROL/start-stop/sh <- I changed the RUNAS to root:root so that the DNS server actually started.

Hopefully that helps and allows the change to be put on tho the Asustor Apps site.

I aslo changed the ports to 10000 and 10001 as 9999 would conflict with the downloader app.

Hello!

I´m trying to install this on my asustor but as mention above so is port 999 used by downloader app. How do I turn the other zip file above to an apk file?

/Hans

Has anyone been able to install and get working PlexCennect on a Asustor NAS that genesispc posted a while back?

I dont understand how to start or stop the script or anything, my NAS runs with an IP of 192.168.1.100 do i need to change settings to get anything to work?

I was running Plexconnect from my Alienware perfectly before i got my NAS, and we have all grown very accustomed to using PLEX andreally want it back working

#17 Cant get it to run either. I have tried installing via putty, and running it there, but the port 80 and 443 is conflicting with other programs already using those ports. When I move the ports to another range aka 10000 and 10001 - I need somthing to tell the Asustor NAS, that an incomming call on port 80 should be redirected to 10000.

I got everything here running, but it seems the apache vhost files are not actually working. The default webserver is still bouncing requests from port 80 to port 8000 (default web admin page for the NAS) and not redirecting the requests for trailers.apple.com to port 10000. (I did also change my ports to 10000 and 10001). I’ve stopped trying because one thing that I couldn’t seem to install on the Asustor is the Python Imaging Library (PIL) which means that FanArt backgrounds etc will not work with PlexConnect (and I quite like them!). Other than that this is a good project which seems sadly no longer supported.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.