Install PlexConnect using new Pkgng

Hi everyone

 

Have been using PlexConnect on a freeNAS box previously however with the new updates in their system it broke the old commands i used to install and run PlexConnect.

 

I thought i would list the commands that i have used so far to install the components however i have got stuck when i come to try and run a python or bash which i was wondering if someone with more experience would be able to help me with?

 

So to install git, python, nano and bash i used the following:

pkg install git
pkg install python
pkg install nano
pkg install bash

All installed fine. Next i cloned PlexConnect using the following:

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

All good so far.

 

I next cd'ed into the PlexConnect folder and then tryed to run PlexConnect.py. This is the error that i got.

root@PlexConnect:/PlexConnect # ./PlexConnect.py
env: python: No such file or directory
root@PlexConnect:/PlexConnect # 

I though ok i will just copy my old 'Settings.cfg' and cert into the correct folders and then just start the service using

bash /PlexConnect/PlexConnect_daemon.bash start

I then got this error:

root@PlexConnect:/PlexConnect # bash /PlexConnect/PlexConnect_daemon.bash start
Starting PlexConnect...
/PlexConnect/PlexConnect_daemon.bash: line 29: python: command not found
root@PlexConnect:/PlexConnect # 

I have now reached the extent of my knowledge and am unsure as to what to do.

 

Your thoughts and advice are appreciated.

I know we have simulaor issue in nas4free. And its described how its fixed in this post in the end.

https://forums.plex.tv/topic/80919-help-getting-plexconnect-to-work-on-nas4free/?p=574662

Thanks for the reply.

I have edited the PYTHON line of code and now get the following error

root@PlexConnect:/PlexConnect # bash /PlexConnect/PlexConnect_daemon.bash start
Starting PlexConnect...
/PlexConnect/PlexConnect_daemon.bash: line 29: /usr/local/bin/python: No such file or directory

I have browsed to that folder location and nothing is in the bin folder?!

When i used 'pkg install python27' it didn't come up with any errors.

fixed changed PYTHON line to:

PYTHON="/usr/local/bin/python2.7"

Running and working now :) :)

fixed changed PYTHON line to:

PYTHON="/usr/local/bin/python2.7"

Running and working now :) :)

Hey thanks for the fix.  It took me a long while to find it.

fixed changed PYTHON line to:

PYTHON="/usr/local/bin/python2.7"

Running and working now :) :)

Where exactly is this fix taking place? I am running into the same original error in running the PlexConnect.py script in FraaNAS 9.2.1.5.

Sorry for the late reply. You edit the PlexConnect_deamon.bash file

See my blog post for step by step: http://lanky8804.wordpress.com/2014/03/03/install-plexconnect-using-pkgng/ 

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