PlexConnect running on a QNAP NAS

I have been having issues trying to install PlexConnect on my QNAP TS219.
It appears that everything is starting correctly. But the script never seem to completely run. I have followed the forum on the QNAP page as closely as possible. In order to get the scrip to run i had to use
#/share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py -d

I believe that the entire command line didnt work because i dont have python installed in that directory. I believe. I am very new to programming. Any help would be greatly appreciated!



[~] # /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py
00:41:43 PlexConnect: ***
00:41:43 PlexConnect: PlexConnect
00:41:43 PlexConnect: Press CTRL-C to shut down.
00:41:43 PlexConnect: ***
00:41:43 PlexConnect: started: 00:41:43
00:41:43 PlexConnect: IP_self: 192.168.100.2
00:41:43 DNSServer: started: 00:41:43
00:41:43 DNSServer: ***
00:41:43 DNSServer: Starting up.
00:41:43 DNSServer: intercept trailers.apple.com: 192.168.100.2
00:41:43 DNSServer: forward other to higher level DNS: 8.8.8.8
00:41:43 DNSServer: ***
00:41:44 WebServer: started: 00:41:44
00:41:44 WebServer: ***
00:41:44 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
00:41:44 WebServer: ***
00:41:44 PlexGDM: ***
00:41:44 PlexGDM: looking up Plex Media Server
00:41:44 PlexGDM: ***
00:41:45 PlexGDM: servers discovered: 1
00:41:45 XMLConverter: PlexGDM - PMS: 192.168.100.2:3240

I have been having issues trying to install PlexConnect on my QNAP TS219.
It appears that everything is starting correctly. But the script never seem to completely run. I have followed the forum on the QNAP page as closely as possible. In order to get the scrip to run i had to use
#/share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py -d

I believe that the entire command line didnt work because i dont have python installed in that directory. I believe. I am very new to programming. Any help would be greatly appreciated!



[~] # /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py
00:41:43 PlexConnect: ***
00:41:43 PlexConnect: PlexConnect
00:41:43 PlexConnect: Press CTRL-C to shut down.
00:41:43 PlexConnect: ***
00:41:43 PlexConnect: started: 00:41:43
00:41:43 PlexConnect: IP_self: 192.168.100.2
00:41:43 DNSServer: started: 00:41:43
00:41:43 DNSServer: ***
00:41:43 DNSServer: Starting up.
00:41:43 DNSServer: intercept trailers.apple.com: 192.168.100.2
00:41:43 DNSServer: forward other to higher level DNS: 8.8.8.8
00:41:43 DNSServer: ***
00:41:44 WebServer: started: 00:41:44
00:41:44 WebServer: ***
00:41:44 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
00:41:44 WebServer: ***
00:41:44 PlexGDM: ***
00:41:44 PlexGDM: looking up Plex Media Server
00:41:44 PlexGDM: ***
00:41:45 PlexGDM: servers discovered: 1
00:41:45 XMLConverter: PlexGDM - PMS: 192.168.100.2:3240

Did you use a dummy qpkg package to auto run the PlexConnect.py? If so, the script to execute PlexConnect when you're NAS starts should look like this:

#!/bin/sh
sleep 30
/share/MD0_DATA/.qpkg/Python/bin/python /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py -d

With this script PlexConnect starts whenever my NAS boots. The sleep 30 line will make PlexConnect wait so the PMS server has enough time to start.

I have this working on my Qnap TS-410.

FYI

The "/Library" folder only exists when Plex Media Server is started.

So if you add PlexConnect.py to your autostart.sh, chances are that it will not get started simply because it is not available at the time because the "/root/Library" symlink is not created yet.

I copied PlexConnect into

/share/MD0_DATA/.qpkg/PlexConnect

I now have the plex script running properly through putty. My Question is I dont seem to see any instructions on how run the script in a qpkg package. So that I can run when the server starts up.

I now have the plex script running properly through putty. My Question is I dont seem to see any instructions on how run the script in a qpkg package. So that I can run when the server starts up.

This part is the hardest on the QNAP, however have a look here as it goes through some steps and where to find the wiki process

http://forum.qnap.com/viewtopic.php?f=260&t=77700

I am going to attmept this myself soon, but let me know how you go

PEACE

Kosti

So I finally attempted to setup/install PlexConnect by using a number of different threads from here and this one http://forum.qnap.com/viewtopic.php?f=260&t=77700

