June 1, 20251 yr @binhex I'd very much like to collaborate and make this smooth and full featured for BINHEX users. The tool has been named DBRepair.sh since its debut in December 2022. :) Plex required I change the repository name to comply with their policies. This is what caused the 1.11.00 rebranding but now Repo name and scrip name are in sync as they should have been since day one.Regarding the functionality,DBRepair does auto-detect the host/container type and BINHEX is supported. (This configures the pathnames)Stopping PMS from within the DBRepair menu is trivial and always been available.I've never been able to get it to restart cleanly (without hanging at the start command).Is it possible to behave like other containers where DBRepair stop auto start exit would function like all other configurations do ?DBRepair does have built-in Update capability. (It will look at github and, if appropriate, download the latest on top of itself. Self-restart option is coming) If you have advice / instructions on how to make this smooth, I'll gladly accommodate. Given my DBRepair is FOSS, you're welcome to include it in the image so users have the full set of features. I only ask we coordinate changes through the GitHub repo.Thanks,ChuckPa
June 5, 20251 yr On 6/1/2025 at 3:15 AM, LumpyCustard said:I had a lot of issues with /home/nobody/dbrepair.sh that comes bundled with binhex-plexpass. I think it's extremely confusing to name the script the same as the much more fully featured script found via https://github.com/ChuckPa/DBRepairI ran into a multitude of issues, including the script finishing in <1 second and not actually doing anything, as well as the script running for 20+ hours and achieving nothing aside from generating a gargantuan WAL file in excess of 50GB.I see a lot of complaints on reddit and these forums from people trying to run the "proper" DBRepair script from ChuckPa and not being able to stop the PMS service in binhex-plex / binhex-plexpass and going around in circles.In any case, I want to post what solved my issues after recovering a 250GB backup of my Plex folder after the binhex script failed to yield any results.Opened console for binhex-plexpassRan kill -15 $(pidof) 'Plex Media Server') about 10 times until watchdog gave up trying to start PlexDownloaded and ran ChuckPa's DBRepairRan option 911 (deflate/vacuum), which dropped my database from 73GB to 681MBRan an automatic repairAll in all it took about 1.5-2 hours and my database was fully repaired and Plex is running wonderfully again.It would be great if this script was included, or if the container had some kind of stop command to make using ChuckPa's script a bit easier. A tertiary google search for "binhex dbrepair.sh stop plex" shows a lot of people running around in circles trying to fix their DB's.And as an aside I think it would be beneficial to rename the script "binhexdbfix.sh" or some such considering ChuckPa's has been around much longer and is named exactly the same.Could you possibly give a little more description on how to run this? I'm just about out of space and I can't for the life of me get ChuckPa's script going. Thanks.
June 5, 20251 yr 1 hour ago, x64 said:Could you possibly give a little more description on how to run this? I'm just about out of space and I can't for the life of me get ChuckPa's script going. Thanks.Did you try the latest release on ChuckPa's github? He released an update specifically targeting the binhex container.
June 5, 20251 yr 20 hours ago, JoshuaH15 said:Did you try the latest release on ChuckPa's github? He released an update specifically targeting the binhex container.I did last night and it didn't seem to do anything. I forced a Plex database optimization through Webtools. It's been going almost 24 hours. Not too hopeful at this point. I feel very unlucky.
June 6, 20251 yr Author On 6/5/2025 at 3:37 AM, JoshuaH15 said:Did you try the latest release on ChuckPa's github? He released an update specifically targeting the binhex container.Just a little bit more on this, i have been working with @ChuckPaPlex to improve integration with the my images and have successfully got the script running, so with that work done i have now included ChuckPA's script directly into the image, so to run the script:- 1. Go to UNRAID web ui/Docker tab 2. Left click the container and select 'Console' 3. Type 'DBRepair.sh' and press return to start the script 4. Follow ChuckPA's documentation on usage here
June 9, 20251 yr Hello,I'm not sure if I'm posting this in the right spot on not but I'm having an issue with binhex-plexpass Docker even though i believe this might be more of a plex issue itself. Basically everything was working fine and then all of a sudden Plex would stop adding any new media to my library.Now I haven't changed any settings or anything when this happened so my guess is that something has happened once a file was scanned. I have had a look at the unraid logs and there was no errors and I downloaded and had a look at the Plex logs and couldn't really see anything jumping out at me. I have tried optimizing database and clean bundles options so far without any success.Any help on this would be greatly appreciated.Bob
June 10, 20251 yr On 6/6/2025 at 9:21 AM, binhex said:Just a little bit more on this, i have been working with @ChuckPaPlex to improve integration with the my images and have successfully got the script running, so with that work done i have now included ChuckPA's script directly into the image, so to run the script:-1. Go to UNRAID web ui/Docker tab2. Left click the container and select 'Console'3. Type 'DBRepair.sh' and press return to start the script4. Follow ChuckPA's documentation on usage here@binhex Sorry, how can I stop the PMS service manually to run the other options in the script?EDIT: Managed to figure it out—kill -15 $(pidof 'Plex Media Server')Thank you for including the script! Edited June 10, 20251 yr by nlash
June 10, 20251 yr Author 5 hours ago, nlash said:EDIT: Managed to figure it out—kill -15 $(pidof 'Plex Media Server')you shouldn't need to do that, the script has a 'stop' argument, so 'DBRepair.sh stop' should of done the deed.
June 13, 20251 yr Just wanted to say THANK YOU for DBRepair, I just spent a few hours today repairing a damaged database.
June 13, 20251 yr Author 4 hours ago, nlash said:@binhex Sorry, how can I stop the PMS service manually to run the other options in the script?EDIT: Managed to figure it out—kill -15 $(pidof 'Plex Media Server')Thank you for including the script!You shouldn't need to do that6 hours ago, Mannymal said:Just wanted to say THANK YOU for DBRepair, I just spent a few hours today repairing a damaged database.Hey don't thank me, I just had the task of integrating it in @ChuckPaPlex is the author and deserves the praise here. 👏 Glad you are having good success with it.
June 14, 20251 yr On 6/13/2025 at 2:34 AM, binhex said:Hey don't thank me, I just had the task of integrating it in @ChuckPaPlex is the author and deserves the praise here. 👏 Glad you are having good success with it.Thanks @ChuckPaPlex for the tool! And thanks @binhex for all the work you do to make Unraid a great ecosystem.
June 14, 20251 yr 2025-06-14 11:38:48,026 DEBG 'plexmediaserver' stdout output:decoder information: 249Greetings, does anyone know what this code means? My Plex log is full of it. Edited June 14, 20251 yr by Mannymal
June 17, 20251 yr Hi,I have the binhex-plexpass docker set up but in my ZFS Master it is showing the PlexPass folder size being 130.4GiB.Upon looking into it further, I am noticing it mainly the Plex Media Server > Plug-In Support > Databases that is taking up 107.4 GiB.Any ideas on how to resolve this issue of this mass amount of storage using up my cache drive?
June 17, 20251 yr 19 hours ago, Chugroot said:Hi,I have the binhex-plexpass docker set up but in my ZFS Master it is showing the PlexPass folder size being 130.4GiB.Upon looking into it further, I am noticing it mainly the Plex Media Server > Plug-In Support > Databases that is taking up 107.4 GiB.Any ideas on how to resolve this issue of this mass amount of storage using up my cache drive?I got the same issue with a db file of 273GB and i found this plex bug that i though may be the culprit. (Although i dont have beta release channel checked)https://forums.plex.tv/t/library-db-size-more-than-doubled-in-latest-version/918851/324But after doing their recommended fix (pressing optimize the database in webui, which took 36hours (during which plex is unresponsive)) it is still 262GB.I intend to dig into that db file to see whats taking all the space later. You can see if optimize works for you, but be aware that it will first double the size used before removing it at the end. When plex is responsive again it is done and you’ll need to restart the docker to let it clear the db wall file.If you don’t care about your watch history then i am pretty sure you can also delete the database files.
June 23, 20251 yr Someone help please, Plex stopped working out of the blue, which is weird because it hasn't been used much this week. Can someone please help if possibleLog copy pasta\_ |__ |__| ____ | |__ ____ ___ ___| __ \| |/ \| | \_/ __ \\ \/ /| \_\ \ | | \ Y \ ___/ > <|___ /__|___| /___| /\___ >__/\_ \\/ \/ \/ \/ \/https://hub.docker.com/u/binhex/2025-06-23 13:21:13.060998 [info] Host is running unRAID2025-06-23 13:21:13.075634 [info] System information: Linux ServerDeV 6.12.24-Unraid #1 SMP PREEMPT_DYNAMIC Sat May 3 00:12:52 PDT 2025 x86_64 GNU/Linux2025-06-23 13:21:13.090841 [info] Image tags: BASE_RELEASE_TAG=2025060101,IMAGE_RELEASE_TAG=1.41.8.9834-1-042025-06-23 13:21:13.109040 [info] PUID defined as '99'2025-06-23 13:21:13.126493 [info] PGID defined as '100'2025-06-23 13:21:13.151292 [info] UMASK defined as '000'2025-06-23 13:21:13.174845 [info] Permissions already set for '/config'2025-06-23 13:21:13.195809 [info] Deleting files in /tmp (non recursive)...2025-06-23 13:21:13.219527 [info] TRANS_DIR defined as '/transcode'2025-06-23 13:21:13.241378 [info] SHARED_NETWORK defined as 'no'2025-06-23 13:21:13.258313 [info] Starting Supervisor...2025-06-23 13:21:13,414 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing2025-06-23 13:21:13,414 INFO Set uid to user 0 succeeded2025-06-23 13:21:13,421 INFO RPC interface 'supervisor' initialized2025-06-23 13:21:13,421 CRIT Server 'unix_http_server' running without any HTTP authentication checking2025-06-23 13:21:13,421 INFO supervisord started with pid 202025-06-23 13:21:14,422 INFO spawned: 'plexmediaserver' with pid 772025-06-23 13:21:14,423 INFO reaped unknown pid 21 (exit status 0)2025-06-23 13:21:15,034 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:15,293 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633101384336 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:15,293 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633101024208 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:15,294 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:15,294 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:16,295 INFO spawned: 'plexmediaserver' with pid 932025-06-23 13:21:17,019 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:17,183 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633101024208 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:17,183 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633100897040 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:17,183 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:17,184 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:19,186 INFO spawned: 'plexmediaserver' with pid 1092025-06-23 13:21:19,690 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:19,846 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633100897040 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:19,846 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633101477648 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:19,847 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:19,847 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:22,850 INFO spawned: 'plexmediaserver' with pid 1252025-06-23 13:21:23,286 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:23,470 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633101268096 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:23,471 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633101270544 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:23,471 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:23,471 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:24,472 INFO gave up: plexmediaserver entered FATAL state, too many start retries too quickly
June 24, 20251 yr On 6/14/2025 at 2:42 PM, Mannymal said:decoder information: 249The Dolby decoder / translation tool (EasyAccessEncoder) is licensed to Plex.Plex must use AS-IS.The message appears informational and of no consequence in any of our testing.Until such time as it becomes a problem, please ignore it.If / when it is problem, Please reach out via the Plex forums.
July 4, 20251 yr On 6/23/2025 at 2:31 PM, ItsLouieV said:Someone help please, Plex stopped working out of the blue, which is weird because it hasn't been used much this week. Can someone please help if possibleLog copy pasta\_ |__ |__| ____ | |__ ____ ___ ___| __ \| |/ \| | \_/ __ \\ \/ /| \_\ \ | | \ Y \ ___/ > <|___ /__|___| /___| /\___ >__/\_ \\/ \/ \/ \/ \/https://hub.docker.com/u/binhex/2025-06-23 13:21:13.060998 [info] Host is running unRAID2025-06-23 13:21:13.075634 [info] System information: Linux ServerDeV 6.12.24-Unraid #1 SMP PREEMPT_DYNAMIC Sat May 3 00:12:52 PDT 2025 x86_64 GNU/Linux2025-06-23 13:21:13.090841 [info] Image tags: BASE_RELEASE_TAG=2025060101,IMAGE_RELEASE_TAG=1.41.8.9834-1-042025-06-23 13:21:13.109040 [info] PUID defined as '99'2025-06-23 13:21:13.126493 [info] PGID defined as '100'2025-06-23 13:21:13.151292 [info] UMASK defined as '000'2025-06-23 13:21:13.174845 [info] Permissions already set for '/config'2025-06-23 13:21:13.195809 [info] Deleting files in /tmp (non recursive)...2025-06-23 13:21:13.219527 [info] TRANS_DIR defined as '/transcode'2025-06-23 13:21:13.241378 [info] SHARED_NETWORK defined as 'no'2025-06-23 13:21:13.258313 [info] Starting Supervisor...2025-06-23 13:21:13,414 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing2025-06-23 13:21:13,414 INFO Set uid to user 0 succeeded2025-06-23 13:21:13,421 INFO RPC interface 'supervisor' initialized2025-06-23 13:21:13,421 CRIT Server 'unix_http_server' running without any HTTP authentication checking2025-06-23 13:21:13,421 INFO supervisord started with pid 202025-06-23 13:21:14,422 INFO spawned: 'plexmediaserver' with pid 772025-06-23 13:21:14,423 INFO reaped unknown pid 21 (exit status 0)2025-06-23 13:21:15,034 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:15,293 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633101384336 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:15,293 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633101024208 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:15,294 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:15,294 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:16,295 INFO spawned: 'plexmediaserver' with pid 932025-06-23 13:21:17,019 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:17,183 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633101024208 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:17,183 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633100897040 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:17,183 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:17,184 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:19,186 INFO spawned: 'plexmediaserver' with pid 1092025-06-23 13:21:19,690 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:19,846 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633100897040 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:19,846 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633101477648 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:19,847 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:19,847 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:22,850 INFO spawned: 'plexmediaserver' with pid 1252025-06-23 13:21:23,286 DEBG 'plexmediaserver' stdout output:Error: Unable to set up server: std::exception (N2DB9ExceptionE)2025-06-23 13:21:23,470 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 22633101268096 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stdout)>2025-06-23 13:21:23,471 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22633101270544 for <Subprocess at 22633102762944 with name plexmediaserver in state STARTING> (stderr)>2025-06-23 13:21:23,471 WARN exited: plexmediaserver (exit status 255; not expected)2025-06-23 13:21:23,471 DEBG received SIGCHLD indicating a child quit2025-06-23 13:21:24,472 INFO gave up: plexmediaserver entered FATAL state, too many start retries too quicklyTry repairing the database it’s pretty quick to do and it will most likely resolve your issue because I had the same thing happened to me took about an hour for it to fix itself.
July 11, 2025Jul 11 On 6/9/2025 at 5:51 PM, KungFury84 said:Hello,I'm not sure if I'm posting this in the right spot on not but I'm having an issue with binhex-plexpass Docker even though i believe this might be more of a plex issue itself. Basically everything was working fine and then all of a sudden Plex would stop adding any new media to my library.Now I haven't changed any settings or anything when this happened so my guess is that something has happened once a file was scanned. I have had a look at the unraid logs and there was no errors and I downloaded and had a look at the Plex logs and couldn't really see anything jumping out at me. I have tried optimizing database and clean bundles options so far without any success.Any help on this would be greatly appreciated.BobI have the same issue. Check my logs and nothing in there. Not sure what to try to get this issue resolved....
July 14, 2025Jul 14 Twice in the last week I've come to find that my binhex plex has shut itself down. I believe it may be happening at the end time of Scheduled Tasks. Is there anywhere I could see why it's doing so?
July 15, 2025Jul 15 6 hours ago, It's just J. said:Twice in the last week I've come to find that my binhex plex has shut itself down. I believe it may be happening at the end time of Scheduled Tasks. Is there anywhere I could see why it's doing so?Having this exact same issue. Been using Binhex Plexpass for years. Not seeing anything in plex docker logs, plex server logs, or unraid logs.
July 15, 2025Jul 15 Same, but hasn’t happened to me in a day or two now. 4 minutes ago, x64 said:Having this exact same issue. Been using Binhex Plexpass for years. Not seeing anything in plex docker logs, plex server logs, or unraid logs.
July 15, 2025Jul 15 Good to see I am not alone with this issue. So I can stop to investigate further as there is probably nothing wrong with my server. :D But it does indeed look like a plugin causes this crash.
July 15, 2025Jul 15 Author Hi all, the issue where the container is stopping MAY of been related to the introduction of healthchecking, this checks to see if the internet connection is operational, if not the container is marked as unhealthy and then set to shutdown the container.I have now relaxed this somewhat and if not configurd it will now simply mark the container as 'unhealthy' rather than exit, i have also introduced additional env vars to permit the user to decide what they want to healthcheck as well as the action they prefer - these env vars are new so you won't see these unless you add from CA again.So the TLDR is a new image has just been triggered by a new version of plex and this will include the above changes, so please pull down latest and give it a try and let me know.
July 16, 2025Jul 16 5 hours ago, binhex said:Hi all, the issue where the container is stopping MAY of been related to the introduction of healthchecking, this checks to see if the internet connection is operational, if not the container is marked as unhealthy and then set to shutdown the container.I have now relaxed this somewhat and if not configurd it will now simply mark the container as 'unhealthy' rather than exit, i have also introduced additional env vars to permit the user to decide what they want to healthcheck as well as the action they prefer - these env vars are new so you won't see these unless you add from CA again.So the TLDR is a new image has just been triggered by a new version of plex and this will include the above changes, so please pull down latest and give it a try and let me know.Thanks for the quick update. I was afraid it was some of my unraid hardware failing or something lol
July 18, 2025Jul 18 On 7/15/2025 at 9:38 PM, binhex said:Hi all, the issue where the container is stopping MAY of been related to the introduction of healthchecking, this checks to see if the internet connection is operational, if not the container is marked as unhealthy and then set to shutdown the container.I have now relaxed this somewhat and if not configurd it will now simply mark the container as 'unhealthy' rather than exit, i have also introduced additional env vars to permit the user to decide what they want to healthcheck as well as the action they prefer - these env vars are new so you won't see these unless you add from CA again.So the TLDR is a new image has just been triggered by a new version of plex and this will include the above changes, so please pull down latest and give it a try and let me know.Thanks for this. I've also noticed over the last few days both my Binhex Dockers (Plexpass and sabnzbd) have been randomly stopping on their own and it's been driving me mad. I've just installed the most recently update for Plex. Fingers crossed that solves it.
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.