Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Tautulli

Featured Replies

  • Replies 382
  • Views 138.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • ThatTallGuy21
    ThatTallGuy21

    Dude.. thank you so much for taking the time to explain this to me. Makes more sense now. I was not aware of how any of this worked. 

  • It's a database error. I had this issue, when i changed plex containers, and the servers had different IDs, and maybe i started over, with the same library and server name, so it confused plexpy kinda

  • I'm not getting this error, but can you check the file "config.ini" in your config folder and see what the parameter "log_dir" is set to? That's a gui setting and by default it should be "/config

Posted Images

I am totaly confused  :-\

I used this both adresses:

 

Docker Hub: https://hub.docker.com/r/linuxserver/plexpy/

Github: https://github.com/linuxserver/docker-plexpy

 

but i cant get it at the dropout

When i use "Add Container" i only see LimeTech "Sync" and "Plex Media Server"

But where is the dropout for linuxserver.io???

Is there a reboot of unRAID necessary?

 

By default only the LimeTech repos are installed, to be honest nobody installs repos anymore, far better to search and add via Community Applications tbh.  Don't let the fact Squid wrote it put you off, it really is excellent and adds a lot of functionality to the whole docker experience.  I mean, yeah, he can be an ass but he writes a good plugin....  ;D

 

However if you really really want to install it all the old fashioned way, our template repository is

 

https://github.com/linuxserver/docker-templates/tree/master/linuxserver.io

I am totaly confused  :-\

I used this both adresses:

 

Docker Hub: https://hub.docker.com/r/linuxserver/plexpy/

Github: https://github.com/linuxserver/docker-plexpy

 

but i cant get it at the dropout

When i use "Add Container" i only see LimeTech "Sync" and "Plex Media Server"

But where is the dropout for linuxserver.io???

Is there a reboot of unRAID necessary?

lsio doesn't publish the repository address anymore (and they're not alone in that)  They pretty much expect that you have Community Applications installed

Thanks Squid for your help. I found the address and was able to install PlexPy but now it says: There is an error communicate with your Plex-Server - anyway, i have too less experiance to install or understand this Docker-Strange and leave it as it is - thanks for your help  ;)

 

EDIT: is there a need for the Plex Server to run as Docker too? My Plex server is not running in a Docker container yet.

 

EDIT2: Got it! There was a Problem with the Login on Plex.tv - removed everything and startet from scratch - working  ;)

Zonediver, I posted first! lol. Glad you got it sorted though.

 

Sent from my LG-H815 using Tapatalk

 

 

Zonediver, I posted first! lol. Glad you got it sorted though.

 

Sent from my LG-H815 using Tapatalk

 

CHBMB yes you are right, but i didnt know how this works - but i got it after 5min of "thinking"  ;D and now, all is fine ;)

Thanks for your hint  ;)

Hello,

 

I'd like to delete watched episodes from one of my libraries.

When i google this, it always leads me to a python script in the plex forums.

I don't really know python, or any of this. Even though i guess the whole plexwatch thing is just a python script, which watches the plex logs.

 

whatever, so my question is this:

 

Can I use these remove watched episodes scripts with plexpy somehow?

how would i set up the schedule for example? is there any guide or smoething where i can start?

thanks

 

Thank you

Hello,

 

I'd like to delete watched episodes from one of my libraries.

When i google this, it always leads me to a python script in the plex forums.

I don't really know python, or any of this. Even though i guess the whole plexwatch thing is just a python script, which watches the plex logs.

 

whatever, so my question is this:

 

Can I use these remove watched episodes scripts with plexpy somehow?

how would i set up the schedule for example? is there any guide or smoething where i can start?

thanks

 

Thank you

 

No, this app doesn't remove watched items, nor can you delete things from your Plex library with it as far as I know.

Yes, it doesn't have this feature by default, but can it run other python scripts?

Yes, it doesn't have this feature by default, but can it run other python scripts?

 

If you just want python why not install it on Unraid with the NerdPack plugin.

thanks, but how would that work?

i found something, about cron jobs (no idea what it is), and if i put it in the right plug-in folder, it will run it on start-up, but still no fix schedule.

 

what would be the easiest way to run 1 python script weekly?

can you point me to the right directon?

thanks!

What would be the easiest way to run 1 python script weekly?

can you point me to the right directon?

thanks!

Install python via the NerdPack plugin

Install the user scripts plugin

Set the user scripts plugin to run the python script weekly

thanks, but how would that work?

i found something, about cron jobs (no idea what it is), and if i put it in the right plug-in folder, it will run it on start-up, but still no fix schedule.

 

what would be the easiest way to run 1 python script weekly?

can you point me to the right directon?

thanks!

 

1. Install nerdpack plugin and install python

2.  Copy python script to your flash drive

3.  Install user scripts plugin

4.  Write script to execute python script & place in the folder told by user scripts

5.  Set to execute weekly

thanks, but how would that work?

i found something, about cron jobs (no idea what it is), and if i put it in the right plug-in folder, it will run it on start-up, but still no fix schedule.

 