I also used the git command to grab PlexConnect and to keep it neat since I am not that good with the command line..

# git clone https://github.com/iBaa/PlexConnect.git

Now I forgot to grab the python install so I did this last so I think maybe this is what I cannot run the PlexConnect.py file...

I get the error

env: python: No such file or directory

So I assume this has something to do with my paths??

echo $PATH show this

/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/opt/bin:/opt/sbin

I used the Optware IPKG to install both python and tools and when i check it under IPKG is show them installed

python27        2.7.3-1

py27-setuptools    0.6c11-2

This is where I am stuck as I cannot execute plexconnect..

What did I break, was the fact I installed python after plexconnect the issue?

I continued though the rest of the process so when I do get the start up going, the rest is done like the creation of the dummy package

by : vi /etc/config/qpkg.conf

[PlexConnect_AutoRun]
Name = PlexConnect
Version = 0.1
Author = urname
Date = todays date
Shell = /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
Install_Path = /share/MD0_DATA/.qpkg/PlexConnect
Enable = TRUE

then I create my SH file in the PlexConnect directory & create the autorun script with the contents using again vi : vi /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
and add the below

#!/bin/sh

#Start PlexConnect

sleep 30
/share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py -d &

Then I set execution bit

chmod +x /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
 

Now all I need is to find out why python is not seeing the plexconnect folder or if python is installed correctly as my command line skills are not very good

Thanks

Kosti

Hello everybody,

I need your help ! My PlexConnect doesn't work  :wacko:

