[Support] Linuxserver.io - Plex Media Server


Recommended Posts

Posting to document my findings and possibly save other people time if they run into the same thing.

 

Hardware transcoding (quicksync) doesn’t work in 1.27.2.5929 when HDR tone mapping is enabled. Hardware transcoding works when disabling HDR tone mapping.

 

Reverting back to 1.27.1.5916 restores full functionality. Hardware transcoding works with HDR tone mapping enabled.

  • Upvote 2
Link to comment
On 7/16/2022 at 4:28 PM, FDM80 said:

Posting to document my findings and possibly save other people time if they run into the same thing.

 

Hardware transcoding (quicksync) doesn’t work in 1.27.2.5929 when HDR tone mapping is enabled. Hardware transcoding works when disabling HDR tone mapping.

 

Reverting back to 1.27.1.5916 restores full functionality. Hardware transcoding works with HDR tone mapping enabled.

 

Same problem here, disabling tone mapping and hardware transcoding works again.

Link to comment
  • 2 weeks later...

Having an Issue. In plex I sort the movies by duplicates. I have allow deletion turned on in the settings. I go to get info for the duplicate movie delete one of the files. That movie disappears from the list. A few minute's later it shows back up. Its not actually deleting the files. Need some help on what is causing this.

Link to comment

Having an issue with any form of playback since the 1.28.0 update. Seems to be a transcoding issue but has something to do with a codec? Not 100% sure so I'm attaching the log file from plex itself here and posting what I see in the console while trying to playback.

 

No settings or permissions were changed by myself that caused the issue. Has been working flawlessly since setup many years ago.

 

Aug 03, 2022 12:13:50.687 [0x14ad17fe1b00] Error — [Req#572/Transcode] [FFMPEG] - Cannot load libcuda.so.1

 

Aug 03, 2022 12:13:50.694 [0x14ad17fe1b00] Error — [Req#572/Transcode] [FFMPEG] - Could not dynamically load CUDA

 

Aug 03, 2022 12:14:03.001 [0x14ad1849cb00] Error — [Req#63b/Transcode/1CD7D580-4AD7-415F-A940-2E2274960D75/9e85868d-51ba-4eb9-bd25-29b6d9c44bd5] [eac3_eae @ 0x1528ea5bb600] error reading output

 

Aug 03, 2022 12:14:06.000 [0x14ad1849cb00] Error — [Req#641/Transcode/1CD7D580-4AD7-415F-A940-2E2274960D75/9e85868d-51ba-4eb9-bd25-29b6d9c44bd5] [eac3_eae @ 0x1528ea5bb600] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-59fc5c1c-0190-4e62-9601-842055dac868/EasyAudioEncoder/Convert to WAV (to 8ch or less)/1CD7D580-4AD7-415F-A940-2E2274960D75_539-0-2.wav'

 

Aug 03, 2022 12:14:06.001 [0x14ad1849cb00] Error — [Req#647/Transcode/1CD7D580-4AD7-415F-A940-2E2274960D75/9e85868d-51ba-4eb9-bd25-29b6d9c44bd5] Error while decoding stream #0:1: I/O error

Plex Media Server Logs_2022-08-03_12-13-03.zip

Edited by Brandonb1987
Link to comment

Plex no longer will work:

 

1) Power outage today - Server connected to UPS and shutdown was successful. No warnings or errors on restart.

2) All dockers came back just fine, plex was slow to start (not uncommon for me)

3) after 45 min I noticed it was still not loading the WebUI, but appeared to be running. (sometimes I need to restart app for it to load, still not uncommon)

4) After a few stop/start and restarts, still no luck - this is new for me

5) looking online and previously in this thread I tried to repair a corrupt db.

6) Followed along with SpaceInvaderOne video 

7) On db check no errors were reported and showed ok - I continued on anyway, just in case

8)-Still no luck

9) Pulled down new instance of docker, set up config to match existing paths

10) Started docker and WebUI was accessible

11) Changed certain paths in original config to match new pull (like 'Container Version - Docker') - No luck

12) Moved over library from non-working version and tried again - No luck

 

I feel like something in my library is causing an issue but I am not sure what. I have been using plex for years and would like to retain my watch history, and would also like to not need to rescan all of my media... Are there any ideas of things to try here? The logs show no errors 