what would be the easiest way to run 1 python script weekly?

can you point me to the right directon?

thanks!

 

1. Install nerdpack plugin and install python

2.  Copy python script to your flash drive

3.  Install user scripts plugin

4.  Write script to execute python script & place in the folder told by user scripts

5.  Set to execute weekly

I beat you this time  ;D

thanks, but how would that work?

i found something, about cron jobs (no idea what it is), and if i put it in the right plug-in folder, it will run it on start-up, but still no fix schedule.

 

what would be the easiest way to run 1 python script weekly?

can you point me to the right directon?

thanks!

I beat you this time  ;D

1. Install nerdpack plugin and install python

2.  Copy python script to your flash drive

3.  Install user scripts plugin

4.  Write script to execute python script & place in the folder told by user scripts

5.  Set to execute weekly

 

Win some, lose some....  ::)

I had to re-create docker image the other day.

When i start it i get these errors:

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing...
Cloning into '/opt/plexpy'...
error: RPC failed; curl 52 Empty reply from server

fatal: The remote end hung up unexpectedly
chown: cannot access '/opt/plexpy': No such file or directory
[cont-init.d] 30-install: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
python: can't open file '/opt/plexpy/PlexPy.py': [Errno 2] No such file or directory

 

I tried to remove the folder from appdata, it is now creating the folder, but it is empty

Same thing is happening to my sickrage container

I had to re-create docker image the other day.

When i start it i get these errors:

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing...
Cloning into '/opt/plexpy'...
error: RPC failed; curl 52 Empty reply from server

fatal: The remote end hung up unexpectedly
chown: cannot access '/opt/plexpy': No such file or directory
[cont-init.d] 30-install: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
python: can't open file '/opt/plexpy/PlexPy.py': [Errno 2] No such file or directory

 

I tried to remove the folder from appdata, it is now creating the folder, but it is empty

Same thing is happening to my sickrage container

 

That's showing there is an error with the git clone on installing the container.  For some reason your not hitting the github site.

 

You can check this with

 

docker exec -it plexpy bash
ping github.com

 

You should see something like:

 

root@2fd3d812f611:/$ ping github.com
PING github.com (192.30.253.113): 56 data bytes
64 bytes from 192.30.253.113: seq=0 ttl=49 time=91.089 ms
64 bytes from 192.30.253.113: seq=1 ttl=49 time=91.194 ms
64 bytes from 192.30.253.113: seq=2 ttl=49 time=92.601 ms
64 bytes from 192.30.253.113: seq=3 ttl=49 time=91.159 ms
64 bytes from 192.30.253.113: seq=4 ttl=49 time=91.153 ms
64 bytes from 192.30.253.113: seq=5 ttl=49 time=91.079 ms
64 bytes from 192.30.253.113: seq=6 ttl=49 time=90.985 ms
64 bytes from 192.30.253.113: seq=7 ttl=49 time=91.448 ms
^C
--- github.com ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 90.985/91.338/92.601 ms

 

Also try running

 

ping github.com 

 

directly from your Unraid box.  Worth checking your DNS settings on your LAN & Unraid box.

I had to re-create docker image the other day.

When i start it i get these errors:

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing...
Cloning into '/opt/plexpy'...
error: RPC failed; curl 52 Empty reply from server

fatal: The remote end hung up unexpectedly
chown: cannot access '/opt/plexpy': No such file or directory
[cont-init.d] 30-install: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
python: can't open file '/opt/plexpy/PlexPy.py': [Errno 2] No such file or directory

 

I tried to remove the folder from appdata, it is now creating the folder, but it is empty

Same thing is happening to my sickrage container

 

That's showing there is an error with the git clone on installing the container.  For some reason your not hitting the github site.

 

You can check this with

 

docker exec -it plexpy bash
ping github.com

 

You should see something like:

 

root@2fd3d812f611:/$ ping github.com
PING github.com (192.30.253.113): 56 data bytes
64 bytes from 192.30.253.113: seq=0 ttl=49 time=91.089 ms
64 bytes from 192.30.253.113: seq=1 ttl=49 time=91.194 ms
64 bytes from 192.30.253.113: seq=2 ttl=49 time=92.601 ms
64 bytes from 192.30.253.113: seq=3 ttl=49 time=91.159 ms
64 bytes from 192.30.253.113: seq=4 ttl=49 time=91.153 ms
64 bytes from 192.30.253.113: seq=5 ttl=49 time=91.079 ms
64 bytes from 192.30.253.113: seq=6 ttl=49 time=90.985 ms
64 bytes from 192.30.253.113: seq=7 ttl=49 time=91.448 ms
^C
--- github.com ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 90.985/91.338/92.601 ms

 

Also try running

 

ping github.com 

 

directly from your Unraid box.  Worth checking your DNS settings on your LAN & Unraid box.

 

Network seems fine

 

