thetman Posted May 27, 2022 Share Posted May 27, 2022 (edited) All of a sudden plexpass container will start but the PMS service will exit 1. Searching shows matches for permissions issues but things look good. I cant create files and directories at /config from inside the container as well. plexpass logs: 2022-05-27 12:17:47,476 DEBG 'plexmediaserver' stderr output: mkdir: cannot create directory ‘/config’: Permission denied 2022-05-27 12:17:47,487 DEBG 'plexmediaserver' stderr output: PMS: failure detected. Read/write access is required for path: /config/Plex Media Server 2022-05-27 12:17:47,488 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 23299864848864 for <Subprocess at 23299864843632 with name plexmediaserver in state STARTING> (stdout)> 2022-05-27 12:17:47,488 DEBG fd 12 closed, stopped monitoring <POutputDispatcher at 23299864849152 for <Subprocess at 23299864843632 with name plexmediaserver in state STARTING> (stderr)> 2022-05-27 12:17:47,488 INFO exited: plexmediaserver (exit status 1; not expected) 2022-05-27 12:17:47,488 DEBG received SIGCHLD indicating a child quit 2022-05-27 12:17:48,489 INFO gave up: plexmediaserver entered FATAL state, too many start retries too quickly permissions from inside the container: root@unraid:~# docker exec -it binhex-plexpass /bin/bash [root@unraid /]# ls -lah /config total 53M drwx------ 1 root root 284 May 19 13:14 . drwxr-xr-x 1 root root 256 May 27 12:17 .. -rw-r--r-- 1 root root 162 Nov 12 2021 perms.txt drwx------ 1 root root 188 May 19 15:32 'Plex Media Server' -rw-r--r-- 1 root root 0 May 19 13:14 test drwxr-xr-x 1 root root 0 Nov 12 2021 tmp drwxrwxrwx 1 root root 9.5K May 18 11:38 transcode [root@unraid /]# id uid=0(root) gid=0(root) groups=0(root) update:// I see the note @ FAQ Q4 about the logs. No new logs are being generated and last dated May 18. Here are the last few lines: May 18, 2022 11:38:11.873 [0x1542ed66eb38] DEBUG - Network change. May 18, 2022 11:38:11.873 [0x1542ed66eb38] DEBUG - NetworkInterface: Notified of network changed (force=0) May 18, 2022 11:38:11.873 [0x1542ed66eb38] DEBUG - Network change notification but nothing changed. May 18, 2022 11:38:12.957 [0x1542efb48b38] DEBUG - Shutting down with signal 15 (Terminated) May 18, 2022 11:38:12.957 [0x1542efb48b38] DEBUG - Ordered to stop server. May 18, 2022 11:38:12.957 [0x1542efc33d50] DEBUG - Stopping server... May 18, 2022 11:38:12.957 [0x1542efc33d50] DEBUG - HttpServer: Stopping server. May 18, 2022 11:38:12.958 [0x1542ed5d2b38] DEBUG - MetadataItemClusterRequestHandler: a shutdown event has been received May 18, 2022 11:38:12.958 [0x1542ed5d2b38] DEBUG - TranscodeJobManager: [Running] onServerShutdown May 18, 2022 11:38:12.958 [0x1542ed5d2b38] DEBUG - TranscodeJobManager: [Running] -> [Shutdown] May 18, 2022 11:38:12.958 [0x1542efc33d50] DEBUG - Server stopped. May 18, 2022 11:38:12.958 [0x1542efc33d50] DEBUG - NetworkService: Stopping advertisement. May 18, 2022 11:38:12.958 [0x1542ed628b38] ERROR - Network Service: Error in advertiser handle read: 125 (Operation canceled) socket=73 May 18, 2022 11:38:12.958 [0x1542efc33d50] DEBUG - Killing plug-ins. May 18, 2022 11:38:12.986 [0x1542efc33d50] DEBUG - [com.plexapp.system] Killing. May 18, 2022 11:38:12.988 [0x1542efb48b38] WARN - JobManager: Could not find job for handle 89 May 18, 2022 11:38:13.058 [0x1542ed628b38] INFO - Network Service: Abandoning advertise socket, it was closed. May 18, 2022 11:38:13.263 [0x1542efc33d50] DEBUG - ChildProcessMonitor: Waiting for Plex Tuner Service to exit. May 18, 2022 11:38:13.263 [0x1542efc33d50] DEBUG - [JobRunner] Signalling job ID 142 with 2 May 18, 2022 11:38:14.110 [0x1542efb48b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Tuner Service' exit code for process 142 is 0 (success) May 18, 2022 11:38:14.110 [0x1542ed5f5b38] DEBUG - [ChildProcessMonitor] Plex Tuner Service exited. May 18, 2022 11:38:14.110 [0x1542efc33d50] INFO - Killing process: Plex EAE Service (pid: 253) May 18, 2022 11:38:14.110 [0x1542efc33d50] DEBUG - Killing job. May 18, 2022 11:38:14.110 [0x1542efc33d50] DEBUG - Signalling job ID 253 with 9 May 18, 2022 11:38:14.112 [0x1542efc33d50] DEBUG - Killing job. May 18, 2022 11:38:14.112 [0x1542efc33d50] DEBUG - Signalling job ID 4576 with 9 May 18, 2022 11:38:14.112 [0x1542efc33d50] DEBUG - Database: Shutting down. May 18, 2022 11:38:14.114 [0x1542efb48b38] DEBUG - Jobs: '/config/Plex Media Server/Codecs/EasyAudioEncoder-1785-linux-x86_64/EasyAudioEncoder/EasyAudioEncoder' exit code for process 253 is -9 (signal: Killed) May 18, 2022 11:38:14.186 [0x1542efc33d50] DEBUG - Database: Shutting down. Edited May 27, 2022 by thetman update with more info Quote Link to comment
erikm101 Posted June 2, 2022 Share Posted June 2, 2022 On 5/27/2022 at 3:30 PM, erikm101 said: Thanks. I reviewed the logs and found no corruption or fatal entries. I did find a few error relating to parsing xml. Please see below. The last lines for parsing device schema are referencing an NVidia ShieldTV device. I changed the IP to read x.x.x.x. While I never did find any error entries of fatal or corruption, I was not able to resolve even after trying a db restore from backup (manual method). In the end, I had to remove the container, manually delete the appdata folder for PlexPass and then clean re-install the container. Plex is now happily rescanning my libraries and should hopefully be up and streaming again shortly. Thanks @binhex for pointing me to the support FAQ on github, that was helpful. Quote Link to comment
SovereignX Posted June 3, 2022 Share Posted June 3, 2022 (edited) Hi - My Plex docker is starting but no services appear to be running on it. The logs show the following: 2022-06-03 10:56:20.877297 [info] Host is running unRAID 2022-06-03 10:56:20.902215 [info] System information Linux Tower 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux 2022-06-03 10:56:20.934466 [info] OS_ARCH defined as 'x86-64' 2022-06-03 10:56:20.968476 [info] PUID defined as '99' 2022-06-03 10:56:21.004930 [info] PGID defined as '100' 2022-06-03 10:56:21.252220 [info] UMASK defined as '000' 2022-06-03 10:56:21.284188 [info] Permissions already set for '/config' 2022-06-03 10:56:21.317002 [info] Deleting files in /tmp (non recursive)... 2022-06-03 10:56:21.353675 [info] TRANS_DIR defined as '/config/transcode' 2022-06-03 10:56:21.390174 [info] Starting Supervisor... 2022-06-03 10:56:21,585 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing 2022-06-03 10:56:21,585 INFO Set uid to user 0 succeeded 2022-06-03 10:56:21,587 INFO supervisord started with pid 7 2022-06-03 10:56:22,590 INFO spawned: 'plexmediaserver' with pid 64 2022-06-03 10:56:22,593 INFO spawned: 'shutdown-script' with pid 65 2022-06-03 10:56:22,594 INFO reaped unknown pid 8 (exit status 0) 2022-06-03 10:56:23,595 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-06-03 10:56:23,596 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2022-06-03 10:56:38,962 DEBG 'plexmediaserver' stdout output: Critical: libusb_init failed I updated the docker yesterday and it is running the latest version as of now. I can see it is running the shutdown script, but I don't see why. edit: Plex was running but I could not see any libraries. I was getting the following exceptions: Thread: Uncaught exception running async task which was spawned by thread 0x14a256d5bb38: std::bad_cast and Got exception from request handler: std::bad_cast Saw the following post: I tried rolling back to 1.26, but now the UI does not come up at all. Edited June 3, 2022 by SovereignX Quote Link to comment
Supa Posted June 7, 2022 Share Posted June 7, 2022 (edited) Updated to Unraid version 6.10.2 but now having a playback error. Any ideas? Then updated plugin and getting this: hmm must be something with the cache device huh self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:05:12,188 INFO spawned: 'plexmediaserver' with pid 72 Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:05:12,210 INFO spawned: 'shutdown-script' with pid 74 Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:05:12,292 INFO reaped unknown pid 9 (exit status 1) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:05:13,309 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-06-06 19:05:13,309 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2022-06-06 19:05:25,166 DEBG 'plexmediaserver' stdout output: Critical: libusb_init failed 2022-06-06 19:07:14,856 DEBG 'plexmediaserver' stderr output: Traceback (most recent call last): File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/logging/__init__.py", line 892, in emit Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:07:14,866 DEBG 'plexmediaserver' stderr output: self.flush() File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/logging/__init__.py", line 852, in flush self.stream.flush() IOError: [Errno 28] No space left on device Logged from file peerservice.py, line 164 Traceback (most recent call last): File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/logging/__init__.py", line 892, in emit self.flush() File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/logging/__init__.py", line 852, in flush self.stream.flush() IOError: [Errno 28] No space left on device Logged from file networking.py, line 143 Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:07:14,885 DEBG 'plexmediaserver' stderr output: Traceback (most recent call last): File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/logging/__init__.py", line 889, in emit stream.write(fs % msg) IOError: [Errno 28] No space left on device Logged from file runtime.py, line 1128 Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device 2022-06-06 19:10:49,356 DEBG 'plexmediaserver' stderr output: Connection to 184.105.148.81 closed by remote host. Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 109, in emit self.flush() File "/usr/lib/python3.10/site-packages/supervisor/loggers.py", line 68, in flush self.stream.flush() OSError: [Errno 28] No space left on device Edited June 7, 2022 by Supa Quote Link to comment
CiscoCoreX Posted July 8, 2022 Share Posted July 8, 2022 (edited) Hi, Is this normal with binhex's version? Port mappings are empty. Edited July 8, 2022 by CiscoCoreX Quote Link to comment
JonathanM Posted July 8, 2022 Share Posted July 8, 2022 2 hours ago, CiscoCoreX said: Is this normal with binhex's version? Port mappings are empty. Host network type doesn't remap ports, it passes them all directly. Doesn't matter whose version. Quote Link to comment
CiscoCoreX Posted July 8, 2022 Share Posted July 8, 2022 (edited) 1 hour ago, JonathanM said: Host network type doesn't remap ports, it passes them all directly. Doesn't matter whose version. Hi, Same with br0 network type. And bridge and custom network type. I was testing the version from linuxserver, then all mapping was available. Edited July 8, 2022 by CiscoCoreX Quote Link to comment
JonathanM Posted July 8, 2022 Share Posted July 8, 2022 37 minutes ago, CiscoCoreX said: Hi, Same with br0 network type. And bridge and custom network type. I was testing the version from linuxserver, then all mapping was available. See here. https://forums.unraid.net/topic/44142-support-binhex-plex-pass/?do=findComment&comment=767160 1 Quote Link to comment
CiscoCoreX Posted July 8, 2022 Share Posted July 8, 2022 2 minutes ago, JonathanM said: See here. https://forums.unraid.net/topic/44142-support-binhex-plex-pass/?do=findComment&comment=767160 Thank you very much Quote Link to comment
Bluedevil678 Posted July 15, 2022 Share Posted July 15, 2022 (edited) Hey All, Quick Q - Im slowly loosing free space on my cache drive due to these index files Any suggestions? This reddit thread suggests it has to do with previews and thumbnails (index-sd.bif) - do we havbe a way to push these off the cache? Update: This article covers the creation of the video preview files used for when fastforwarding... depending on your library size it may be worth removing them as per the instructions in the article for series. Edited July 15, 2022 by Bluedevil678 Additional Data Quote Link to comment
slofiend Posted July 16, 2022 Share Posted July 16, 2022 Hello. I had a power outage and my Preferences.xml file was wiped out to 0Kb. I don't have a backup for it (whap waaa, I know). I can't find the format it should be in to rebuild it, or seem to generate a new one. I don't actually know what all is usually contained within it. Can someone share an example of theirs or point me to what I should do to make a new one? Thanks Quote Link to comment
CiscoCoreX Posted July 16, 2022 Share Posted July 16, 2022 (edited) 1 hour ago, slofiend said: Hello. I had a power outage and my Preferences.xml file was wiped out to 0Kb. I don't have a backup for it (whap waaa, I know). I can't find the format it should be in to rebuild it, or seem to generate a new one. I don't actually know what all is usually contained within it. Can someone share an example of theirs or point me to what I should do to make a new one? Thanks Hello, you can try to reinstall the plexserver. Make a backup of your database folder first. (\binhex-plexpass\Plex Media Server\Plug-in Support\Database\) OR You can just try to edit your plex container and and make the chances and click APPLY. That should make a new Preferences.xml file I think Edited July 16, 2022 by CiscoCoreX Quote Link to comment
slofiend Posted July 16, 2022 Share Posted July 16, 2022 5 hours ago, CiscoCoreX said: Hello, you can try to reinstall the plexserver. Make a backup of your database folder first. (\binhex-plexpass\Plex Media Server\Plug-in Support\Database\) OR You can just try to edit your plex container and and make the chances and click APPLY. That should make a new Preferences.xml file I think Hello and thanks. I already tried to reinstall. No luck. Editing the container didn't seem to provide any changes either. Unless there is something specific I should edit that I missed. Can you share what your preferences. Xml file looks like? Id like to try and recreate mine. Quote Link to comment
CiscoCoreX Posted July 16, 2022 Share Posted July 16, 2022 1 hour ago, slofiend said: Hello and thanks. I already tried to reinstall. No luck. Editing the container didn't seem to provide any changes either. Unless there is something specific I should edit that I missed. Can you share what your preferences. Xml file looks like? Id like to try and recreate mine. Hello, I have sent you my Preferences.xml file, and removed all sensitive information Quote Link to comment
slofiend Posted July 16, 2022 Share Posted July 16, 2022 No luck swapping out Prefences files, I'll try a fresh install and see if backing up my PMS folder structure and swapping it back in will work. Thanks. Quote Link to comment
CiscoCoreX Posted July 16, 2022 Share Posted July 16, 2022 53 minutes ago, slofiend said: No luck swapping out Prefences files, I'll try a fresh install and see if backing up my PMS folder structure and swapping it back in will work. Thanks. Sorry to hear that didn't work Hopefully a clean install should work and then move your database folder from you backup Quote Link to comment
slofiend Posted July 17, 2022 Share Posted July 17, 2022 (edited) How do I completely remove the plexpass Docker? I keep trying to do a clean re-install but each time I, Remove (and delete image), and then re-install Plex inherits old config info...I want to wipe out all former traces...any steps on how to do this? I've also gone in through FileZilla and manually deleted the whole binhex-plexpass folder from my appdata, but this didn't seem to help either. Thanks Edited July 17, 2022 by slofiend added note about appdata folder Quote Link to comment
binhex Posted July 18, 2022 Author Share Posted July 18, 2022 10 hours ago, slofiend said: I've also gone in through FileZilla and manually deleted the whole binhex-plexpass folder from my appdata that will definitely do it, the only place configuration for plex is stored is in /config, the only other persistent data is configuration of the container, this is stored on your usb key and can be completely removed by going to docker/add container/ then 'select a template' dropdown and select under [user templates] your plex template then to the left of the name is a 'x' click it to delete the template, then reinstall from CA. Quote Link to comment
meechgalhuquot Posted August 12, 2022 Share Posted August 12, 2022 Is it possible for you to add the server claim variable to the template like the linuxserver version? I had to reinstall cause my Preferences.xml got corrupted and I couldn't fix it by deleting, then no matter what I did while reinstalling I could not claim the server, it never gave me the option. Yes I cleared the template and cleared the appdata for the docker container first too. Quote Link to comment
owzo Posted August 15, 2022 Share Posted August 15, 2022 I'm trying to create a new Instance of the binhex-plexpass docker but when i load the web UI it wont let me claim the server? It acts like its just in Client Mode and lets me access my other remote servers. Quote Link to comment
meechgalhuquot Posted August 23, 2022 Share Posted August 23, 2022 On 8/15/2022 at 2:13 PM, owzo said: I'm trying to create a new Instance of the binhex-plexpass docker but when i load the web UI it wont let me claim the server? It acts like its just in Client Mode and lets me access my other remote servers. I had the same issue, I couldn't find a solution so I had to switch to the 'linuxserver' version of Plex instead as it uses a different method of claiming a server Quote Link to comment
LumberJackGeek Posted August 24, 2022 Share Posted August 24, 2022 Apologies in advance, I am guessing you might get a lot of issues today, but after resetting/force signing out of everything, after I sign in again on the web app, I can't access my server, and I don't see a UI to claim my server. Do I need to supply a claims token to the docker template somehow? Quote Link to comment
LumberJackGeek Posted August 24, 2022 Share Posted August 24, 2022 1 hour ago, LumberJackGeek said: Apologies in advance, I am guessing you might get a lot of issues today, but after resetting/force signing out of everything, after I sign in again on the web app, I can't access my server, and I don't see a UI to claim my server. Do I need to supply a claims token to the docker template somehow? IF YOU ARE RUNNING A CUSTOM DOCKER NETWORK, TRY THIS! Install a Firefox Docker (available on the unRAID AppStore) Navigate to ip:32400/web from the Firefox docker Should be able to claim your server now Quote Link to comment
lazysn4il Posted August 25, 2022 Share Posted August 25, 2022 18 hours ago, LumberJackGeek said: Apologies in advance, I am guessing you might get a lot of issues today, but after resetting/force signing out of everything, after I sign in again on the web app, I can't access my server, and I don't see a UI to claim my server. Do I need to supply a claims token to the docker template somehow? I had a similair problem.. What i found is that i was still able to access my server using [IP]:32400 to reclaim my server. However after reclaiming, [IP]:32400 no longer works. The good thing is i can still access the server using https://app.plex.tv/ for now. I hoping the next update will fix this as it can be problematic if i was to change password again Quote Link to comment
binarymelon Posted August 25, 2022 Share Posted August 25, 2022 (edited) I've found I need to tunnel to my unraid server because claiming won't work unless it's accessed on `localhost`. Not sure if claim codes are required using this process, but if not they've never really worked for me. ssh <user>@<your_server_ip> -L <your_plex_web_port_or_probably_whatever_port_you_feel_like>:<your_server_ip>:<your_plex_port> Then you should be able to navigate to http://localhost:<your_plex_web_port_or_probably_whatever_port_you_feel_like>/web/index.html#!/ Edited August 25, 2022 by binarymelon Quote Link to comment
Recommended Posts
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.