Plex cannot see raspberry pi external drives

Server Version#:Not sure
Player Version#:

Hello,

I’m sorry - I want to add the server version but I am very new to linux, I have no idea how to find out what version it is. When I google “check plex media server version raspbian” it just leads me to different install guides.

I have a raspberry pi 4 with 2 drives connected by USB. Both are mounted in raspbian. I can manage the directories within completely on my VNC session or through putty. SAB can update the folders no problem. I’ve used the GUI and changed permissions to everyone full control and same issue. I’ve read the really big guide on the top of the linux page relating to plex and permissions and tried to do as instructed but wont lie, don’t fully understand it.

I’ve just added plex to the root/sudo group that is the owning group of the Storage/Storage1 drive and restarted the server and it still can’t see anything below either Storage/Storage1 or media/pi/Storage or Storage1 when trying to add a library in the GUI.

Please can anyone point me in the right direction as I havent spent days googling this issue and just getting nowhere.

Thank you for any suggestions or help.

Plagiarizing myself from another thread…

Drives automatically mounted under /media/user (or /run/media on certain distributions) cannot be read (or written) by any user other than the user, typically. This is because this location is managed by udisks2 and has Access Control Lists (ACLs) applied to it.

The recommended way to mount external drives is described here:

If you carefully follow that guide to mount your drives, Plex will be able to access them.

There is another (quick and dirty) method, which I don’t necessarily recommend. You can try modifying the ACLs for the auto-mount home for your user to allow Plex access. To do so, run the following command:
sudo setfacl -m u:plex:rx /media/pi/

This will give user plex read and execute permissions to the /media/pi directory, under which your disk is being mounted. I’ve only tested this under Ubuntu. You should probably just use the method described in the linked thread to set up permanent mounts though.

1 Like

@pshanew, I appreciate you so damn much!

I wont lie, I did your quick and dirty method just out of a mixture of laziness and desperation and it worked and I can see all my media and my pi project isn’t a disaster anymore. I will certainly try to get the recommended setup working in the near future but I needed this win right now.

Thank you again!

1 Like

No problem, happy to help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.