root@HOMESRV:~# docker exec -it plexpy bash
root@325c6ae9448a:/$ ping github.com
PING github.com (192.30.253.112): 56 data bytes
64 bytes from 192.30.253.112: seq=0 ttl=53 time=105.149 ms
64 bytes from 192.30.253.112: seq=1 ttl=53 time=105.096 ms
64 bytes from 192.30.253.112: seq=2 ttl=53 time=107.292 ms
64 bytes from 192.30.253.112: seq=3 ttl=53 time=105.140 ms

 

root@HOMESRV:~# ping github.com
PING github.com (192.30.253.113) 56(84) bytes of data.
64 bytes from 192.30.253.113: icmp_seq=1 ttl=54 time=108 ms
64 bytes from 192.30.253.113: icmp_seq=2 ttl=54 time=106 ms
64 bytes from 192.30.253.113: icmp_seq=3 ttl=54 time=105 ms

Hmmm, can you post your docker run command?

 

EDIT: Just checked a fresh install on mine and it's working.  So definitely something your end...

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/index.php/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing...
Cloning into '/opt/plexpy'...
[cont-init.d] 30-install: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-init.d] 30-install: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2016-11-25 23:56:34 - INFO :: MainThread : Checking to see if the database has all tables....
2016-11-25 23:56:34 - DEBUG :: MainThread : User "Local" does not exist. Adding user.
2016-11-25 23:56:34 - DEBUG :: MainThread : Generating UUID...
2016-11-25 23:56:34 - INFO :: MainThread : PlexPy Config :: Writing configuration to file
2016-11-25 23:56:34 - DEBUG :: MainThread : Trying to execute: "git rev-parse HEAD" with shell in /opt/plexpy
2016-11-25 23:56:34 - DEBUG :: MainThread : Git output: ef85fba2e5d3d98c0f442474e578cabcba4cfe5b
2016-11-25 23:56:34 - DEBUG :: MainThread : Trying to execute: "git rev-parse --abbrev-ref HEAD" with shell in /opt/plexpy
2016-11-25 23:56:34 - DEBUG :: MainThread : Git output: master
2016-11-25 23:56:34 - INFO :: MainThread : Retrieving latest version information from GitHub

2016-11-25 23:56:34 - DEBUG :: MainThread : Requesting URL via GET method: https://api.github.com/repos/JonnyWong16/plexpy/commits/master
2016-11-25 23:56:35 - DEBUG :: MainThread : Latest version is ef85fba2e5d3d98c0f442474e578cabcba4cfe5b

2016-11-25 23:56:35 - INFO :: MainThread : PlexPy is up to date
2016-11-25 23:56:35 - INFO :: MainThread : Scheduled background task: Check GitHub for updates
2016-11-25 23:56:35 - INFO :: MainThread : Scheduled background task: Backup PlexPy database
2016-11-25 23:56:35 - INFO :: MainThread : Scheduled background task: Backup PlexPy config
2016-11-25 23:56:35 - INFO :: MainThread : PlexPy WebStart :: Starting PlexPy web server on http://0.0.0.0:8181/

Pulling image: linuxserver/plexpy:latest
IMAGE ID [latest]: Pulling from linuxserver/plexpy. 
IMAGE ID [3690ec4760f9]: Already exists. 
IMAGE ID [7ce0a53af76e]: Pulling fs layer. Downloading 100% of 5 MB. Verifying Checksum. Download complete. Extracting. Pull complete. 
IMAGE ID [332592a9b73e]: Pulling fs layer. Downloading 100% of 458 B. Download complete. Extracting. Pull complete. 
IMAGE ID [9cba2a8f486d]: Pulling fs layer. Downloading 100% of 34 MB. Verifying Checksum. Download complete. Extracting. Pull complete. 
IMAGE ID [8cebf4d1e0cb]: Pulling fs layer. Downloading 100% of 637 B. Download complete. Extracting. Pull complete. 
Status: Downloaded newer image for linuxserver/plexpy:latest

 

run -d --name="plexpy" --net="bridge" -e TZ="Europe/Paris" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -p 8185:8181/tcp -v "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Logs/":"/logs":ro -v "/mnt/user/appdata/plexpy":"/config":rw linuxserver/plexpy
ce46f114875f2b2f0e46da658438ee300275415feeff25167510827a53d9ae53

The command finished successfully!

Can you try removing the docker container and image one more time and running

 

rm -rf /mnt/user/appdata/plexpy/

 

Then try again.

Can you try removing the docker container and image one more time and running

 

rm -rf /mnt/user/appdata/plexpy/

 

Then try again.

 

Tried that several times, but will try again :)

 

Same thing again, all the error are back.

 

Before deletion:

drwxrwxrwx 1 nobody users    6 Nov 26 01:11 plexpy/

 

Permission of appdata:

drwxrwxrwx 1 nobody users  290 Nov 26 01:27 appdata/

 

After redownload:

drwxrwxrwx 1 nobody users    6 Nov 26 01:29 plexpy/

you got a cache disk?

 

Not anymore. It is pulled out atm.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.