I decided to finally get Plex set to run under Docker and used the TechnoDadLife guide to get it going. Was having a few issues where Plex was running, but couldn't see any of my media files at all so I went the sledge hammer approach and put the PUID and PGID both as 0 (for root). This worked fantasticly, with me able to find all my media files, and I left it go.
When I went to open the shared location up from windows explorer however I got the "Windows cannot access <IP ADDRESS>" message and was no longer able to access any of my files. I am suspecting that giving plex root privileges to my media folder caused it to change the owner or privileges of those locations. I followed the guide more closely and set it up with User1 which has the same PUID and PGID as in the video. Unfortunately despite Docker reporting the state as running, the docker log reporting that it detected a change of owernership etc. I had hoped this would fix my issues..
------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 40-chown-files: executing...
Change in ownership detected, please be patient while we chown existing files
This could take some time
[cont-init.d] 40-chown-files: exited 0.
[cont-init.d] 50-gid-video: executing...
[cont-init.d] 50-gid-video: exited 0.
[cont-init.d] 60-plex-update: executing...
#######################################################
# Update routine will not run because you havent set #
# the VERSION variable or you opted out of updates. #
# For more information checkout :- #
# https://github.com/linuxserver/docker-plex #
#######################################################
[cont-init.d] 60-plex-update: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom scripts found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.
Alles anzeigen
Plex server no longer runs and I still can't access my shared drive. For reference I am simply using guest access and full privileges to my share location to simplify the whole thing.
I have done the following to try and fix it
1 - Went into SMB/CIFS and ensured that Public - Guest Allowed was still set, checked that it was marked as Browseable. Inherit ACLS and Inherit permissions are both on, not sure if I changed that or not as I have done a few things in an attempt to fix this
2 - Went into Access Rights Management and my storage location has Read/Write for User1 and then went into ACL and have the following set as per Photo 1
- Owner - Root - Read/Write/Execute
- Group - Users - Read/Write/Execute
- Others - Read/Write/Execute
- Recursive - On
3 - Went into the Reset Permissions, selected both the Plex Config folder and the Storage folder and set them both to everyone:read/write and told it to clear ACLs
4 - Signed in with PuTTY and this is what I got from ls-al on my pool drive
root@NAS:/srv/de0aa5f6-8c5d-4d10-a6bf-1f5f23413fea# ls -al
total 52
drwxr-xr-x 4 root root 4096 Oct 22 2018 .
drwxr-xr-x 8 root root 4096 Oct 22 2018 ..
drwx------ 2 root root 16384 Oct 22 2018 lost+found
drwxrwsrwx+ 3 User1 users 4096 May 4 12:16 PlexConfig
drwxr-xr-x 4 plex nogroup 4096 May 4 15:55 plexmediaserver
-rw-r--r-- 1 root root 1133 Oct 22 2018 snapraid.conf
-rw-r--r-- 1 root root 629 Oct 22 2018 snapraid.conf.bak
-rw------- 1 root root 153 Oct 22 2018 snapraid.content
-rw------- 1 root root 0 May 3 08:09 snapraid.content.lock
drwxrwsrwx+ 8 root users 4096 Oct 23 2018 Storage
Alles anzeigen
Basically run out of ideas at this point. I've done the above a few times, disabling Docker to do it as well in case having Plex running is causing issues and obviously tried turning everything off and on again. Unfortunately Plex and my Shares are still down.
Any help would be greatly appreciated!