I followed these instructions to get my second drive to serve files (Ubuntu 18). When I go to add folder to a library, in the file selector nothing appears under /hdd and manually entering /hdd/Videos does not give me movies in that library.
. df shows/dev/sdb1... /hdd
fstab has UUID=2d875975-15c9-4fe0-99d7-7ccf9ef64fa8 /hdd.
Running ls -l at /hdd shows drwxr-xr-x 5 plex plex 4096 Jun 3 09:03 Videos.
/etc/default/plexmediaserver is for SYSV Init systems only (Ubuntu 14 / Debian 7)
A proper override file must be used for Ubuntu 16+ and Debian 8+ which use systemd
Quotes and \ do work in /etc/fstab when done correctly. It’s tricky so practice before rebooting the system.
You are right. sudo ps -u plex shows that user plex is still running all plex processes.
I did not use any quotes, \, or name-internal spaces in /etc/fstab. Rather, I was trying using the Plex web GUI to set /VideoMount/TV Shows as a library location, and this failed until I renamed the directory to remove the space.
I am guessing that my key fix was to give my videos a mount point dedicated to them by re-mounting (with bind) my /hdd/Videos directory at VideoMount.
Why can’t you just use the exact mount point /hdd/Videos you’ve defined?
PMS will let you drill into /hdd (presuming you set 755 permissions on /hddAFTER being mounted the first time.
Remember: Set the permission of the mount point AND set the permission of the mounted root dir . (Often overlooked)
Why can’t you just use the exact mount point /hdd/Videos you’ve defined?
I tried that, but never was able to drilldown in the GUI.
…set the permission of the mounted root … 755 permissions on /hdd
I did not do that as I did not want to alter the permissions of all the other non-media files on /hdd (/dev/sdb1).
I did however set permission for the /hdd/Videos directory, using your two find... chmod commands. But I see that that was not enough.
Set the permission of the mount point
How does “Set the permission of the mount point” differ from “set the permission of the mounted root dir”? I have mounted /dev/sdb1 at the mount point /hdd – isn’t that the same as the “mounted root dir”?