I just installed the Plex media server from the Ubuntu Software Center, and opened the web interface. I wanted to start by adding a collection. When it gave me a file browser, I wanted to go to /home/robin/Videos. /home is as far as I got. It showed robin, with an arrow in front of it, but when I tried to expand the directory tree it was empty. The same happened when trying to access /media/Data.
For me it's quite useless like this, as all of my media files are inside those 2 directories.
Help would be much appreciated.
My first guess seemed to be a correct one; It is, as always, a permissions problem. How do I give plex access to my home folder without also giving other users access to it? My home folder is encrypted by the way, so that'll probably complicate things a little.
robin@RobinJ:~$ sudo -u plex bash
[sudo] password for robin:
bash: /home/robin/.bashrc: Permission denied
plex@RobinJ:~$ ls -al
ls: cannot open directory .: Permission denied
plex@RobinJ:~$ cd /home
plex@RobinJ:/home$ cd robin
bash: cd: robin: Permission denied
plex@RobinJ:/home$ ls -al robin
ls: cannot open directory robin: Permission denied
usermod -a -G username plexand thensudo service plexmediaserver restartand did a "Force Refresh" the thumbnails all downloaded correctly :) Probably not the correct fix but it works. – Tod Thomson Aug 07 '15 at 11:15/etc/fstabdid it for me, spent lots of time on other solutions but this one did it for me, thanks. – alistaircol Dec 26 '17 at 22:11I was uncomfortable with the idea of adding plex to my user group, but see the above answer to a similar (not-plex-specific) question. It works if your drives are ext4. I don't know about NTFS. Just use
– salsbury Dec 20 '20 at 06:57/media/MOUNTPOINTas that answer says instead of/media/USERNAME/MOUNTPOINTas this answer says.