Comments (2)
With the docker-compose file you provided (with the typos fixed), Plex starts and runs as uid 1000. I do see the following warnings about /transcode not being writeable, although that's because Docker created that directory as owned by root:root
frebib@frebib-PC /t/tmp.oy4rCCI0> rg /transcode config/Logs/Plex\ Media\ Server.log
2180:Jan 05, 2022 19:46:17.287 [0x7f71b6af86e8] ERROR - IsFileWritable: failed to create file '"/transcode/0821d080-fd6e-4cbe-acf8-8f9e1ded3195"'
2181:Jan 05, 2022 19:46:17.287 [0x7f71b6af86e8] WARN - IsDirWritable: directory '"/transcode"' is not writable
frebib@frebib-PC /t/tmp.oy4rCCI0> l
total 4.0K
drwxr-xrwx 8 frebib frebib 180 Jan 5 19:46 config/
drwxr-xr-x 2 root root 40 Jan 5 19:46 transcode/
-rw-r--r-- 1 frebib frebib 262 Jan 5 19:46 docker-compose.yml
If I chown the directory and restart plex, the error goes away.
Here is the full compose file I tested with, from your example above.
version: "2.1"
services:
plex:
image: spritsail/plex-media-server
network_mode: host
environment:
- SUID=1000
- SGID=1000
volumes:
- ./config:/config
- ./transcode:/transcode
- /dev/dri:/dev/dri
restart: unless-stopped
I might suggest you exec into the container and check the permissions:
frebib@frebib-PC /t/tmp.oy4rCCI0> docker exec -ti tmpoy4rcci0-plex-1 su-exec 1000:1000 sh
/usr/lib/plexmediaserver $ id
uid=1000 gid=1000 groups=1000
/usr/lib/plexmediaserver $ ls -al /transcode/
total 4
drwxr-xr-x 3 1000 1000 60 Jan 5 19:49 .
drwxr-xr-x 1 0 0 4096 Jan 5 19:52 ..
drwxr-xr-x 3 1000 1000 60 Jan 5 19:49 Transcode
/usr/lib/plexmediaserver $ touch /transcode/test
/usr/lib/plexmediaserver $
from plex-media-server.
Yep the chown solved the issue. It just does not makes sense why config had right permission but not transcode ...
from plex-media-server.
Related Issues (10)
- Error shared library under alpine server HOT 5
- Not getting TVDB agent matches HOT 4
- Add nvidia libraries for hardware-accelerated en-/decoding HOT 18
- Is there any way to specify the internal listening port as something else than 32400? HOT 2
- What exactly was removed? HOT 1
- PROMOTION ISSUE CANT ACCESS MY MEDIA FILES
- Any plans for a raspberry pi (4) build? HOT 1
- Environment variable for less Debug logs? HOT 12
- Add timezone variable/bind mount option. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plex-media-server.