[Support] binhex - Plex Pass


Recommended Posts

42 minutes ago, xokia said:

Did you install Intel-GPU-TOP

 

plugin "GPU Statistics" will show you the workload in the GPU

I installed Intel-GPU-TOP, when I run it, it shows a 12th gen Intel not the 1

3th gen, showing correctly on dashboard, I have installed. How do I update the drivers to be correct? 

Edited by chishola1
added info
Link to comment
1 hour ago, chishola1 said:

I installed Intel-GPU-TOP, when I run it, it shows a 12th gen Intel not the 1

3th gen, showing correctly on dashboard, I have installed. How do I update the drivers to be correct? 

I have a 13th gen but haven't look to see what it says. I am running the i9 13900. I will check later to see if it says 13th or 12th gen

Link to comment

I have binhex-plex-pass running and recently set up watchtower to update it along with my other dockers but it shows this error in the logs

time="2023-09-15T04:00:11-04:00" level=info msg="Unable to update container \"/binhex-plexpass\": Error response from daemon: Get \"https://registry-1.docker.io/v2/\": dial tcp [2600:1f18:2148:bc00:e947:5a7f:a49f:9126]:443: connect: network is unreachable. Proceeding to next."
time="2023-09-15T04:00:12-04:00" level=info msg="Session done" Failed=0 Scanned=2 Updated=0 notify=no

 

I can update the docker manually which brings me here, is this a watchtower problem or something with the plex docker?

Link to comment
  • 2 weeks later...

Hi - checking my logs for the first time in a long time and I see the below repeating failure many times a second (17) while the client is streaming (locally). The weird thing is I have absolutely no problem streaming from this client and plex behaves normally from it.

 

Is this normal behavior?

 

Thanks

 

Using the plexpass docker.

Sep 28, 2023 21:53:54.839 [22448818817848] DEBUG - Failed to stream media, client probably disconnected after 7471104 bytes: 104 - Connection reset by peer
Sep 28, 2023 21:53:54.839 [22448818817848] DEBUG - Completed after connection close: [192.168.2.133:33220] 206 GET /library/parts/266219/1695938485/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (6 live) #30769 TLS 127ms 7471104 bytes (pipelined: 1) (range: bytes=186750843-) 
Sep 28, 2023 21:53:54.890 [22448670272312] DEBUG - Request: [192.168.2.133:33222 (Allowed Network (Subnet))] GET /library/parts/266219/1695938485/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (6 live) #3076b TLS Signed-in Token (xxx) (FireTV 4K Max) (range: bytes=542961712-) 
Sep 28, 2023 21:53:54.891 [22448670272312] DEBUG - Content-Length of /media/tv/xxx - S08E08 - Episode 8 SDTV.mp4 is 138505255 (of total: 681466967).
Sep 28, 2023 21:53:55.023 [22448820927288] DEBUG - Failed to stream media, client probably disconnected after 8110080 bytes: 104 - Connection reset by peer
Link to comment

Plex Version 1.32.7.7571 

 

@binhex

Had something slightly odd just happening.. plex was accessing the disk but not showing as doing anything yet 'TOP' showed it as transcoding. It's been happening for a few days anyone else getting this? Also the console is just empty...

 

 

Disks being accessed (Thor)

416966213_Screenshot2023-10-03at18_43_30.thumb.png.e30ee9fd962634ffd596ae05d66b25f5.png

 

Top showing plex using high CPU

586550152_Screenshot2023-10-03at18_43_37.thumb.png.ebb966317a46a93c8397571474f1f914.png

 

Plex saying it's not doing anything..

435591002_Screenshot2023-10-03at18_43_25.thumb.png.4c8ca52fe9fb288bf10e1c46b5404683.png

Edited by dopeytree
Link to comment
  • 2 weeks later...

I am still having issues running PLEX on my server. When I run PLEX the server goes unresponsive after about an hour. The only way to recover is to do a hard reboot. There is nothing shown in the unraid error log and BIOS is current. I have ran memtest with no errors and the intel diagnostic utility with no errors. I am out of ideas.

Link to comment

Heya,

 

I'm getting some weird slow reads on single disks. Not sure exactly what the cause is.

Open files shows some kind of slow scan happing (5.5MB/s) on open recent-ish tv shows.

It's not plex doing content creation like thumbnails as that hammers the cpu.

 

It's not someone watching the shows as I mostly watch new stuff which is on the SSD. Plus I can see what everyone is watching.

 

I think its related to binhex-plex or bind-sonarr

 

Is anyone else getting this?

 

