Having moved from a Synology ARM NAS to a QNAP Intel NAS I faced several challenges. One of them was “how to install PlexConnect”. In the absence of an installer (similar to what I had on Synology) I’ve installed PlexConnect using the following steps:
- Python - In order to have PIL I’ve selected QPython2 from https://www.forum-nas.fr/viewtopic.php?t=1477 (ver 2.7.12 X64 in my case because 2.7.13 X64 seems to have PIL broken)
- Create a PlexConnect shared folder, download PlexConnect from git and modify PlexConnect_daemon.bash to use QPython2 (line 21 now reads PYTHON="/opt/QPython2/bin/python")
- Create two folders “certificates” and “logs” (not really necessary but I like to have separate folders for that)
- In order to free port 443 - Disable “Enable secure connection (HTTPS)”
- In order to free port 80 - Enable Web Server on port 81 (I hope that using port 80 for PlexConnect does not prevents me using Let’s Encrypt certificates, I’ll think about that later, anyhow I can stop PlexConnect and renew the certificates manually, so this is not a problem)
- Copied my certs from the Syno to QNAP (but I could have generated new ones using PlexConnect’s documentation)
- Create a Settings.cfg file
[PlexConnect]
enable_plexgdm = False <=== you can use True if you prefer
ip_pms = 10.100.10.100
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 10.100.10.1
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
hosttointercept = video-api-secure.wsj.com <=== to intercept WSJ Video instead of trailers
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = /share/PlexConnect/certificates/marketwatch.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = Normal
logpath = /share/PlexConnect/logs
- Setup autorun using Q17 from https://forums.plex.tv/discussion/175405/qnap-faq-read-me-first#p1
- Start / stop PlexConnect from the UI - as I’m using PMSLibShare (https://forums.plex.tv/discussion/234641/create-a-share-for-plex-library-directory#p1), I’ve added two lines to file /etc/init.d/PMSLibShare.sh (“sh /share/PlexConnect/PlexConnect_daemon.bash start” and “sh /share/PlexConnect/PlexConnect_daemon.bash stop”)
Process implemented and tested on a TS-253A with QTS 4.3.2 (beta2) and ONLY ONE ethernet port active.