Container Log:

s6-svwait: fatal: timed out
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service init-services: stopping
s6-rc: info: service 00-legacy: stopping
s6-rc: info: service init-services successfully stopped
s6-rc: info: service init-mods-end: stopping
s6-rc: info: service 00-legacy successfully stopped
s6-rc: info: service init-mods-end successfully stopped
s6-rc: info: service init-mods-package-install: stopping
s6-rc: info: service init-mods-package-install successfully stopped
s6-rc: info: service init-mods: stopping
s6-rc: info: service init-mods successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/02-tamper-check
cont-init: info: /etc/cont-init.d/02-tamper-check exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/40-chown-files
cont-init: info: /etc/cont-init.d/40-chown-files exited 0
cont-init: info: running /etc/cont-init.d/45-plex-claim
cont-init: info: /etc/cont-init.d/45-plex-claim exited 0
cont-init: info: running /etc/cont-init.d/50-gid-video
cont-init: info: /etc/cont-init.d/50-gid-video exited 0
cont-init: info: running /etc/cont-init.d/60-plex-update
cont-init: info: /etc/cont-init.d/60-plex-update exited 0
cont-init: info: running /etc/cont-init.d/90-custom-folders
cont-init: info: /etc/cont-init.d/90-custom-folders exited 0
cont-init: info: running /etc/cont-init.d/99-custom-scripts
cont-init: info: /etc/cont-init.d/99-custom-scripts exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun plex (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
s6-rc: info: service 99-ci-service-check successfully started
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
[migrations] started
[migrations] no migrations found
usermod: no changes

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


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    99
User gid:    100
-------------------------------------

Docker is used for versioning skip update check
[custom-init] no custom files found exiting...
[ls.io-init] done.
Starting Plex Media Server.
 

 

If I can provide anything else to assist in the diagnosis please let me know. thanks!

Edited by gcalaway
Edit made for clarification on #3
Link to comment
On 8/11/2022 at 8:05 AM, gcalaway said:

Plex no longer will work:

 

1) Power outage today - Server connected to UPS and shutdown was successful. No warnings or errors on restart.

2) All dockers came back just fine, plex was slow to start (not uncommon for me)

3) after 45 min I noticed it was still not loading the WebUI, but appeared to be running. (sometimes I need to restart app for it to load, still not uncommon)

4) After a few stop/start and restarts, still no luck - this is new for me

5) looking online and previously in this thread I tried to repair a corrupt db.

6) Followed along with SpaceInvaderOne video 

7) On db check no errors were reported and showed ok - I continued on anyway, just in case

8)-Still no luck

9) Pulled down new instance of docker, set up config to match existing paths

10) Started docker and WebUI was accessible

11) Changed certain paths in original config to match new pull (like 'Container Version - Docker') - No luck

12) Moved over library from non-working version and tried again - No luck

 

I feel like something in my library is causing an issue but I am not sure what. I have been using plex for years and would like to retain my watch history, and would also like to not need to rescan all of my media... Are there any ideas of things to try here? The logs show no errors 

Container Log:

