Plex docker image should not change permissions on mounted volumes if PID and GID is defined

Server Version#: 1.42.1.10054-f333bdaa8

Plex mucked up my setup permissions on the mounted config directory after installing the latest version of the docker image.
It worked fine with the previous version, but the latest version just changed the permissions to something else.
I especially defined UID and GID in my install script so plex does not change the access rights away from the user under which the container is executed. This should not happen and is bad practices for containers which should not change the permissions without a clear opt-in option.
Also this takes hours since my folder is quite large.

Best regards
miracle152004

I’m seeing multiple regressions in this version with docker, and trying to get Plex’s attention to them [1] [2]. Consider downgrading and waiting for Plex’s response.

[1] https://forums.plex.tv/t/custom-domain-ssl-does-not-work-after-update-to-server-version-1-42-1-10054-f333bdaa8/

[2] https://forums.plex.tv/t/docker-server-upgrade-plex-server-crashing-on-1-42-1-10054-f333bdaa8/

Great catch. This would explain the crashing read/wrote issues I have after this update. How did you fix it please?

See this post on how to downgrade the PMS version in Docker if you’re using the official image.

I restored the permissions manually and then switch to another image which is not from plex.
It should work the same way with restoring the permissions manually and then switch to an older version of the official image.

I used this command to restore only the permissions on files/directoris plex adjusted:

sudo find /path/to/PlexLib ( ! -user “$PUID” -o ! -group “$PGID” ) -print -exec sudo chown “$PUID:$PGID” {} +

1 Like

I rolled back to 1.41.6.9685 as outlined above. Has this issue been acknowledged by Plex? I’d Rather not ran and outdated version.

1.42 broke my setup as well. I downgraded to plexinc/pms-docker:1.41.6.9685-d301f511a and things are working again.

I didn’t have to restore the permissions manually. Just switching the image tag fixed my issue

Plex docker doesn’t works yet (1.42.1.10060) transcoding messages with errors; downgrading to 1.41.6.9685-d301f511a works perfectly.

If you are seeing failures please provide the entire zip of your PMS logs.

did anyone here try the 1.42.0 beta or is the last known good docker release 1.41.9?

I am investigating the permission changes, there is nothing i can do without logs for transcoding errors (defiantly not a wide scale issue) and the custom domain thread appears to no longer exist so please speak up if that is still an issue.

  1. im not asking for logs for the permissions issue just transcode. logs would not be useful here
  2. that being said we are having trouble reproducing even using the steps you mentioned above

do you guys mind sharing what you are setting for UID/GUID?

Not saying others aren’t having issues, but I’m using Docker with version 1.42.1.10054. I did not have any permission issues after upgrading. I have the uid/gid and the plex_uid/gid set.

For transcoding, I’m not seeing any errors in the log when transcoding 4k to 1080p,

I think i may know what the issue is but i’d like to verify by at least one affected user sharing what they are setting their UID/GID to

I do think the underlying base OS in the pms-docker changed and is causing this and other issues like Custom domain ssl does not work after update to server version 1.42.1.10060-4e8b05daf

that is 100% the case, the underlying image was bumped to 24.04. we are now working on addressing the issue. that being said we are working on figuring out why this is causing permissions issues and what can be done about the ssl cert.

As noted in my thread, increasing to full read access corrected the SSL issue

I think you have a smoking gun now!

Hey Chris and @Atomatth, I think I found out what might have happened.

I will share my post on reddit about this issue:

https://www.reddit.com/r/PleX/comments/1mnhsmy/comment/n8ib87o/

For everyone else, just use variables PLEX_UID and PLEX_GID instead of PUID and PGID in the docker compose file and everything will be back to normal.

2 Likes