moulin-rouge-diagnostics-20231021-2043.zip

Edited by dopeytree
Link to comment

I'm not sure if this is the right place to ask but I've used this container on my Unraid for many years with very few issues. My server is based on a Intel® Xeon® CPU E3-1275 v3 @ 3.50GHz with 32Gb ECC ram.
Yesterday when streaming a movie to a Firestick the server started warning beeps because it was thrashing all the cores of the CPU, film was a large 4K and HD audio being decoded to a TV at 1080p so I'm sure it was working fairly hard.

Is there any settings I can check or change? Is there a simple hardware upgrade that may help, maybe a graphics card? Apologies for my ignorance but its just worked so haven't felt the need to keep up with advancements.

Link to comment
  • 3 weeks later...
On 10/22/2023 at 10:06 AM, rhinoman said:

I'm not sure if this is the right place to ask but I've used this container on my Unraid for many years with very few issues. My server is based on a Intel® Xeon® CPU E3-1275 v3 @ 3.50GHz with 32Gb ECC ram.
Yesterday when streaming a movie to a Firestick the server started warning beeps because it was thrashing all the cores of the CPU, film was a large 4K and HD audio being decoded to a TV at 1080p so I'm sure it was working fairly hard.

Is there any settings I can check or change? Is there a simple hardware upgrade that may help, maybe a graphics card? Apologies for my ignorance but its just worked so haven't felt the need to keep up with advancements.

Well after researching I have added a Nvidia GTX1660Ti for its hardware decoding ability and have ticked the boxes in transcoding for Plex but GPU Stats shows zero decoding and the CPU is still at 100%. Anybody have this working? Any tips?

Link to comment
On 7/19/2023 at 12:22 PM, binhex said:

you can run the script i wrote, that should take care of it for you and will give you the option to repair the db, simply drop to the console for the plex container and run  /home/nobody/dbrepair.sh - please ensure you have a backup of your plex database BEFORE you do this, any loss of plex data is not my responsibility.

 

Thank you so much for this. I finally started to try and fix my DB error, and found this so helpful.

  • Like 1
Link to comment

How do I go about doing a full clean install of plexpass? Making sure there is no settings or remnants remaining after deleting the docker container. Binhex-plexpass folders have been deleted from the machine (well appear to be) but when i re-download the container, and enter my config and then enter the plex webUI it's still showing my old libraries and settings, albeit in a non-usable state.

Edited by z0ki
Link to comment

Over the last week or so, Plex stopped updating my library. New stuff I've downloaded is processing properly, but Plex isn't adding it. Files I've deleted aren't clearing out from the Plex library.

 

Some recently added TV episodes were showing up, but I'm unable to play them. I can't load any collections. Any of them I click on I get the message "There was an unexpected error loading this item."

 

I can't tag anything.

 

But movies/shows that had been downloaded prior to this will play just fine. Other containers in Docker run without issue. Server itself is healthy from everything I've checked.

 

Probably related, but I can't seem to find an answer: I'm having an issues with permissions where I suddenly can't move or otherwise manipulate files on my server from my PC, but when I try to open up the permissions through the terminal, I still can't do anything from the PC.

 

Anyone ever encountered anything like this before?

 

These are the most recent entries in the logs:

 

Quote

2023-11-13 04:38:14,753 DEBG 'plexmediaserver' stdout output:
Generated new chapter thumbnails for Episode 4.

2023-11-13 04:38:14,963 DEBG 'plexmediaserver' stdout output:
Generated new chapter thumbnails for Episode 4.

2023-11-13 04:38:29,383 DEBG 'plexmediaserver' stderr output:
Connection to 45.56.86.253 closed by remote host.

2023-11-13 04:49:28,163 DEBG 'plexmediaserver' stderr output:
ERROR: Empty fingerprint

2023-11-14 02:24:21,703 DEBG 'plexmediaserver' stdout output:
Generated new chapter thumbnails for Episode 4.

2023-11-14 02:24:25,045 DEBG 'plexmediaserver' stdout output:
Generated new chapter thumbnails for Episode 4.

2023-11-14 02:24:38,585 DEBG 'plexmediaserver' stderr output:
ERROR: Empty fingerprint

 

Link to comment

Hi All!

 

I am having a problem with my Plex Media Server that seems to be somewhat common from what I am seeing in other threads, however I am not able to resolve my issue.  I had a power outtage that upon rebooting cause me to get this error in the binhex-plexpass docker logs.

 

 

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

2023-11-21 13:14:10.416369 [info] Host is running unRAID
2023-11-21 13:14:10.454921 [info] System information Linux BrentSERVER 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux
2023-11-21 13:14:10.500240 [info] PUID defined as '99'
2023-11-21 13:14:10.612719 [info] PGID defined as '100'
2023-11-21 13:14:10.710570 [info] UMASK defined as '000'
2023-11-21 13:14:10.756777 [info] Permissions already set for '/config'
2023-11-21 13:14:10.818376 [info] Deleting files in /tmp (non recursive)...
2023-11-21 13:14:10.872257 [info] TRANS_DIR defined as '/config/transcode'
2023-11-21 13:14:10.982042 [info] Starting Supervisor...
2023-11-21 13:14:11,501 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2023-11-21 13:14:11,501 INFO Set uid to user 0 succeeded
2023-11-21 13:14:11,506 INFO supervisord started with pid 7
2023-11-21 13:14:12,510 INFO spawned: 'plexmediaserver' with pid 54
2023-11-21 13:14:12,511 INFO reaped unknown pid 8 (exit status 0)
2023-11-21 13:14:12,845 DEBG 'plexmediaserver' stderr output:
Failed to load preferences at /config/Plex Media Server/Preferences.xml

2023-11-21 13:14:13,847 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-11-21 13:14:14,844 DEBG 'plexmediaserver' stderr output:
Failed to load preferences at /config/Plex Media Server/Preferences.xml

 

I have removed the docker and reinstalled several times and rebooted and reset network settings and no go.  Can someone assist in helping me trouble shoot?

 

I also noticed this in the docker allocations:  image.thumb.png.763fa52140e6bb8b629d305a0222ba19.png

Edited by ChrisLB215
Link to comment

My docker is filling up with what I have a feeling is with plex transcoding. 

 

image.png.e4fec1439b4fc47d65e59ef7a60c3e72.png

 

This normally sits at around 8GB. How do I have transcodes go elsewhere and where is the best place to put them? I am using a nvidia 3060 Ti for transcoding. 

 

Here are my map configurations. Am i mapping straight back to the docker container? Can someone please tell me what I should map to?

 

image.png.f22187ae3dfd42aa56aca06d7f7ca0c8.png

 

image.png.d74a4bd2ad89c47aa208ef0d339729b4.pngimage.png.432f89d9facac246151ea53c518fc834.png

Link to comment
  • 2 weeks later...
On 7/19/2023 at 12:22 PM, binhex said:

you can run the script i wrote, that should take care of it for you and will give you the option to repair the db, simply drop to the console for the plex container and run  /home/nobody/dbrepair.sh - please ensure you have a backup of your plex database BEFORE you do this, any loss of plex data is not my responsibility.

@binhex - Thank you SOOOOO much for the script.  I've been searching for months trying to get my DB fixed.  I get the random alert my DB was corrupt but everything has been working with a noticeable lag until playing content.   Tried SpaceInvador's youtube tutorial and others suggestions I found on redit - nothing worked.   Then, I discovered your note last night.  Ran the script, it found multiple issues and was able to fix them.  Now Plex popps like it used to and no mor corruption in my db.  Thanks - you rock!

  • Like 1
Link to comment

Hi,

I am stumped with “Error code: s1001 (Network)” Everything seems to come up as intended but when I try to click on a live channel I get “Error code: s1001 (Network)”.

Streaming stock Plex channels works correctly without error, is just with live TV that the error arises.

I have tried just about anything I found in the internet but still I am stuck with the same error, I went as far as installing Jellyfin in case it was something in Unraid itself but I follow the same configuration as in Plex and everything worked with in Jellyfin on the first try.

I am unsure where the break is or where should I be looking, I see 4 different logs …

 

Plex Tuner Service.log

Plex Transcoder Statistics.log

Plex Media Server.log

Plex Media Scanner.log

 

I look at all of them, I am guessing if I was to find an error I would see it in “Plex Media Server.log” but I look through it the only things I see out of the ordinary is a couple of warnings …

 

-WARN - [CERT] TLS connection

-DEBUG - CERT: incomplete TLS handshake

 

Then again I am at a lost, I am unsure what should I be looking for.

Anyhow I hope you can advise, thank you!

Link to comment
10 hours ago, Recoil said:

Hi,

I am stumped with “Error code: s1001 (Network)” Everything seems to come up as intended but when I try to click on a live channel I get “Error code: s1001 (Network)”.

Streaming stock Plex channels works correctly without error, is just with live TV that the error arises.

I have tried just about anything I found in the internet but still I am stuck with the same error, I went as far as installing Jellyfin in case it was something in Unraid itself but I follow the same configuration as in Plex and everything worked with in Jellyfin on the first try.

