Cannot add media source to library (linux)

PMS - ver. Version 1.19.1.2701
OS - Pop!_OS 20.04 LTS

First time post, please forgive my inability to find the answer in the forum search…
Problem: When I try to “add library” and then “browse for media folder” I cannot view or select the folder. I checked permissions, and have rwx for all directories and files.
I actually cannot view the folder, I can see the drive partition name, but no folders…
This partition is on a second drive in my laptop.

Any help is much appreciated!

The Plex Media Server on Linux based systems is using a dedicated local account (plex). That account must be able to see the files and to “execute” the directories (so Plex can drill down through the folder structure).

PS: not sure if there’s any additional obstacles / restrictions implied by the particular distribution

1 Like

Tom’s suggestion is absolutely the recommended way to ensure a drive has a dedicated mount point with the correct permissions applied. I’d suggest sticking with that.

There is (potentially) another (easier) way to tackle this problem, if the drive is currently being automatically mounted under /media/yourusername/volumelabel. If it is, you can try the following:
sudo setfacl -m u:plex:rx /media/mrtcpip/

This assumes that you are running Plex Media Server as user “plex” and that your user on Linux is “mrtcpip.” Adjust the command as appropriate. This command give user “plex” read and execute access to the user-specific automatic mount directory. You could also add write permissions (change “rx” to “rwx”).

The main thing to recommend this method is that just requires a single command to implement. There are a couple of drawbacks to this method, the primary being that it relies on automatic mounting continuing to work in the future as it does now, for example that the OS will always mount the disk in the same place.

Thank you Tom & Philip! It is working.

Best regards!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.