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] binhex - Plex Pass

Featured Replies

@binhex

I'd very much like to collaborate and make this smooth and full featured for BINHEX users.

  1. The tool has been named DBRepair.sh since its debut in December 2022. :)

  2. 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,

  1. DBRepair does auto-detect the host/container type and BINHEX is supported. (This configures the pathnames)

  2. Stopping PMS from within the DBRepair menu is trivial and always been available.

  3. 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 ?

  4. 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

  • Replies 1.8k
  • Views 413.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • apparently plex has removed the redirection to /web, so now you need to append /web to the url, for example:- http://192.168.1.10:32400/web

  • 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 marke

  • I obviously don't reclaim my Plex server very often (this might even be the first time!), but i went through it this morning and it was relatively painless, FWIW here are my notes (some of this is fro

Posted Images

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/DBRepair

I 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.

  1. Opened console for binhex-plexpass

  2. Ran kill -15 $(pidof) 'Plex Media Server') about 10 times until watchdog gave up trying to start Plex

  3. Downloaded and ran ChuckPa's DBRepair

  4. Ran option 911 (deflate/vacuum), which dropped my database from 73GB to 681MB

  5. Ran an automatic repair

All 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.

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.

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.

  • 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

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

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 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

@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 by nlash

  • 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.

Just wanted to say THANK YOU for DBRepair, I just spent a few hours today repairing a damaged database.

  • 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 that

6 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.

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.

2025-06-14 11:38:48,026 DEBG 'plexmediaserver' stdout output:

decoder information: 249

Greetings, does anyone know what this code means? My Plex log is full of it.

Edited by Mannymal

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?

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/324

But 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.

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 possible

Log copy pasta

\_ |__ |__| ____ | |__ ____ ___ ___

| __ \| |/ \| | \_/ __ \\ \/ /

| \_\ \ | | \ Y \ ___/ > <

|___ /__|___| /___| /\___ >__/\_ \

\/ \/ \/ \/ \/

https://hub.docker.com/u/binhex/

2025-06-23 13:21:13.060998 [info] Host is running unRAID

2025-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/Linux

2025-06-23 13:21:13.090841 [info] Image tags: BASE_RELEASE_TAG=2025060101,IMAGE_RELEASE_TAG=1.41.8.9834-1-04

2025-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 parsing

2025-06-23 13:21:13,414 INFO Set uid to user 0 succeeded

2025-06-23 13:21:13,421 INFO RPC interface 'supervisor' initialized

2025-06-23 13:21:13,421 CRIT Server 'unix_http_server' running without any HTTP authentication checking

2025-06-23 13:21:13,421 INFO supervisord started with pid 20

2025-06-23 13:21:14,422 INFO spawned: 'plexmediaserver' with pid 77

2025-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 quit

2025-06-23 13:21:16,295 INFO spawned: 'plexmediaserver' with pid 93

2025-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 quit

2025-06-23 13:21:19,186 INFO spawned: 'plexmediaserver' with pid 109

2025-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 quit

2025-06-23 13:21:22,850 INFO spawned: 'plexmediaserver' with pid 125

2025-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 quit

2025-06-23 13:21:24,472 INFO gave up: plexmediaserver entered FATAL state, too many start retries too quickly

On 6/14/2025 at 2:42 PM, Mannymal said:

decoder information: 249

The 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.

  • 2 weeks later...
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 possible

Log copy pasta

\_ |__ |__| ____ | |__ ____ ___ ___

| __ \| |/ \| | \_/ __ \\ \/ /

| \_\ \ | | \ Y \ ___/ > <

|___ /__|___| /___| /\___ >__/\_ \

\/ \/ \/ \/ \/

https://hub.docker.com/u/binhex/

2025-06-23 13:21:13.060998 [info] Host is running unRAID

2025-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/Linux

2025-06-23 13:21:13.090841 [info] Image tags: BASE_RELEASE_TAG=2025060101,IMAGE_RELEASE_TAG=1.41.8.9834-1-04

2025-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 parsing

2025-06-23 13:21:13,414 INFO Set uid to user 0 succeeded

2025-06-23 13:21:13,421 INFO RPC interface 'supervisor' initialized

2025-06-23 13:21:13,421 CRIT Server 'unix_http_server' running without any HTTP authentication checking

2025-06-23 13:21:13,421 INFO supervisord started with pid 20

2025-06-23 13:21:14,422 INFO spawned: 'plexmediaserver' with pid 77

2025-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 quit

2025-06-23 13:21:16,295 INFO spawned: 'plexmediaserver' with pid 93

2025-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 quit

2025-06-23 13:21:19,186 INFO spawned: 'plexmediaserver' with pid 109

2025-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 quit

2025-06-23 13:21:22,850 INFO spawned: 'plexmediaserver' with pid 125

2025-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 quit

2025-06-23 13:21:24,472 INFO gave up: plexmediaserver entered FATAL state, too many start retries too quickly

Try 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.

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.

Bob

I have the same issue. Check my logs and nothing in there. Not sure what to try to get this issue resolved....

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?

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.

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.

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.

  • 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.

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

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.

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.