I am unsure where the break is or where should I be looking, I see 4 different logs …

 

Plex Tuner Service.log

Plex Transcoder Statistics.log

Plex Media Server.log

Plex Media Scanner.log

 

I look at all of them, I am guessing if I was to find an error I would see it in “Plex Media Server.log” but I look through it the only things I see out of the ordinary is a couple of warnings …

 

-WARN - [CERT] TLS connection

-DEBUG - CERT: incomplete TLS handshake

 

Then again I am at a lost, I am unsure what should I be looking for.

Anyhow I hope you can advise, thank you!

I found the solution, for anyone having this issue ...

Plex does not play the stream.

Plex DVR is not compatible with all streaming formats, most problems are incompatible audio codecs. In this case it helps to use FFmpeg as a buffer and changed FFmpeg parameters.
xTeVe Settings -> Stream Buffer = FFmpeg
FFmpeg Options:

-hide_banner -loglevel error -i -c:a libmp3lame -vcodec copy -f mpegts pipe:1

Link to comment

Hey folks, I may not be the only person suffering this issue, but, I haven't been able to find anyone having it the way that I am.

 

Someone is trying to playback Barbie, on both their Xbox One, and their Macbook connected to their TV. Dolby Atmos / TrueHD 7.1 won't transcode, it just causes the video to stop and constantly buffer. Switching to the EAC 5.1 is fine though, it'll transcode that. I keep getting these errors in the attached screenshot of the log.

 

I was also having problems with the Windows Player when I tried to install it last month where this specific thing 'EasyAudioEncoder' got called out by Windows Defender (its fixed now, but figured it was a strange coincidence worth mentioning)

 

 

Addendum: Looks like it might be a permissions thing? I effed this ALL up... trying to remove some drives I had added... was following a tutorial, and it looks like I didn't run the docker safe  permissions tool.... the one I was supposed to run... wow. I'm pretty sure ALL of my Docker containers are effed. And I really do not know enough about how to un-eff them... like plex isn't allowing me to select my GPU, either, in the transcoding section. It just shows auto, whereas it was there before.... this is brutal.... I'm in quite the pickle... I don't even know where I could go to ask for some help, or even what to search to find out how to un-eff this. Any guidance would be GREATLY appreciated!!!!

 

image.thumb.png.374a68b44d9bd6446dd6dd98086d18fa.png

Edited by stry8993
Link to comment
5 hours ago, stry8993 said:

Someone is trying to playback Barbie, on both their Xbox One, and their Macbook connected to their TV. Dolby Atmos / TrueHD 7.1 won't transcode

it could be a transcode issue i have seen the transcode binaries become corrupt sometimes, or more likely is that the audio transcode is maxing out your CPU causing the playback issue, bear in mind audio transcode is done using the CPU NOT the GPU.
 

5 hours ago, stry8993 said:

I don't even know where I could go to ask for some help

For the permissions issue, post an issue here and tell them what you did exactly (point at the guide or detail commands).

  • Upvote 1
Link to comment
3 hours ago, binhex said:

it could be a transcode issue i have seen the transcode binaries become corrupt sometimes, or more likely is that the audio transcode is maxing out your CPU causing the playback issue, bear in mind audio transcode is done using the CPU NOT the GPU.
 

For the permissions issue, post an issue here and tell them what you did exactly (point at the guide or detail commands).

I am honored to see you replying! Love your work, really grateful for it, thank you, and appreciate your response!!! I did make a help request post, and... basically redid the container after deleting the folder, and letting the docker redo the permissions. It wasn't TOO much trouble.

 

I do have another question though... if you don't mind, in the logs, it was saying that the TRANS_DIR wasn't configured, so it was defaulting to something else (I don't have it running right now so can't check) but, if I set the /transcode to dev/shm in the docker configuration, and then set /transcode inside plex's settings, that should still use the RAM (like up to half your RAM type of deal)?

 

Also, totally found out the hardway that the audio is transcoded by the CPU. My poor Synology DS218+ was not a fan. So much so I built an Unraid box for it with a Xeon CPU E5-2699 v3, and its generally been okay. The videos on TrueHD 7.1 just wouldn't even load, or infinitely buffer. But English AC-3 5.1 was no problem at all.

*SOLVED*

 

So yep, deleting the folder, and rebuilding it using the docker container worked! 7.1 is doing its thing, even in transcoding. AND the /transcode + /dev/shm does indeed use the RAM just fine :D. Its all back to normal! Whewf!

Edited by stry8993
Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.