Fixing Permissions Problems on Your Linux Plex Server!

  Рет қаралды 12,635

KeepItTechie

KeepItTechie

Күн бұрын

Пікірлер: 58
@potrosas8066
@potrosas8066 Жыл бұрын
You were the only one I had the patience to listen and actually helped me. Thank you kind sir
@KeepItTechie
@KeepItTechie Жыл бұрын
No problem!! Salute!
@alecmesa7563
@alecmesa7563 Жыл бұрын
Thank you so much for the in-depth tutorial. I struggled for HOURS trying to get the permissions setup for everything to work correctly and was not able to find a guide that I could understand until I found this video.
@stevehaessler9150
@stevehaessler9150 6 ай бұрын
Exactly what I needed. Just moved my Plex from Windows to Linux. Have an issue with Plex accessing the media directories and suspected it is a permissions issue. Excellent video, most helpful. A thousand thanks.
@KeepItTechie
@KeepItTechie 5 ай бұрын
Glad I could help.
@TheTimeProphet
@TheTimeProphet 7 ай бұрын
Ok how many like me was trying to brush that hair off the monitor LOL.
@cosmickatamari
@cosmickatamari Күн бұрын
Hell yeah Saints! This fixed the issue I have copying personal rips from samba shares to unraid - I just need to remember to do that every time it seems for it to appear in Plex. I'm still having the issue of metadata not matching automatically.
@reljoy
@reljoy Жыл бұрын
Permissions solved my Plex problem. Thank you KeepItTechie for your good advice. Most of my Music was 700 instead of 755.
@KeepItTechie
@KeepItTechie Жыл бұрын
Excellent!
@arthurkazanis4283
@arthurkazanis4283 4 ай бұрын
Hey Josh. Love your work. I am new to Plex but your quick tutorial fixed my issues. Thank you so much. Cheers.
@mrsphoenix913
@mrsphoenix913 Жыл бұрын
Thank you for this! My hubby uses Plex on his SteamDeck (which uses Linux OS).
@ClarkTheShark24
@ClarkTheShark24 Жыл бұрын
very underrated video, helped me with a lot of struggles i had with my raspberry pi thanks bro!
@KeepItTechie
@KeepItTechie Жыл бұрын
No problem 👍
@heavenlyderpfowl1180
@heavenlyderpfowl1180 Жыл бұрын
what should I do if I have a music folder on an ntfs hard drive but I can't get past /media/[My name] directory to get into my hard drive and my music library?
@KeepItTechie
@KeepItTechie 10 ай бұрын
There is a package you can install to mount a ntfs drive. If you're planning to use the drive on linux more often, i recommend you move your data off to another drive and reformat to ext4, then copy music back. You can open Both NTFS and EXT4 on windows.
@mgmnynyn8718
@mgmnynyn8718 Жыл бұрын
hi, thanks for the video. but why i cant find my /opt/plexmedia? thanks
@KeepItTechie
@KeepItTechie Жыл бұрын
If its not there you can create it using the mkdir command. "sudo mkdir /opt/plexmedia"
@Thiccalus
@Thiccalus Жыл бұрын
Thank you for all your work on these!
@KeepItTechie
@KeepItTechie Жыл бұрын
My pleasure!
@Well_Edumacated
@Well_Edumacated 18 күн бұрын
i needed this; i love Linux by i struggle with the things i need to know to administrate better. I gave up on a jellyfin sever on linux twice cause i couldn't get the permission right or mounting the drive properly. I am gonna give it another go; i hate having a windows computer in my network.
@theveka
@theveka 6 ай бұрын
when I use chown and chmod it looks like its working as in this video but changes doesnt apply when I ls -la again
@KeepItTechie
@KeepItTechie 5 ай бұрын
Make sure you're using sudo with chown and chmod to apply the changes as an administrator. Run the commands as follows: sudo chown -R plex:plex /mnt/HDD/Media/Movies and sudo chmod -R 755 /mnt/HDD/Media/Movies. Additionally, verify that you are targeting the correct directory or file path. After running the commands, re-check the permissions with ls -la /mnt/HDD/Media/Movies to confirm the changes. If the changes still don't apply, it might be due to filesystem-specific issues or mounted drive settings. Let me know if you need further assistance!
@SeanHarris-zv5ij
@SeanHarris-zv5ij 5 ай бұрын
I've followed the tutorial and everything looks exactly like yours but I cannot even add files to my plexmedia directory on my computer. When I try to actually add media to be seen by plex it says "you do not have permissions to create it in the destination"
@YaMoonSun
@YaMoonSun 4 ай бұрын
Gotta set your media directory (and parent directories) to 777 to copy/paste media from your user to the plex user's directory, because you no longer are the owner, of said directory.
@Stretchxiix
@Stretchxiix 5 ай бұрын
I feel like I'm an idiot. I can get Plex to see my /mnt/HDD but it will not go further. I have tried all the commands to change the permissions and they have went through but still no result in plex. Maybe I'm missing something small or can it be a completely different issue. my directory is /mnt/HDD/Media/Movies
@KeepItTechie
@KeepItTechie 5 ай бұрын
Hey there! Don't feel that way, Plex can be tricky sometimes. It has to be a permissions issue with the Plex user not having access to your directory. Make sure the Plex user has read permissions. You can try running: sudo chown -R plex:plex /mnt/HDD/Media/Movies sudo chmod -R 755 /mnt/HDD/Media/Movies If that doesn’t work, check Plex's log files for more clues. Hope this helps!
@ryanmalone2681
@ryanmalone2681 5 ай бұрын
I don't even understand how you got into the directory. Plex installs itself with caps and spaces and there is no way to get to the directory as a result. one of this worked. Using chmod didn't even change any permissions.
@OniKuma88
@OniKuma88 Жыл бұрын
You saved me my dude. Thank you!
@KeepItTechie
@KeepItTechie Жыл бұрын
Glad to hear it! No problem!
@Thiccalus
@Thiccalus Жыл бұрын
Thank you for this!!
@KeepItTechie
@KeepItTechie Жыл бұрын
No problem 😊
@cleightthejw2202
@cleightthejw2202 Жыл бұрын
@Tech-E That Plex- is it on Ubuntu server or is that separate or can it be either? And for a video suggestion (if you haven't done this) Have you done a video on Bash and how to extend the buffer size there? And when and why one might want to extend the buffer? I know I get that issue where the text goes past the size of the window and I can't 'page up/down' on it. Like when you get a list of all the directories/files. Or call a couple different ones but can't scroll up with the arrow key My guess is that is due to the buffer size. I'm not sure though
@al7lem
@al7lem 10 ай бұрын
Thank you bro .. u help me a lot 👍
@coryoutubechannel
@coryoutubechannel 10 ай бұрын
Hey KeepItTechie, 2 questions: 1. My plex media folder is located inside /mnt/hdd1 which is a folder I mounted my internal hdd to. hdd1 has permissions 750, but the plex media folder inside it has permissions 755, yet Plex cannot see the directory when creating a library. If I change hdd1 to 755, Plex can see the plex media folder. Isn't there a way for my plex media to be on my hard drive without making the whole disk have 755 permissions? 2. My hdd1 is also a samba share because I transfer files to it from my windows computer. Right now the owner of hdd1 is my own user profile. If I change my plex media folder's owner to the plex user, I can't transfer files to it from my windows computer anymore. Is there a way to make both work, the samba share and the plex user be the owner as shown in this video? Thanks, great vids, already helped me a ton.
@KeepItTechie
@KeepItTechie 10 ай бұрын
Add the plex user to the user group that owns the directory. 750, 7 = Owner. 5 = Owner's Group. 0 = world. example: sudo usermod -a -G . This should solve both isses.
@coryoutubechannel
@coryoutubechannel 10 ай бұрын
@@KeepItTechieI can bet you just saved me days of headaches. Thanks so much, and for the quick response too, this worked straight away. Security wise, is it OK to have the plex user have group access to my whole hdd1 directory, say if I had some more sensitive data in there at some point outside of the plex media?
@KeepItTechie
@KeepItTechie 10 ай бұрын
@@coryoutubechannel You can specify the plex group for the specific folders and leave the main user as the owner. Example sudo chown user:plex -R /mnt/drive/media, this will leave other folder on the drive untouched but set the permissions specifically for the directories used by plex. Little bit more work but this will protect your other folders and keep access for the user.
@KeepItTechie
@KeepItTechie 10 ай бұрын
Also remove the plex user from the main user account group. Example sudo gpasswd -d plex .
@coryoutubechannel
@coryoutubechannel 10 ай бұрын
@@KeepItTechieSomehow when I try that Plex can't see my media directory again. To summarize: /mnt/hdd1 is user as owner and user as group. Permissions 750 /mnt/hdd1/plexmedia is user as owner and plex as group. Permissions 750 I removed the plex user from my user group, which really is what makes it or breaks it so far And Plex can't see the "plexmedia" folder anymore when choosing a library. I must be missing something obvious here but not sure what yet
@Wired7124
@Wired7124 7 ай бұрын
Thank you!!!
@Ingeanous
@Ingeanous Жыл бұрын
@11:33 saved the day...
@KeepItTechie
@KeepItTechie Жыл бұрын
Glad it helped!
@tshepomotsuenyane811
@tshepomotsuenyane811 Жыл бұрын
is there a document for this? i really need it
@KeepItTechie
@KeepItTechie Жыл бұрын
This video really has nothing to do with PLEX. It is simply showing people how to manage permissions in linux. Search chmod and chown. The documentation will break this down.
@tshepomotsuenyane811
@tshepomotsuenyane811 Жыл бұрын
@@KeepItTechie I managed to get it right after some research. Your video was the catalyst for me to find the right solution
@KeepItTechie
@KeepItTechie Жыл бұрын
@@tshepomotsuenyane811 Glad I was able to help!
@YaMoonSun
@YaMoonSun 4 ай бұрын
Turns out, I encrypted my home directory, so I had to sudo chmod -R /home/username first, and then after I used sudo chown -R Plex on the directory I created, I had to sudo chmod -R 777 Plex my Plex directory so I could copy/paste movies from my /home/username/Videos directory without escalated privileges (root)
@si4632
@si4632 3 ай бұрын
the solution is windows 11 pro 3 clicks of a mouse job done lol
@realpainediaz7473
@realpainediaz7473 Жыл бұрын
3 groups -> 3 octets
@si4632
@si4632 3 ай бұрын
Linux users enjoy copying and pasting acres of text into terminals just to get basic software to work it seems lol
@CaptainW_rCrimes
@CaptainW_rCrimes Ай бұрын
you could have made this video 2 mins long edit: didnt even work so its a waste ether way
@loyaltabk
@loyaltabk 8 ай бұрын
cd /opt/plexmedia/ returned "no such file or directory"
@KeepItTechie
@KeepItTechie 8 ай бұрын
Did you create the location first? Also check permissions.
@eddie947
@eddie947 3 ай бұрын
@@KeepItTechie dumb question here but how do I do that? Thanks for all your help so far!
NAS For Plex Media Server - 8 Mistakes People ALWAYS Make
23:21
NASCompares
Рет қаралды 204 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 25 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 11 МЛН
The open source alternative to my sponsor - Jellyfin vs Plex
17:08
Linus Tech Tips
Рет қаралды 2 МЛН
Incredible Budget Home Server! (Minecraft, Plex, Home Assistant, NAS)
16:38
OwnCloud on Ubuntu: Your Personal Cloud Storage Setup in Minutes!
25:33
The Painful world of Linux Ricing | A Hyprland story
13:01
typecraft
Рет қаралды 73 М.
3 Ways to Start Your Own Plex Server
14:27
Linus Tech Tips
Рет қаралды 1,9 МЛН
Switching to Linux: A Beginner’s Guide
20:22
ExplainingComputers
Рет қаралды 178 М.
Do You Actually Need a Home Server? Setting up a Cloud Media Server!
29:17
Wolfgang's Channel
Рет қаралды 59 М.
How To Set Up A Plex Media Server On A Zimaboard
11:26
Mike Faucher
Рет қаралды 10 М.
Plex Media Server | Install on Ubuntu 22.04 LTS
22:07
KeepItTechie
Рет қаралды 52 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 25 МЛН