# PlexConnect on a NAS drive (ReadyNAS).?

**URL:** <https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457>\
**Category:** Apps & Creations\
**Created:** [June 5, 2013, 10:39am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457 "2013-06-05T10:39:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard\_owen\_me.com](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@richard\_owen\_me.com](https://forums.plex.tv/u/richard_owen_me.com)\
**Post date:** [June 5, 2013, 10:39am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/1 "2013-06-05T10:39:27Z")

</div>

Hi,  
  
  
Love the idea of Plexconnect. I was just wondering if it was possible to run this on a NAS drive rather than a computer.?  
  
  
Specifically I have a Netgear ReadyNAS running Plex media server PMS.

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [June 5, 2013, 11:08am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/2 "2013-06-05T11:08:54Z")

</div>

It will work fine on some NAS devices, they need to have Python 2.x installed though.  
  
Your mileage may vary as we do not officially support them (e.g. Some Synologys have an issue which has not been addressed - we would love someone to figure out what the issue is).  
  
Just bear in mind your NAS’s CPU power and if your media will need transcoding or direct streaming.

---

<div class="post-metadata">

**Author:** ![richard\_owen\_me.com](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@richard\_owen\_me.com](https://forums.plex.tv/u/richard_owen_me.com)\
**Post date:** [June 5, 2013, 11:19am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/3 "2013-06-05T11:19:12Z")

</div>

Thanks for the quick reply… My ReadyNAS Ultra 2 will stream MKV to my iPad and iPhone via the Plex ios app (Although it struggles a little with DTS audio) so I’m hoping it will be the same with Plexconnect…  
  
  
I’ve just ordered a 3rd gen Apple TV… I’ll report back with my findings… 🙂

---

<div class="post-metadata">

**Author:** ![james.mackie](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@james.mackie](https://forums.plex.tv/u/james.mackie)\
**Post date:** [June 5, 2013, 12:25pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/4 "2013-06-05T12:25:28Z")

</div>

I'll be trying it on my ReadyNAS Pro 6 - looking forward to an 0.1 release for a binary app!

James

---

<div class="post-metadata">

**Author:** ![robiv8\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/robiv8_1/32/3717_2.png) [@robiv8\_1](https://forums.plex.tv/u/robiv8_1)\
**Post date:** [June 5, 2013, 1:41pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/5 "2013-06-05T13:41:15Z")

</div>

Hallo,

I have the Plex Media Server Version 0.9.7.12 running on my QNap TS-239  
Is it possible to run this also on it?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [June 5, 2013, 2:09pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/6 "2013-06-05T14:09:01Z")

</div>

> Hallo,
> 
> I have the Plex Media Server Version 0.9.7.12 running on my QNap TS-239  
> Is it possible to run this also on it?

TBH we do not know but try it and let us know.

I am going to start a thread on NAS devices to see if we can figure out which work and which do not.

---

<div class="post-metadata">

**Author:** ![pardieu](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pardieu/32/84663_2.png) [@pardieu](https://forums.plex.tv/u/pardieu)\
**Post date:** [June 6, 2013, 10:18am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/7 "2013-06-06T10:18:15Z")

</div>

PlexConnect is packaged into a readynas install bin file for x86 OS4 hardware

Latest change 06 March 2014. Adapting running.sh so it can echo the "running" status to the console for manual diagnostic

&nbsp;

**Install procedure**

&nbsp;

\* WARNING: Since the use of the https protocol for the trailers app, PlexConnect may conflict with FrontView application. Perform thoses steps at your own risk and only if you are familiar with ssh

&nbsp;

\* Configure your ATV3 by selecting the settings button and configure DNS settings manually. Note down the current value (for later use) and change to your readynas IP address (PlexConnect includes a DNS server)

&nbsp;

\* Install&nbsp;[Enable Root SSH Access](http://www.readynas.com/?p=4203)

&nbsp;

\* Install [Python for readynas](http://readynasxtras.com/readynas-x86-add-ons/python-26-x86)

&nbsp;

\* Install&nbsp;[Git for readynas](https://drive.google.com/file/d/0B9IBCp4ZNO3_Q19ldzRFTWZpcmM)

&nbsp;

\* Create the certificates in Apple TV by following&nbsp;[the Paul Kehrer guide](http://langui.sh/2013/08/27/appletv-ssl-plexconnect/ "External link")&nbsp;(but stopping just before the instructions that comes for PlexConnect) and copy the 3 files directly into the readynas media shared directory

&nbsp;

\* Download the [PlexConnect readynas bin file](https://drive.google.com/file/d/0B9IBCp4ZNO3_RmF2TEEwMXRqWVk/edit?usp=sharing)&nbsp;and install it from FrontView (Modules / Add New)

&nbsp;

\* To update PlexConnect with the latest version from Git repository, install the add-on again

&nbsp;

**Troubleshootings**

\* How to verify if the PlexConnect is running (0 means running, 1 means not running)

```
/etc/frontview/addons/bin/PLEXCONNECT/running.sh
```

\* How to start PlexConnect

```
/etc/frontview/addons/bin/PLEXCONNECT/start.sh
```

\* How to stop PlexConnect

```
/etc/frontview/addons/bin/PLEXCONNECT/stop.sh
```

\* How to remove PlexConnect (can be used if FrontView can't be accessed anymore due to incorrect configuration in the PlexConnect Virtual Host configuration file)

```
/etc/frontview/addons/PLEXCONNECT.remove
```

\* How to restart the http server (should be done after having changed the&nbsp;PlexConnect Virtual Host configuration file)

```
/usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -t && /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful
```

\* How to configure PlexConnect

```
vi /etc/frontview/addons/bin/PLEXCONNECT/PlexConnect/Settings.cfg
```

Note that the addon preconfigures the port\_webserver to 81 and enable\_webserver\_ssl to False

&nbsp;

\* How to verify or tune the PlexConnect Virtual Host file (especially if having problem with accessing FrontView application)

```
vi /etc/frontview/apache/addons/PLEXCONNECT.conf
```

Verify the content of the file according to the template [here](https://docs.google.com/file/d/0B9IBCp4ZNO3_dVR5bWtYMFVlbVU/)

&nbsp;

Also if you access your NAS with alternate (eg external) host name, replace READYNAS\_EXTERNAL\_HOSTNAME by that hostname

&nbsp;

\* How to start PlexConnect in console mode (to see the output on the screen, and to stop with CTRL-C)

```
/etc/frontview/addons/bin/PLEXCONNECT/PlexConnect/PlexConnect.py
```

---

<div class="post-metadata">

**Author:** ![james.mackie](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@james.mackie](https://forums.plex.tv/u/james.mackie)\
**Post date:** [June 6, 2013, 10:57am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/8 "2013-06-06T10:57:44Z")

</div>

> I succeeded to make it work with Readynas x86:
> 
> &nbsp;
> 
> \* Change the readynas HTTP server port to 8080 (otherwise an error occurs when launching PlexConnect)
> 
> cd /etc/frontview/apache
> 
> sudo vi httpd.conf
> 
> find the line that has port 80 in it by typing /80 and hitting return
> 
> change 80 to 8080
> 
> save with :wq
> 
> Restart http server:
> 
> # /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -t && /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful

Nice! I'll do this tomorrow once the NAS is free. Thanks for posting!

James

---

<div class="post-metadata">

**Author:** ![richard\_owen\_me.com](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@richard\_owen\_me.com](https://forums.plex.tv/u/richard_owen_me.com)\
**Post date:** [June 6, 2013, 11:46am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/9 "2013-06-06T11:46:28Z")

</div>

That’s awesome, thanks for the update… Saves me a lot of time this weekend… 🙂

---

<div class="post-metadata">

**Author:** ![Dejh0n](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dejh0n/32/4797_2.png) [@Dejh0n](https://forums.plex.tv/u/Dejh0n)\
**Post date:** [June 6, 2013, 12:32pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/10 "2013-06-06T12:32:52Z")

</div>

> I succeeded to make it work with Readynas x86:
> 
> &nbsp;
> 
> &nbsp;
> 
> change 80 to 8080

This did the trick!

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [June 6, 2013, 1:50pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/11 "2013-06-06T13:50:13Z")

</div>

I will add a link to this thread on the wiki.

---

<div class="post-metadata">

**Author:** ![Skym4x](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Skym4x](https://forums.plex.tv/u/Skym4x)\
**Post date:** [June 6, 2013, 5:58pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/12 "2013-06-06T17:58:10Z")

</div>

Hi,

I try doing this :&nbsp;env GIT\_SSL\_NO\_VERIFY=true &nbsp;git clone&nbsp;[https://github.com/i...PlexConnect.git](https://github.com/iBaa/PlexConnect.git "External link")

and I end up with this error :

/c/.rfw/bin$ env GIT\_SSL\_NO\_VERIFY=true git clone [https://github.com/iBaa/PlexConnect.git](https://github.com/iBaa/PlexConnect.git)

env: git: No such file or directory

&nbsp;

Am I missing something ?

---

<div class="post-metadata">

**Author:** ![justdoit](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@justdoit](https://forums.plex.tv/u/justdoit)\
**Post date:** [June 6, 2013, 10:42pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/13 "2013-06-06T22:42:53Z")

</div>

works on a&nbsp;ReadyNAS Ultra 6 Plus

but to get it work the ssh connection has to run all the time (ex terminal /&nbsp;sudo ./PlexConnect.py) ??

---

<div class="post-metadata">

**Author:** ![richard\_owen\_me.com](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@richard\_owen\_me.com](https://forums.plex.tv/u/richard_owen_me.com)\
**Post date:** [June 7, 2013, 6:40am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/14 "2013-06-07T06:40:41Z")

</div>

> works on a&nbsp;ReadyNAS Ultra 6 Plus[/size]  
> but to get it work the ssh connection has to run all the time (ex terminal /&nbsp;sudo ./PlexConnect.py) ??[/size]

  
I'm no expert but, Have you tried running in daemon mode "sudo ./PlexConnect.py -d"

---

<div class="post-metadata">

**Author:** ![Dejh0n](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dejh0n/32/4797_2.png) [@Dejh0n](https://forums.plex.tv/u/Dejh0n)\
**Post date:** [June 7, 2013, 10:55am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/15 "2013-06-07T10:55:57Z")

</div>

> I'm no expert but, Have you tried running in daemon mode "sudo ./PlexConnect.py -d"

I have found the same issue.. Kinda the opposite point of trying to get it running on the NAS

---

<div class="post-metadata">

**Author:** ![pardieu](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pardieu/32/84663_2.png) [@pardieu](https://forums.plex.tv/u/pardieu)\
**Post date:** [June 7, 2013, 11:27am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/16 "2013-06-07T11:27:20Z")

</div>

> works on a&nbsp;ReadyNAS Ultra 6 Plus
> 
> but to get it work the ssh connection has to run all the time (ex terminal /&nbsp;sudo ./PlexConnect.py) ??

I can quit the terminal and that still works. I am using ssh from a linux client with LXTerminal. Could it be that you use Putty? Maybe you could try "./PlexConnect.py &"

---

<div class="post-metadata">

**Author:** ![pardieu](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pardieu/32/84663_2.png) [@pardieu](https://forums.plex.tv/u/pardieu)\
**Post date:** [June 7, 2013, 11:30am UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/17 "2013-06-07T11:30:00Z")

</div>

> Hi,
> 
> I try doing this :&nbsp;env GIT\_SSL\_NO\_VERIFY=true &nbsp;git clone&nbsp;[https://github.com/i...PlexConnect.git](https://github.com/iBaa/PlexConnect.git "External link")
> 
> and I end up with this error :
> 
> /c/.rfw/bin$ env GIT\_SSL\_NO\_VERIFY=true git clone [https://github.com/iBaa/PlexConnect.git](https://github.com/iBaa/PlexConnect.git)
> 
> env: git: No such file or directory
> 
> &nbsp;
> 
> Am I missing something ?

Have you installed git ([http://www.readynas.com/?p=3443](http://www.readynas.com/?p=3443 "External link"))?

---

<div class="post-metadata">

**Author:** ![wassit](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@wassit](https://forums.plex.tv/u/wassit)\
**Post date:** [June 7, 2013, 5:49pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/18 "2013-06-07T17:49:12Z")

</div>

@[Chrobrego](http://forums.plexapp.com/index.php/user/130775-chrobrego/)

First off a big thank you, works a treat.

What would be amazing is if the ./PlexConnect command could be run at startup of the ReadyNas. Could some command be added to the etc/init.d/ directory to make this happen? Any ideas?

---

<div class="post-metadata">

**Author:** ![pardieu](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pardieu/32/84663_2.png) [@pardieu](https://forums.plex.tv/u/pardieu)\
**Post date:** [June 7, 2013, 8:29pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/19 "2013-06-07T20:29:02Z")

</div>

> What would be amazing is if the ./PlexConnect command could be run at startup of the ReadyNas. Could some command be added to the etc/init.d/ directory to make this happen? Any ideas?

I agree. But my NAS keeps running with only occasional reboots.

I am a bit reluctant to experiment there as I had bad experience with this on another linux machine where sometimes the boot process just hangs if the startup script is not properly written.

A few pointer though. Here is the standard procedure for Debian (which Readynas OS is based on):&nbsp;[http://www.debian-administration.org/articles/28](http://www.debian-administration.org/articles/28)

But the best would be to have a real readynas Add-On. Here is the procedure to write one, but I have no experience in this.&nbsp;[http://www.readynas.com/?p=346](http://www.readynas.com/?p=346)

---

<div class="post-metadata">

**Author:** ![wassit](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@wassit](https://forums.plex.tv/u/wassit)\
**Post date:** [June 7, 2013, 8:51pm UTC](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457/20 "2013-06-07T20:51:03Z")

</div>

> I agree. But my NAS keeps running with only occasional reboots.
> 
> I am a bit reluctant to experiment there as I had bad experience with this on another linux machine where sometimes the boot process just hangs if the startup script is not properly written.
> 
> A few pointer though. Here is the standard procedure for Debian (which Readynas OS is based on):&nbsp;[http://www.debian-administration.org/articles/28](http://www.debian-administration.org/articles/28)
> 
> But the best would be to have a real readynas Add-On. Here is the procedure to write one, but I have no experience in this.&nbsp;[http://www.readynas.com/?p=346](http://www.readynas.com/?p=346)

I understand you reluctance I was nervous of even following the python/PlexConnect scripts in case I knackered my Readynas. Not much point having an expensive storage redunancy if you mess up what its running on!

Thanks for the links, really useful I will have a look but don't hold your breath.&nbsp; :)

Hopefully someone with a lot more ReadyNas add on skills than me is already working on it.&nbsp;

[Next page](https://forums.plex.tv/t/plexconnect-on-a-nas-drive-readynas/35457.md?page=2)