Where is my problem?

 
APTV
Software APTV: 5.3 (6105)
Version system : 6.1.4 (10B809)
IP adresse: 192.168.0.16
DNS : 192.168.0.250 (my PMS address, It's OK?)
 
QNAP
Version 569L with firmware 4.0.1
Web Server port : running on port 82
IP adresse QNAP / PMS : 192.168.0.250
Plex Server version : 0.9.7.28 (running on port 32400)
 
QNAP Web Server configuration

It's OK?

 
Python Version
2.7
 
Install location PlexConnect on QNAP
/share/MD0_DATA/.qpkg
 
Source Install
# git clone https://github.com/iBaa/PlexConnect.git
 
Setting.cfg
[PlexConnect]
port_pms = 32400
enable_plexgdm = True
ip_dnsmaster = 8.8.8.8 (Default Setting.cfg address, it's OK?)
ip_webserver = 0.0.0.0 (Default Setting.cfg address, it's OK?)
loglevel = High
enable_dnsserver = True
logpath = .
ip_pms = 192.168.0.250 (My QNAP adresse and Plex installation, it's OK?)
port_webserver = 80 (Default Setting.cfg address, it's OK?)
 
Run PlexConnect
[/share/MD0_DATA/.qpkg/PlexConnect] # ./PlexConnect.py 
01:24:24 PlexConnect: ***
01:24:24 PlexConnect: PlexConnect
01:24:24 PlexConnect: Press CTRL-C to shut down.
01:24:24 PlexConnect: ***
01:24:24 PlexConnect: started: 01:24:24
01:24:24 PlexConnect: IP_self: 192.168.0.250
01:24:24 DNSServer: started: 01:24:24
01:24:24 DNSServer: ***
01:24:24 DNSServer: Starting up.
01:24:24 DNSServer: intercept trailers.apple.com: 192.168.0.250
01:24:24 DNSServer: forward other to higher level DNS: 8.8.8.8
01:24:24 DNSServer: ***
01:24:24 WebServer: started: 01:24:24
01:24:24 WebServer: ***
01:24:24 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
01:24:24 WebServer: ***
01:24:24 PlexGDM: ***
01:24:24 PlexGDM: looking up Plex Media Server
01:24:24 PlexGDM: ***
01:24:25 PlexGDM: servers discovered: 1
01:24:25 XMLConverter: PlexGDM - PMS: 192.168.0.250:32400
01:24:25 DNSServer: DNS request received!
01:24:25 DNSServer: Source: ('192.168.0.16', 51584)
01:24:25 DNSServer: Domain: phobos.apple.com
01:24:25 DNSServer: ***forward request
01:24:25 DNSServer: -> DNS response from higher level
01:24:26 DNSServer: DNS request received!
01:24:26 DNSServer: Source: ('192.168.0.16', 51584)
01:24:26 DNSServer: Domain: phobos.apple.com
01:24:26 DNSServer: ***forward request
01:24:26 DNSServer: -> DNS response from higher level
01:24:29 DNSServer: DNS request received!
01:24:29 DNSServer: Source: ('192.168.0.16', 51584)
01:24:29 DNSServer: Domain: phobos.apple.com
01:24:29 DNSServer: ***forward request
01:24:29 DNSServer: -> DNS response from higher level
01:24:38 DNSServer: DNS request received!
01:24:38 DNSServer: Source: ('192.168.0.16', 51584)
01:24:38 DNSServer: Domain: phobos.apple.com
01:24:38 DNSServer: ***forward request
01:24:38 DNSServer: -> DNS response from higher level
 
Log file
[/share/MD0_DATA/.qpkg/PlexConnect] # vi PlexConnect.log 
 
01:24:24 PlexConnect: started: 01:24:24
01:24:24 PlexConnect: IP_self: 192.168.0.250
01:24:24 Settings: getsetting enable_dnsserver=True
01:24:24 DNSServer: started: 01:24:24
01:24:24 Settings: getsetting ip_dnsmaster=8.8.8.8
01:24:24 DNSServer: ***
01:24:24 DNSServer: Starting up.
01:24:24 DNSServer: intercept trailers.apple.com: 192.168.0.250
01:24:24 DNSServer: forward other to higher level DNS: 8.8.8.8
01:24:24 DNSServer: ***
01:24:24 WebServer: started: 01:24:24
01:24:24 Settings: getsetting ip_webserver=0.0.0.0
01:24:24 Settings: getsetting port_webserver=80
01:24:24 WebServer: ***
01:24:24 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
01:24:24 WebServer: ***
01:24:24 ATVSettings: init class CATVSettings
01:24:24 ATVSettings: load settings
01:24:24 Settings: getsetting enable_plexgdm=True
01:24:24 PlexGDM: ***
01:24:24 PlexGDM: looking up Plex Media Server
01:24:24 PlexGDM: ***
01:24:24 PlexGDM: Sending discovery message: M-SEARCH * HTTP/1.0
01:24:24 PlexGDM: Received data from ('192.168.0.250', 32414)
01:24:24 PlexGDM: Data received:
 HTTP/1.0 200 OK^M
Content-Type: plex/media-server^M
Resource-Identifier: 79f0ecb9370fe2038efc04ec732be4653ddcce40^M
Name: Serveur Plex^M
Port: 32400^M
Updated-At: 1374982144^M
Version: 0.9.7.28.0-2b33a71^M
^M
 
01:24:25 PlexGDM: servers discovered: 1
01:24:25 PlexGDM: Serveur Plex 192.168.0.250:32400
01:24:25 XMLConverter: PlexGDM - PMS: 192.168.0.250:32400
01:24:25 DNSServer: DNS request received!
01:24:25 DNSServer: Source: ('192.168.0.16', 51584)
01:24:25 DNSServer: Domain: phobos.apple.com
01:24:25 DNSServer: ***forward request
01:24:25 DNSServer: -> DNS response from higher level
01:24:26 DNSServer: DNS request received!
01:24:26 DNSServer: Source: ('192.168.0.16', 51584)
01:24:26 DNSServer: Domain: phobos.apple.com
01:24:26 DNSServer: ***forward request
01:24:26 DNSServer: -> DNS response from higher level
01:24:29 DNSServer: DNS request received!
01:24:29 DNSServer: Source: ('192.168.0.16', 51584)
01:24:29 DNSServer: Domain: phobos.apple.com
01:24:29 DNSServer: ***forward request
01:24:29 DNSServer: -> DNS response from higher level
01:24:38 DNSServer: DNS request received!
01:24:38 DNSServer: Source: ('192.168.0.16', 51584)
01:24:38 DNSServer: Domain: phobos.apple.com
01:24:38 DNSServer: ***forward request
01:24:38 DNSServer: -> DNS response from higher level
01:25:05 DNSServer: DNS request received!
01:25:05 DNSServer: Source: ('192.168.0.16', 51584)
01:25:05 DNSServer: Domain: phobos.apple.com
01:25:05 DNSServer: ***forward request
01:25:06 DNSServer: -> DNS response from higher level
01:25:30 DNSServer: DNS request received!
01:25:30 DNSServer: Source: ('192.168.0.16', 61987)
01:25:30 DNSServer: Domain: phobos.apple.com
01:25:30 DNSServer: ***forward request
01:25:30 DNSServer: -> DNS response from higher level
01:25:31 DNSServer: DNS request received!
01:25:31 DNSServer: Source: ('192.168.0.16', 61987)
01:25:31 DNSServer: Domain: phobos.apple.com
01:25:31 DNSServer: ***forward request
01:25:31 DNSServer: -> DNS response from higher level
01:25:34 DNSServer: DNS request received!
01:25:34 DNSServer: Source: ('192.168.0.16', 61987)
01:25:34 DNSServer: Domain: phobos.apple.com
01:25:34 DNSServer: ***forward request
01:25:34 DNSServer: -> DNS response from higher level
01:25:43 DNSServer: DNS request received!
01:25:43 DNSServer: Source: ('192.168.0.16', 61987)
01:25:43 DNSServer: Domain: phobos.apple.com
01:25:43 DNSServer: ***forward request
01:25:45 DNSServer: -> DNS response from higher level
01:26:10 DNSServer: DNS request received!
01:26:10 DNSServer: Source: ('192.168.0.16', 61987)
01:26:10 DNSServer: Domain: phobos.apple.com
01:26:10 DNSServer: ***forward request
01:26:11 DNSServer: -> DNS response from higher level
 
French error message on APTV3
"Bandes-annonces non disponible. Réessayez plus tard."
 
/Fab.

So I finally attempted to setup/install PlexConnect by using a number of different threads from here and this one http://forum.qnap.com/viewtopic.php?f=260&t=77700

I also used the git command to grab PlexConnect and to keep it neat since I am not that good with the command line..

# git clone https://github.com/iBaa/PlexConnect.git

Now I forgot to grab the python install so I did this last so I think maybe this is what I cannot run the PlexConnect.py file...

I get the error

env: python: No such file or directory

So I assume this has something to do with my paths??

echo $PATH show this

/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/opt/bin:/opt/sbin

I used the Optware IPKG to install both python and tools and when i check it under IPKG is show them installed

python27        2.7.3-1

py27-setuptools    0.6c11-2

This is where I am stuck as I cannot execute plexconnect..

What did I break, was the fact I installed python after plexconnect the issue?

I continued though the rest of the process so when I do get the start up going, the rest is done like the creation of the dummy package

by : vi /etc/config/qpkg.conf

[PlexConnect_AutoRun]
Name = PlexConnect
Version = 0.1
Author = urname
Date = todays date
Shell = /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
Install_Path = /share/MD0_DATA/.qpkg/PlexConnect
Enable = TRUE

then I create my SH file in the PlexConnect directory & create the autorun script with the contents using again vi : vi /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
and add the below

#!/bin/sh

#Start PlexConnect

sleep 30
/share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py -d &

Then I set execution bit

chmod +x /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
 

Now all I need is to find out why python is not seeing the plexconnect folder or if python is installed correctly as my command line skills are not very good

Thanks

Kosti

So I am still trying to figure out why python doesnt seems to like my NAS..

I checked the basic stuff with the help of ..

I checked the following

[/opt/bin] # ls -la p* | more
-rwxr-xr-x 1 admin administ 6708 Jun 12 2012 peekfd*
lrwxrwxrwx 1 admin administ 23 Jul 24 22:46 pidof -> /opt/bin/psmisc-killall*
-rwxr-xr-x 1 admin administ 9908 Jun 12 2012 prtstat*
-rwxr-xr-x 1 admin administ 16760 Jun 12 2012 psmisc-killall*
-rwxr-xr-x 1 admin administ 15212 Jun 12 2012 pstree*
lrwxrwxrwx 1 admin administ 6 Jul 24 22:46 pstree.x11 -> pstree*
-rwxr-xr-x 1 admin administ 78 Apr 13 2012 pydoc-2.7*
lrwxrwxrwx 1 admin administ 9 Jul 28 19:41 python2 -> python2.7*
lrwxrwxrwx 1 admin administ 16 Jul 28 19:41 python2-config -> python2.7-config*
-rwxr-xr-x 1 admin administ 3092 Apr 13 2012 python2.7*
-rwxr-xr-x 1 admin administ 1618 Apr 13 2012 python2.7-config*
[/opt/bin] #

&

but I have no Python directory under my /share/MD0_DATA/.qpkg ?/
# cd /share/MD0_DATA/.qpkg/Python/
-sh: cd: /share/MD0_DATA/.qpkg/Python/: No such file or directory

This is all my directories under my /share/MD0_DATA/.qpkg/
[/share/MD0_DATA/.qpkg] # ls -l
drwxr-xr-x 5 admin administ 4096 Jul 28 21:26 DSv3/
drwxr-xr-x 12 admin administ 4096 Jul 28 21:25 MSV2/
drwxr-xr-x 14 admin administ 4096 Jul 28 21:38 Optware/
drwxr-xr-x 4 admin administ 4096 Jul 28 19:34 PlexConnect/
drwxr-xr-x 5 1000 1000 4096 Jul 28 21:26 PlexMediaServer/
drwxr-xr-x 10 admin administ 4096 Jul 28 21:25 musicstation/
drwxr-xr-x 10 admin administ 4096 Jul 28 21:25 photostation2/

So its seems Python isnt in its right location or symlinked correctly?

I don't know how to resolve this one so any other checks I can perform people?

@kosti before you attempt to create a dummy IPKG to auto-start PlexConnect I suggest you get Python installed and working correctly.

Ok! as it stand now you have a version of Python in
/opt/bin

and your PlexConnect is located /share/MD0_DATA/.qpkg/PlexConnect/

Start by running this command:

/opt/bin/python2 /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py

If the above works, PCautorun.sh is missing the Python command (and possibly the path).

@kosti before you attempt to create a dummy IPKG to auto-start PlexConnect I suggest you get Python installed and working correctly. Ok! as it stand now you have a version of Python in /opt/bin and your PlexConnect is located /share/MD0_DATA/.qpkg/PlexConnect/ Start by running this command: # /opt/bin/python2 /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py If the above works, PCautorun.sh is missing the Python command (and possibly the path).

Hey Mate,

Thanks for the info, I will give it a go and report back, unfortunately my linux skills are very low hence the questions..

Cheers

@ Zilwah..

YEP, that did it :)

So why doesnt Python get installed in the /.qpkg folder but in /opt/bin? is this normal?

[~] # /opt/bin/python2 /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py
12:01:54 PlexConnect: ***
12:01:54 PlexConnect: PlexConnect
12:01:54 PlexConnect: Press CTRL-C to shut down.
12:01:54 PlexConnect: ***
12:01:54 PlexConnect: started: 12:01:54
12:01:54 PlexConnect: IP_self: 10.0.0.4
12:01:54 DNSServer: started: 12:01:54
12:01:54 DNSServer: ***
12:01:54 DNSServer: Starting up.
12:01:54 DNSServer: intercept trailers.apple.com: 10.0.0.4
12:01:54 DNSServer: forward other to higher level DNS: 8.8.8.8
12:01:54 DNSServer: ***
12:01:54 WebServer: started: 12:01:54
12:01:54 WebServer: ***
12:01:54 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
12:01:54 WebServer: ***
12:01:54 PlexGDM: ***
12:01:54 PlexGDM: looking up Plex Media Server
12:01:54 PlexGDM: ***
12:01:55 PlexGDM: servers discovered: 1
12:01:55 XMLConverter: PlexGDM - PMS: 10.0.0.4:32400
12:02:35 DNSServer: DNS request received!
12:02:35 DNSServer: Source: ('10.0.0.9', 54701)
12:02:35 DNSServer: Domain: trailers.apple.com
12:02:35 DNSServer: ***intercept request
12:02:35 DNSServer: -> DNS response: 10.0.0.4
 

so all good, it's slow and stutters, even on both wired and unwired

now to resolve my autostart up file, i just need to call the Python from the opt/bin directory.

So it should look like this right?

[PlexConnect_AutoRun]
Name = PlexConnect
Version = 0.1
Author = urname
Date = todays date
Shell = /share/MD0_DATA/.qpkg/PlexConnect/PCautorun.sh
Install_Path = /opt/bin/python2 /share/MD0_DATA/.qpkg/PlexConnect
Enable = TRUE


#!/bin/sh

#Start PlexConnect

sleep 30
/opt/bin/python2 /share/MD0_DATA/.qpkg/PlexConnect/PlexConnect.py -d &

so on to to the next problem, with figuring out why it pauses..but for now, it's doing what it should, thats again!!

This is getting extremely frustrating. I am more than happy to donate via PayPal somebody who's able to help come up with a foolproof guide on how to install this using a Mac. I tried both ways outlined. I've been unsuccessful with the QNAP forum quide and the guide outlined here.

1. Guide outlined here:

-ssh admin@10.0.1.4

cd /root/Library
mkdir PlexConnect

And here is the problem:

Arpans-MacBook-Pro:~ Arpan$ scp -r/Users/Arpan/Desktop/PlexConnect/*admin@10.0.1.4:/root/Library/PlexConnect

scp: illegal option -- /
usage: scp [-12346BCEpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
Arpans-MacBook-Pro:~ Arpan$ 
 
2. Guide outlined on http://forum.qnap.com/viewtopic.php?f=260&t=77700
-I am able to SSH into the NAS
-cd /share/MD0_DATA/.qpkg
 
And the problem is with:
[~] # cd /share/MD0_DATA/.qpkg
[/share/MD0_DATA/.qpkg] # git clone https://github.com/iBaa/PlexConnect.git
-sh: git: command not found
[/share/MD0_DATA/.qpkg] # 
 
Is there a youtube guide or is someone willing to go step by step from the beginning. 
 
Model: TS459 Pro II
DNS on ATV 10.0.1.4
NAS IP 10.0.1.4
 
I downloaded the PlexConnect with New Templates folder and moved it my desktop and renamed it to PlexConnect
 
Any help would be much appreciated
 
Thanks in advance

This is getting extremely frustrating. I am more than happy to donate via PayPal somebody who's able to help come up with a foolproof guide on how to install this using a Mac. I tried both ways outlined. I've been unsuccessful with the QNAP forum quide and the guide outlined here.

1. Guide outlined here:

-ssh admin@10.0.1.4

cd /root/Library
mkdir PlexConnect

And here is the problem:

Arpans-MacBook-Pro:~ Arpan$ scp -r/Users/Arpan/Desktop/PlexConnect/*admin@10.0.1.4:/root/Library/PlexConnect

scp: illegal option -- /
usage: scp [-12346BCEpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
Arpans-MacBook-Pro:~ Arpan$ 
 
-I am able to SSH into the NAS
-cd /share/MD0_DATA/.qpkg
 
And the problem is with:
[~] # cd /share/MD0_DATA/.qpkg
[/share/MD0_DATA/.qpkg] # git clone https://github.com/iBaa/PlexConnect.git
-sh: git: command not found
[/share/MD0_DATA/.qpkg] # 
 
Is there a youtube guide or is someone willing to go step by step from the beginning. 
 
Model: TS459 Pro II
DNS on ATV 10.0.1.4
NAS IP 10.0.1.4
 
I downloaded the PlexConnect with New Templates folder and moved it my desktop and renamed it to PlexConnect
 
Any help would be much appreciated
 
Thanks in advance

Same problem here! :-(

Please help us so we can enjoy plex on atv too.

Regards, Don

any help?

This is getting extremely frustrating. I am more than happy to donate via PayPal somebody who's able to help come up with a foolproof guide on how to install this using a Mac. I tried both ways outlined. I've been unsuccessful with the QNAP forum quide and the guide outlined here.
 
1. Guide outlined here:
-ssh admin@10.0.1.4
cd /root/Library
mkdir PlexConnect

And here is the problem:
Arpans-MacBook-Pro:~ Arpan$ scp -r/Users/Arpan/Desktop/PlexConnect/*admin@10.0.1.4:/root/Library/PlexConnect
scp: illegal option -- /
usage: scp [-12346BCEpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
Arpans-MacBook-Pro:~ Arpan$

Your SCP syntax is incorrect. It should be :-
 
scp -r /Users/Arpan/Desktop/PlexConnect/* admin@10.0.1.4:/root/Library/PlexConnect
 
(assuming your folder paths are actually correct)
 
Note the spaces which were missing in your post above.

Your SCP syntax is incorrect. It should be :-
 
scp -r /Users/Arpan/Desktop/PlexConnect/* admin@10.0.1.4:/root/Library/PlexConnect
 
(assuming your folder paths are actually correct)
 
Note the spaces which were missing in your post above.

Thanks, that was incredibly helpful! Im just glad I was able to get it working. Thanks for helping. Now the hard part is creating the autorun script. 

Here is where I have gotten:

I SSH into my NAS and use the command # vi /etc/config/qpkg.conf

This is what I get:

Name = Python
Class = null
Status = complete 
Version = 2.7
Enable = UNKNOWN
QPKG_File = Python.qpkg
Date = 2013-08-07
Shell = /share/MD0_DATA/.qpkg/Python/python.sh
Install_Path = /share/MD0_DATA/.qpkg/Python
Author = Troy
[Optware]
Name = Optware
Class = null
Status = complete
Version = 0.99.163
Author = SL1000
QPKG_File = Optware.qpkg
Date = 2013-08-07
Shell = /share/MD0_DATA/.qpkg/Optware/Optware.sh
Install_Path = /share/MD0_DATA/.qpkg/Optware 
WebUI = /Optware/ 
Enable = TRUE
/mnt/HDA_ROOT/.config/qpkg.conf                              [97%]  75,01       
"/etc/config/qpkg.conf" 77L, 1822C
 
I am not sure where to go from there. Do I just paste the following command:
[autorun]
Name = autorun
Version = 0.1
Author = neomilium
Date = 2013-05-06
Shell = /share/MD0_DATA/.qpkg/autorun/autorun.sh
Install_Path = /share/MD0_DATA/.qpkg/autorun
Enable = TRUE
 
And if so where do I paste it? 
 
Thanks for your help in this process. 
 
Where do I go from here. Thanks

Thanks, that was incredibly helpful! Im just glad I was able to get it working. Thanks for helping. Now the hard part is creating the autorun script. 

Here is where I have gotten:

I SSH into my NAS and use the command # vi /etc/config/qpkg.conf

This is what I get:

Name = Python
Class = null
Status = complete 
Version = 2.7
Enable = UNKNOWN
QPKG_File = Python.qpkg
Date = 2013-08-07
Shell = /share/MD0_DATA/.qpkg/Python/python.sh
Install_Path = /share/MD0_DATA/.qpkg/Python
Author = Troy
[Optware]
Name = Optware
Class = null
Status = complete
Version = 0.99.163
Author = SL1000
QPKG_File = Optware.qpkg
Date = 2013-08-07
Shell = /share/MD0_DATA/.qpkg/Optware/Optware.sh
Install_Path = /share/MD0_DATA/.qpkg/Optware 
WebUI = /Optware/ 
Enable = TRUE
/mnt/HDA_ROOT/.config/qpkg.conf                              [97%]  75,01       
"/etc/config/qpkg.conf" 77L, 1822C
 
I am not sure where to go from there. Do I just paste the following command:
[autorun]
Name = autorun
Version = 0.1
Author = neomilium
Date = 2013-05-06
Shell = /share/MD0_DATA/.qpkg/autorun/autorun.sh
Install_Path = /share/MD0_DATA/.qpkg/autorun
Enable = TRUE
 
And if so where do I paste it? 
 
Thanks for your help in this process. 
 
Where do I go from here. Thanks

Copy the default template:

[autorun]

Name = autorun
Version = 0.1
Author = neomilium
Date = 2013-05-06
Shell = /share/MD0_DATA/.qpkg/autorun/autorun.sh
Install_Path = /share/MD0_DATA/.qpkg/autorun
Enable = TRUE

Towards the end of the file, and that should do it for you. Although with the recent changes to PlexConnect and AppleTV I'm having other issues now :-/

Never mind about my issue!

It's resolved, I just had to re-download/clone PlexConnect and get it working.

Hello,

My plexconnect run but I can not acces form my Apple TV3 ?

08:17:45 DNSServer: DNS request received!

08:17:45 DNSServer: Source: ('192.168.24.82', 65510)

08:17:45 DNSServer: Domain: trailers.apple.com

08:17:45 DNSServer: ***intercept request

08:17:45 DNSServer: -> DNS response: 192.168.24.40

French error message on APTV3
"Bandes-annonces non disponible. Réessayez plus tard."
My config:
Apple TV3 os 5.2
NAS: QNAP TS-879 Pro
PlexMediaServer : 0.9.8.5.16

In my plex confugration, I have add my lan to exclude the autentification:

List of authorized networks without authentication

192.168.24.0/255.255.255.0

 
and unchecked:
Require authentication on the LAN

Whoever lost PlexConnect after the recent update for ATV3, just follow this guide it will take you 10 minutes to fix it.

http://langui.sh/

All you need to make sure is that your qnap has https turned off since it will need port 443 to connect the trailer app and also make sure your qnap is using something else for port 80, i change mine to port 81 since i only use port 8080 for control panel. This new PlexConnect also prevents apple from updating your firmware going forward.

[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 192.168.2.20
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 192.168.2.20
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.2.20
enable_plexgdm = True
port_ssl = 443
 
 
Qnap TS 669 pro with latest plex server package.