Hi All,
My first post on the forums as I’m completely stuck!
I’ve ditched my previous Windows setup and I’m now running PMS within a Docker container on an i5 machine accessing remote NFS Shares from my NAS running unRaid.
I’ve had it all working fine but with some annoying niggles mainly being mounting the remote shares. I had configured /etc/fstab but my issue was that although my NAS is on 24x7, the Plex machine boots up faster than my router so it fails to mount the NFS shares so I have to reboot again once the router is online for it to see the shares. This was affecting the Wife Acceptability Factor so I decided that autofs seemed like a better solution.
I’ve configured autofs and it works OK, if I do an ls -ltr against the directory it automounts as expected. However Plex reports the files are unavailable when trying to play them in a client.
Here is the config I used to build the Docker container;
docker run
-d
–restart always
–name plex
–network=host
-e TZ=“Europe/London”
-e ADVERTISE_IP=“http://192.168.10.39:32400/”
-e PLEX_CLAIM="***************"
-h plex-server
-v /home/docker/plex:/config
-v /home/docker/plex:/transcode
-v /home/docker/plex/NFS:/data
plexinc/pms-docker
/home/docker/plex/NFS is where autofs monitors and within this directory I have my mounts for TV, Movies etc
If I SSH onto the PMS box I can list the filesystems fine through ‘ls’ but if I try to do the same through the container I get the following error;
docker exec plex ls -l data/TV
ls: cannot open directory ‘data/TV’: Too many levels of symbolic links
I have just noticed that docker exec plex ls -l data/Movies works OK
Can anyone give me any pointers please?
Cheers