-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permission denied for /config/...when starting plexmediaserver #2
Comments
This is due to the permissions on the unRAID server of where you are pointing /config |
The host is Ubuntu 14.04 server. |
Aha, my apologies. Most of my users are on unRAID. Can you share with me the current permissions of your Plex directory? |
No worries. I just changed the permissions of the config directory (on the host) to 766 to test the permissions issues and I still get the permissions exception from pms when it tries to write to the log under /config in the container. I stopped the prior instance of the image and removed it before running each test to wipe any pre-existing artifacts... Nothing is created/written under config |
I also tried starting a data volume and using -volumes-from and still got the following exception: Aborted (core dumped) using the following docker commands: |
FYI, I just tried timhaak's docker-plex image and it writes to the /config volume without issues. |
That is due to his running as the user root and mine runs as the user plex. |
@needo37 I'm not sure if this is cleared up elsewhere (Docker Hub maybe?) but my fix is pretty simple... Create a plex.sh file with the following: In your I've also done this for your sickbeard and couchpotato repos. |
The service can write the config files into the volume. The directory is a sub-dir under my user home - non-root ownership.
-v /home/chris/plex/config:/config
The text was updated successfully, but these errors were encountered: