I just set up my plex server on my new Raspberry Pi (localhost:32400/web/index) following these instructions: https://pimylifeup.com/raspberry-pi-plex-server/
Everything was going well until I tried to add content, no errors or other install issues.
In my file explorer, I can see my external drive: /media/pi/Kara Passport/Plex Media/Movies/ but when I add it to a library it cannot find ANY content. I followed the naming rules (with and without year - ie The Avengers 2012, Aquaman, Black Panther, etc)
I even tried moving the files to /home/pi/videos/ to see if it was an issue with the external hard drive. It’s not finding or adding any of the files to the library.
You need to make sure that plex has at least read/write permissions to the folder. Because Plex Media Server runs under the plex user on Linux, you can run chmod - R 766 /path/to/Movies from command line. This will set user permissions to rwx (4+2+1) and group and other permissions to rw (4+2); the -R is for recursive. If that doesn’t fix the issue, try doing the same thing for the directory your Movies directory is in; Linux permissions are hierarchical so if /path/to/folder does not allow rw, then one cannot write to /path/to/folder/Movies even if it has the correct permissions.
Hopefully you didn’t edit /etc/default/plexmediaserver to change the user, every time plex updates it will overwrite that file.
The /media has special permissions to limit access to the active user to compliment the security of the /home directory. For Plex it is best to create a new directory structure and mount you drive there like say /plex/{mounted drive} then change the owner to the Plex user and you are set.