s6-svwait: fatal: timed out
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service init-services: stopping
s6-rc: info: service 00-legacy: stopping
s6-rc: info: service init-services successfully stopped
s6-rc: info: service init-mods-end: stopping
s6-rc: info: service 00-legacy successfully stopped
s6-rc: info: service init-mods-end successfully stopped
s6-rc: info: service init-mods-package-install: stopping
s6-rc: info: service init-mods-package-install successfully stopped
s6-rc: info: service init-mods: stopping
s6-rc: info: service init-mods successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/02-tamper-check
cont-init: info: /etc/cont-init.d/02-tamper-check exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/40-chown-files
cont-init: info: /etc/cont-init.d/40-chown-files exited 0
cont-init: info: running /etc/cont-init.d/45-plex-claim
cont-init: info: /etc/cont-init.d/45-plex-claim exited 0
cont-init: info: running /etc/cont-init.d/50-gid-video
cont-init: info: /etc/cont-init.d/50-gid-video exited 0
cont-init: info: running /etc/cont-init.d/60-plex-update
cont-init: info: /etc/cont-init.d/60-plex-update exited 0
cont-init: info: running /etc/cont-init.d/90-custom-folders
cont-init: info: /etc/cont-init.d/90-custom-folders exited 0
cont-init: info: running /etc/cont-init.d/99-custom-scripts
cont-init: info: /etc/cont-init.d/99-custom-scripts exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun plex (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
s6-rc: info: service 99-ci-service-check successfully started
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
[migrations] started
[migrations] no migrations found
usermod: no changes

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


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    99
User gid:    100
-------------------------------------

Docker is used for versioning skip update check
[custom-init] no custom files found exiting...
[ls.io-init] done.
Starting Plex Media Server.
 

 

If I can provide anything else to assist in the diagnosis please let me know. thanks!

I'm facing the same problem after a reboot of unraid without error.

I tried reparing DB but no error

No error on log files

I tried reinstalling the docker container

Without success. I cannot access the webUI for http://localIP:32400/web

 

If someone has a solution it would be awesome

Link to comment
9 hours ago, maximushugus said:

I'm facing the same problem after a reboot of unraid without error.

I tried reparing DB but no error

No error on log files

I tried reinstalling the docker container

Without success. I cannot access the webUI for http://localIP:32400/web

 

If someone has a solution it would be awesome

After trying everything I could find online and think of, I am now rebuilding a new image of the docker from scratch and rebuilding my library... Ugh.

 

The final thing I attempted before throwing in the towel was restoring my appdata from my backup made on 08/02/22. I anticipated this would be successful but had wanted to avoid the time that would take. To my surprise upon rebuilding and starting, this error was flooding my logs.

 

Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

 

I did just choose a new name and location for the new plex appdata folder and can restore to my old one if this gets sorted. would really love to as I have some playlists and metadata I really do not see myself doing again. :) 

Link to comment
On 8/13/2022 at 8:01 AM, maximushugus said:

I was also able to make plex running again by restoring a save of the plex folder in appdata from a week ago I made with duplicati.

No way of repairing without doing a restoration.

I am envious your "restore" was successful. this was a weird one for me

Link to comment

I had:

Quote

Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

...too. Found a backup a couple of weeks old that didn't result in errors.  There was an update I installed after having the issue, but I think I still had the error after it. Now I need to find a way to make a backup every day for X days.  Default of every 3 days for Plex's internal backup isn't cutting it.

 

I tried following the directions here: reddit: database_errors_seemingly_unrepairable

but am not smart enough to translate from their example to my environment.

Link to comment

Today nothing works anymore, does anyone have the same problem?
I feel like I've tried everything but I'm getting nowhere

 

