MrSparks Posted January 7, 2023 Share Posted January 7, 2023 I have a lot of movies on external exfat formated USB drives. I was able to use the Unassiged Devices Plus plug in to mount these drives. When I SSH into the unraid host, I can see their contents in /mnt/disks/[NAME_OF_DRIVE] . I am running Plex Media Server official app (which I set up the docker settings to have its data drive be: /mnt/user/PlexMedia/ , which is a setup for high-water share of all the disks in my Array Devices. When I logged into unraid SSH, I used the SSH plugin by docgyver to su into my non-root account, which I set the UID and GUID in the Plex docker settings to. Using that account, I created a link from /mnt/disks/[NAME_OF_DRIVE] to /mnt/user/PlexMedia. I tried this direct and relative. Both times, when I went to Plex to add the content from those folders (which are symlinks to the files on the external USB, Plex shows the symbolic link as greyed out. When I connect to the Plex console to check things out, I see: 4 lrwxrwxrwx 1 plex users 22 Jan 7 00:04 MOVIES_EXT -> ../../disks/MOVIES_EXT However, that relative path doesn't work because the parent directory is root for the docker container. I tried to run it as privileged but that didn't solve the problem. How can I have a symlink in the data folder on the Unraid Host that can be resolved by Plex in its docker so that my movie files can be added? Thank you if you choose to help! Quote Link to comment
BRiT Posted January 7, 2023 Share Posted January 7, 2023 You need to Map the /mnt/disks/MOVIES_EXT into the docker container, the same as you mapped the other folders you wanted Plex to be able to access. Quote Link to comment
MrSparks Posted January 7, 2023 Author Share Posted January 7, 2023 Thanks. I went about it that way instead instead of trying to get symlinks to work across host and docker, and it was MUCH easier. I appreciate you, happy new year. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.