Archived My old reliable Windows Plex server is now an old reliable Linux Plex server (Linux)
submitted ago by ChillyHellion
Posted by: ChillyHellion
Posting time: 5.2 years ago on
Last edit time: never edited.
Archived on: 2/12/2017 1:51:00 AM
Views: 385
SCP: 22
23 upvotes, 1 downvotes (96% upvoted it)
Archived My old reliable Windows Plex server is now an old reliable Linux Plex server (Linux)
submitted ago by ChillyHellion
Sort: Top
[–] RedSocks157 0 points 3 points 3 points (+3|-0) ago
Nice! The file permissions thing screwed me up for awhile when I put my Plex server on Linux, glad you figured it out quickly!
[–] ChillyHellion [S] 0 points 2 points 2 points (+2|-0) ago
Thanks! Yeah, I had tried making the switch a few weeks ago when my original hard drive started going bad, but I got hung up because Plex couldn't see the HDD that has all of my media on it. I added the Plex user to my username group and everything, and I could see the drive/files in Nautilus, but I couldn't "add library" in Plex. The /v/FixMyLinux guys recommended checking my drive mounting settings because Linux sets permissions on NTFS drives at mount. To my relief, Fedora includes a GUI for checking the drive mount settings (gnome-disks) so I didn't need to manually edit fstab. Sure enough, my drives were being mounted with root as the owner, so Plex couldn't see them. I changed the settings to mount with myself as the owner (and my username group) which made Plex happy and fixed my permissions issue. That was pretty much the only big hurdle in the process for me, and now I've got my pretty much hands-off install chugging away and running Plex. I only interact with it to add media and run updates. And my capped internet sure appreciates Fedora's delta updates.
[–] [deleted] 0 points 2 points 2 points (+2|-0) ago (edited ago)
[–] GodofGrunts 0 points 1 point 1 point (+1|-0) ago
Might I recommend using Antergos instead of Manjaro?
Antegros is basically Arch with an installer (and a few extra packages they maintain), but Manjaro does a bunch of things on it's own (patches etc) and isn't as quick about it as the Arch devs are.
[–] ChillyHellion [S] 0 points 1 point 1 point (+1|-0) ago (edited ago)
I guess when Linux mounts a NTFS drive it assigns the drive an owner and a group, because it can't really interact with permissions on an NTFS drive. In my case the owner and group were assigned to root, so I had to set "uid" and "gid" to "1000" (me) in order to have myself set as the owner of the drive at mount. So it's not really a permissions issue so much as a drive ownership issue, since Linux can't interact with permissions on NTFS drives. In your install you might have set your "uid" and "gid" values when you edited fstab, which is what I did with the GUI (gnome-disks). If you do run into issues with your new install, just remember to take a look at your fstab and see who owns the drive at mount. You may need to change it to your own uid and gid if you want to be able to read/write files on the drive.
Edit: I think this is the guide I followed: http://askubuntu.com/questions/113733/how-do-i-correctly-mount-a-ntfs-partition-in-etc-fstab
[–] [deleted] ago
[–] ChillyHellion [S] ago
Yes?
[–] [deleted] ago