Aug 17, 2022 21:28:10.000 [0x151e2c069b38] Error — [Req#3cc] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-16.wav'
Aug 17, 2022 21:28:10.000 [0x151e2c0afb38] Error — [Req#3cf] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:10.000 [0x151e2c610b38] Error — [Req#3d2] [Transcoder] Error while decoding stream #0:1: I/O error
Aug 17, 2022 21:28:13.000 [0x151e2c069b38] Error — [Req#3d5] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-17.wav'
Aug 17, 2022 21:28:13.000 [0x151e2c0afb38] Error — [Req#3dd] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:13.000 [0x151e2c610b38] Error — [Req#3e1] [Transcoder] Error while decoding stream #0:1: I/O error
Aug 17, 2022 21:28:16.000 [0x151e2c069b38] Error — [Req#3e4] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-18.wav'
Aug 17, 2022 21:28:16.000 [0x151e2c0afb38] Error — [Req#3e6] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:16.000 [0x151e2c610b38] Error — [Req#3ea] [Transcoder] Error while decoding stream #0:1: I/O error
Aug 17, 2022 21:28:19.000 [0x151e2c069b38] Error — [Req#3ed] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-19.wav'
Aug 17, 2022 21:28:19.000 [0x151e2c0afb38] Error — [Req#3ef] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:19.000 [0x151e2c610b38] Error — [Req#3f3] [Transcoder] Error while decoding stream #0:1: I/O error
Aug 17, 2022 21:28:22.000 [0x151e2c069b38] Error — [Req#3f6] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-20.wav'
Aug 17, 2022 21:28:22.000 [0x151e2c0afb38] Error — [Req#3f8] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:22.000 [0x151e2c610b38] Error — [Req#3fc] [Transcoder] Error while decoding stream #0:1: I/O error
Aug 17, 2022 21:28:25.000 [0x151e2c610b38] Error — [Req#3ff] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-21.wav'
Aug 17, 2022 21:28:25.000 [0x151e2c0afb38] Error — [Req#424] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:25.000 [0x151e2c069b38] Error — [Req#427] [Transcoder] Error while decoding stream #0:1: I/O error
Aug 17, 2022 21:28:28.000 [0x151e2c610b38] Error — [Req#42a] [Transcoder] [eac3_eae @ 0x14e96271af40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-5a3b6c90-a96d-4e00-b35e-0edacb0caf0d/EasyAudioEncoder/Convert to WAV (to 8ch or less)/479eiah32n9dbfsz8iccrrh4_424-0-22.wav'
Aug 17, 2022 21:28:28.000 [0x151e2c0afb38] Error — [Req#42f] [Transcoder] [eac3_eae @ 0x14e96271af40] error reading output
Aug 17, 2022 21:28:28.000 [0x151e2c069b38] Error — [Req#432] [Transcoder] Error while decoding stream #0:1: I/O error

 

Link to comment
12 minutes ago, Johan71 said:

Today nothing works anymore, does anyone have the same problem?
I feel like I've tried everything but I'm getting nowhere

Plex issues related to audio transcoding are often fixed by deleting the codecs subfolder from your Plex location in appdata.  This forces Plex to download the codecs again as needed and clears out any corruption that may exist in current codecs.

  • Upvote 1
Link to comment
On 8/17/2022 at 9:46 PM, Hoopster said:

Plex issues related to audio transcoding are often fixed by deleting the codecs subfolder from your Plex location in appdata.  This forces Plex to download the codecs again as needed and clears out any corruption that may exist in current codecs.

Did that and nog it works pefect, tnx 

Link to comment

HW transcode with Intel iGPU when HDR tonemapping enabled is broken again with latest update. Its also broken with The official PMS container.

 

Everybody using Intel iGPU with HDR Tonemapping must stay on 1.28.0.

 

Latest working image is 1.28.0.5999-97678ded3-ls126

Edited by PsychoRS
  • Like 2
Link to comment

Can anyone give any advice on how to get Claim to work, following a password reset as per Plex’s instructions earlier today from the resultant data breech?

 

Password reset. New Claim code obtained and pasted in to docker config. Restart. Navigate to local Plex and log in, but no option to Claim server.

 

 

Link to comment

Doesn´t work unfortunately.
There is no Server entry in the sidebar when going to the settings.
And yes, i´m using the local plex app via https://<mylocalserverip>:32400/web
It´s also on the same subnet.

Addtionally, adding PLEX_CLAIM as a variable with a newly generated Claim key doesn´t work either. Also no errors showing up in the docker log.

EDIT: Tried to follow the stuff mentioned in your second link (thanks for that one).
Removed the mentioned lines in the preferences file added the CLAIM variable with a fresh claim key and restarted the container.
Now i can´t access the local web interface anymore :)
"ERR_EMPTY_RESPONSE"
Which seems to be another problem....argh

Edited by Tetsuo
Link to comment

Same issue for me - reset my password and now unable to access my local Plex server directly. Tried all the suggested things on the Plex articles to no-avail. Any advice greatly appreciated. 

 

Log entry says;

 

#####################################################
#   Login via the webui at http://<ip>:32400/web    #
#   and restart the docker, because there was no    #
#      plex token found in the preference file      #
#####################################################

Edited by DAVIDP
Link to comment

I think i'm fully back up and running. Here's a rundown of my adventure. 

 

I've reset my password

Opened /appdata/plex/Library/Application Support/Plex Media Server/Preferences.xml

Made a backup

Removed the values from PlexOnlineHome, PlexOnlineMail, PlexOnlineToken, PlexOnlineUsername from xml file and saved.

Stopped the container

Added a new variable with a key of "PLEX_CLAIM" to container

Opened https://www.plex.tv/claim/

Copied the claim code into the value for the docker variable

Restarted the plex docker

It populates the Preferences.xml file with new data

 

At this stage I can access the web ui from direct IP. Trying to reach it from plex.tv, apps or custom domain wouldn't work

I went to settings, remote access and disabled it, enabled it, restarted docker again and now finally it's started working again. 

 

 

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