I’ve followed the instructions from Docker Hub but am having a hard time figuring out what I’m doing wrong here. I need the container to do any reading or writing in the config, transcode temp, and data directories as UID and GID 1000.
I have the container configured via docker compose like so:
plexms:
image: plexinc/pms-docker:public
ports:
- "32400:32400"
- "3005:3005"
- "8324:8324"
- "32469:32469"
- "1900:1900/udp"
- "32410:32410/udp"
- "32412:32412/udp"
- "32413:32413/udp"
- "32414:32414/udp"
volumes:
- /zahra/plex_data/transcode_temp:/transcode
- /zahra/plex_data/config:/config
- /zahra:/data
environment:
- TZ=America\Chicago
- PLEX_CLAIM=claim
- ADVERTISE_IP=http://mydomain.com:32400/
- CHANGE_CONFIG_DIR_OWNERSHIP=false
- PLEX_UID=1000
- PLEX_GID=1000
There was nothing in the /zahra/plex_data/config or /zahra/plex_data/transcode_temp directories prior to me running the container. When I first ran it, I got a permission denied error so I looked to see what files had been written, and they’re written as my user (1000). Which is correct, this is what I want.
After stopping and starting the container again, I get a lot of stuff like this:
plexms_1 | Permission denied: /config/Library/Application Support/Plex Media Server/Preferences.xml
plexms_1 | Permission denied: /config/Library/Application Support/Plex Media Server/Preferences.xml
plexms_1 | failed to load external entity "/config/Library/Application Support/Plex Media Server/Preferences.xml"
Anybody see what I’m doing wrong here?