From the Plexpy admin screen the gear icon in the upper left corer has a check for update, click it and if there is one it will update it automatically.
Hi, first of thank you for setting this up for WD nas users.
I’ve never set up plexpy on nas before or use it i very much will like to run this along side my plex server thats install on my nas. but need a noob instructions
I am very interested to using tautulli on my WD Nas EX2100 and have installed the correct bin file you posted in your link.WDMYCloudEX2100_tautulli_0.02.bin
Reading through the comments i can understand that you have updated the linked file so it uses tautulli. however when i launch this from my nas interface “configure” it gives me a bad url error. - do i need to install any other program or tweak anything else, please educate me if im going wrong some where, if you also need logs please advice where i should retrieve this also. thank you in advance.
Hi thank you for your response- Im not at home at the moment but i manage to still have the debug_apkg file on my tablet as I used es file explorer pro to access my nas folders via (Sftp) I’m not good with ssh commands lol, as shown below please review what I retrieved from debug_apkg - I’m not sure if it’s a true reflection of the install logs,… but once I get home I can retrieved an up to date file.
INIT linking files from path: /mnt/HD/HD_a2/Nas_Prog/tautulli
APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/Transmission/stop.sh /mnt/HD/HD_a2/Nas_Prog/Transmission
APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/Transmission/start.sh /mnt/HD/HD_a2/Nas_Prog/Transmission
APKG_DEBUG: starting PlexPy on port 8282
APKG_DEBUG: starting PlexPy on port 8282
APKG_DEBUG: starting PlexPy on port 8282
tmp>debug_apkg INIT linking files from path: /mnt/HD/HD_a2/Nas_Prog/tautulli APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/Transmission/stop.sh /mnt/HD/HD_a2/Nas_Prog/Transmission APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/Transmission/start.sh /mnt/HD/HD_a2/Nas_Prog/Transmission APKG_DEBUG: starting PlexPy on port 8282 APKG_DEBUG: starting PlexPy on port 8282 APKG_DEBUG: starting PlexPy on port 8282 APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/_install/tautulli/before_apkg.sh Download tautulli RC: 0 Unpack RC: 0 Addon Tautulli (install.sh) done APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/tautulli/init.sh /mnt/HD/HD_a2/Nas_Prog/tautulli INIT linking files from path: /mnt/HD/HD_a2/Nas_Prog/tautulli APKG_DEBUG: starting PlexPy on port 8282 APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/tautulli/clean.sh /mnt/HD/HD_a2/Nas_Prog/tautulli APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/tautulli/remove.sh /mnt/HD/HD_a2/Nas_Prog/tautulli APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/_install/tautulli/before_apkg.sh Download tautulli RC: 0 Unpack RC: 0 Addon Tautulli (install.sh) done APKG_DEBUG: /mnt/HD/HD_a2/Nas_Prog/tautulli/init.sh /mnt/HD/HD_a2/Nas_Prog/tautulli INIT linking files from path: /mnt/HD/HD_a2/Nas_Prog/tautulli APKG_DEBUG: starting PlexPy on port 8282
i didnt complete the last two instructions as when i saw the following message i ended it there HTTPSHandlerImportError: cannot import name HTTPSHandler
i googled this message and found this link. https://bcb.github.io/importerror-httpshandler is this correct?
Thanks for all the info.
The PR4100 firmware has python 2.7.5 but it seems the EX2100 version is even more outdated.
I’m about to setup the ARM toolchain and then I’ll be able to get you a recent version of python / openssl.
Maybe next week
root@MyCloudPR4100 Tautulli-master # python ./PlexPy.py --port 8282 --daemon --pid
file /var/run/plexpy.pid
Traceback (most recent call last):
File "./PlexPy.py", line 24, in <module>
from Tautulli import main
File "/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/Tautulli.py", line 35, in <module>
import plexpy
File "/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/plexpy/__init__.py", line 33, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
File "/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/lib/apscheduler/__init__.py", line 1, in <module>
from pkg_resources import get_distribution, DistributionNotFound
ImportError: No module named pkg_resources
To fix it, I simply installed pip, the python package manager.
Thanks for the quick response, though I installed the new package via the UI and it still is not working. Same error
root@MyCloudPR4100 Tautulli-master # python ./PlexPy.py --port 8282
Traceback (most recent call last):
File "./PlexPy.py", line 24, in <module>
from Tautulli import main
File "/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/Tautulli.py", line 35, in <module>
import plexpy
File "/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/plexpy/__init__.py", line 33, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
File "/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/lib/apscheduler/__init__.py", line 1, in <module>
from pkg_resources import get_distribution, DistributionNotFound
ImportError: No module named pkg_resources
root@MyCloudPR4100 Tautulli-master # wget https://bootstrap.pypa.io/get-pip.py -
-no-check-certificate
–2018-08-10 11:17:51-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io… 151.101.184.175, 2a04:4e42:b::175
Connecting to bootstrap.pypa.io|151.101.184.175|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1642522 (1.6M) [text/x-python]
Saving to: ‘get-pip.py’
100%[======================================>] 1,642,522 --.-K/s in 0.1s
root@MyCloudPR4100 Tautulli-master # /opt/bin/opkg install python-light
Package python-light (2.7.15-1) installed in root is up to date.
root@MyCloudPR4100 Tautulli-master # python ./PlexPy.py --port 8282
Traceback (most recent call last):
File “./PlexPy.py”, line 24, in
from Tautulli import main
File “/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/Tautulli.py”, line 35, in
import plexpy
File “/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/plexpy/init.py”, line 33, in
from apscheduler.schedulers.background import BackgroundScheduler
File “/mnt/HD/HD_a2/Nas_Prog/tautulli/Tautulli-master/lib/apscheduler/init.py”, line 1, in
from pkg_resources import get_distribution, DistributionNotFound
ImportError: No module named pkg_resources
root@MyCloudPR4100 Tautulli-master #
Uninstall Tautulli.
Install Entware via the web UI. It plugs into your PATH so you may need to reconnect over SSH to reload the new /etc/profile.
Then install the new Tautulli package.
Press configure in the web UI and it should be fine.
If it isn’t, open a new SSH session and ensure python 2.15.1 is installed
/opt/bin/python --version
Ensure you’re using the new python, not the system version.
which python
Then check that the python package manager is installed
echo $PATH
which pip
pip --version or /opt/bin/pip --version
Finally try adding python setuptools, as pkg_resources module is part of that package.
opkg update
opkg install python-setuptools
If it still doesn’t start after all this, please provide the error of
/opt/bin/python ./PlexPy --port 8282
I’ll retest with a new entware environment later this week and update the install script if necessary.