PlexConnect spk for Synology released

Hello all,


It seems that MdeVries (Dutchy) who is making a lot of cool packages for Synology NAS devices has released a first version of PlexConnect for Synology:

Simply add this repository to your synology (Package Center, Settings > Package Sources) and you can install PlexConnect on your NAS.
http://synology.mdevries.org/spkrepo/packages


Enjoy!

first of all thanks for the package.!!! Nice

 but I get error: failed to execute the package.

Could you help me?

Thanks in advance

Did you make sure you have the Python package installed before installing this?

Also, I havent installed this myself yet so no clue as of now :P I just saw it popping up and thought to share it immediatelly.

Yes I 'm sure. that was my first problem to install   but now the package was installed successfully but fails to run.  :(

same here...

I use a DS212J on version 4.2.3211, Python 2.7.5-6 is installed.

PMS is running on a separate server, not sure if that makes a difference?

I couldn't find anything in the logs... :(

I'm on an RS812+, the package fails to install.

Thanks for sharing. I have been waiting to be able to use Plex finally with my library. Once I get this working, I'll be getting my PlexPass.

However, same problem here. It installed fine, but fails to run. After installing, every attempt to run it fails. Its status remains 'stopped'.


Synology DS212J

Python 2.7.5-6

EDIT:
To quote user Sander48 at http://forums.plexapp.com/index.php/topic/70204-nas-linux-flavours-will-it-work-on-my-device/

"Looks like this person only packaged the files in a Synology package. I installed it, which went okay, but it did not run. The problem is exactly the same as with the original. By the way, all python files in this package are the same as the original.

 

It seems that the SemLock method (from the _multiprocessing package) fails. The message says it is not implemented. I think this method needs the shared memory file /dev/shm which is not available on the Synology. Could be the culprit."
 

Did anyone try the usual fix for the semlock method?


https://github.com/overviewer/Minecraft-Overviewer/issues/569

I am still not able to make this work, any ideas ? getting same error as above.

Did anyone try the usual fix for the semlock method?

https://github.com/overviewer/Minecraft-Overviewer/issues/569

I tried it, here was my output (still didn't work)
 

#####> mount | grep /dev/shm
#####> mount tmpfs /dev/shm -t tmpfs -o nodev,nosuid,noexec
mount: mounting tmpfs on /dev/shm failed: No such file or directory

I seem to have issues installing as well. My Synology thinks I have an older version of Python installed. 

Any ideas?

Hi guys,


I have an Synology DS213.

I installed the package from MdeVries.

It does not start automatically, “failed to execute the package”

  • created /dev/shm folder
  • mounted /dev/shm as explained above by incredibulk
  • installed sudo


    Now I get the port 80 already in use error which I understand, but I can’t isentify who is using the port.

    How do I check which app is using it on synology?

    sudo lsof -i -P does not work on mine.


    Thx!

Hi guys,
I have an Synology DS213.
I installed the package from MdeVries.
It does not start automatically, "failed to execute the package"
- created /dev/shm folder
- mounted /dev/shm as explained above by incredibulk
- installed sudo
Now I get the port 80 already in use error which I understand, but I can't isentify who is using the port.
How do I check which app is using it on synology?
sudo lsof -i -P does not work on mine.
Thx!


It is Synology's web management software, take a look in Google or the support forums to see how to change its port.
If you do get everything up and running do you fancy doing a step by step guide? I would happily then out it up on the wiki for other users.


On a Synology 213 with Python 2.7.3.011 installed through the Synology Packagecenter i can’t install the PlexConnect package because i get an error ‘Install Python 2.7.2.11’.

On a Synology 213 with Python 2.7.3.011 installed through the Synology Packagecenter i can't install the PlexConnect package because i get an error 'Install Python 2.7.2.11'.

I solved installing Python from another repository

It is Synology's web management software, take a look in Google or the support forums to see how to change its port.
If you do get everything up and running do you fancy doing a step by step guide? I would happily then out it up on the wiki for other users.

+1

I've got a ds213 and again I get a failure when trying to run the package.
 
I've also done the following:
- created /dev/shm folder
- mounted /dev/shm as explained above by incredibulk
- installed sudo (using the following guide: http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#How_to_install_ipkg)
 
But still the package won't run. 
 
Does anyone have any other suggestions? I'm not even sure where to find a log to find out why it's failing.
 
When you click on 'View Log' it just says what Plexconnect is.

On a Synology 213 with Python 2.7.3.011 installed through the Synology Packagecenter i can't install the PlexConnect package because i get an error 'Install Python 2.7.2.11'.

I had the same error. Install Python from here: http://packages.synocommunity.com/

You will find that the PlexConnect package will install with this newer Python, but still won't run due to the /dev/shm/ error mentioned above and elsewhere. So doesn't help much. Oh well, maybe Apple will finally open up the AppStore for ATV's tomorrow and release us all ;-)

It is Synology's web management software, take a look in Google or the support forums to see how to change its port.
If you do get everything up and running do you fancy doing a step by step guide? I would happily then out it up on the wiki for other users.

Here's what worked for me: DS212j, Packaged PMS installed, Packaged Python 2.7.3, PlexConnect from git repo @ Jun 10 17:37 NZST

  • ssh to the Diskstation as root
  • Edit /usr/syno/apache/conf/httpd.conf-user
  • Find the line containing "Listen 80" and change it to some other number (e.g., Listen 81)
  • From the DSM, restart the web server (turning Web Station on & off, or vice-versa, will do this) If you know how to do this from a shell, let me know.
  • Check the default webserver is no longer running on the old port - telnet [disk.stat.tion.ip] 80
  • Start up the PlexConnect app with the correct settings
  • Profit!

Now if I could just get past "An error occurred loading this content" I'd be set.

FWIW, I was having the same "error loading content" problem running PlexConnect from my macbook.

Notes:

  • The DSM web interface will continue running on port 5000 where it's always been. This just moves the default redirect junk off port 80.
  • If you have Web Station and personal websites running, this isn't going to work so well for you (i.e, it will break them). YHBW, YMMV, etc.
  • It's probably safest to change every instance of port 80 in both the /usr/syno/apache/conf/httpd.conf-user and /usr/syno/apache/conf/httpd.conf-sys files, however this is the absolute minimum required to get the httpd service away from port 80 for my specific setup.

I have a DS411+ and haven't tried this yet (have an OS X server to run it on), but just a thought on Linux-based boxes like the Synology NAS units...

Instead of moving DSM off port 80, instead you could use iptables to intercept incoming traffic on port 80 from the ATV (and only the ATV) and redirect it to a different port. It's a similar technique I used for my Tomato router based setup (see http://forums.plexapp.com/index.php/topic/70767-using-dnsmasqiptables-to-redirect-dnshttp-traffic-on-tomato/).

Adding this to your optware init scripts should let it survive reboots/upgrade/etc and should result in a cleaner setup.