Jump to content

Plex media not appearing

I am having a problem with Plex, I am running it on a old PC using TrueNAS Scale and none of my Movies/TV shows/Pics show up in the Web UI. I have a video in the TV folder and a picture in the picture folder.  I have followed all the guides I have found on the internet.Can anyone help me?

Screenshot 2023-03-23 184754.png

Screenshot 2023-03-23 184737.png

Link to comment
Share on other sites

Link to post
Share on other sites

Have you tried Analyzing the libraries? I'm assuming by the first screenshot that Plex was able to find your file path, if it found that then it theoretically should allow Plex to access the files.

 

Additionally, when I set up my Plex NAS I had to add permissions for Plex to read/write to the specific files, but I didn't use TrueNAS, so that may not be your issue. I still had to force Plex to analyze/scan each library

 

Edit: Related support article

Link to comment
Share on other sites

Link to post
Share on other sites

42 minutes ago, Doogos said:

Have you tried Analyzing the libraries? I'm assuming by the first screenshot that Plex was able to find your file path, if it found that then it theoretically should allow Plex to access the files.

 

Additionally, when I set up my Plex NAS I had to add permissions for Plex to read/write to the specific files, but I didn't use TrueNAS, so that may not be your issue. I still had to force Plex to analyze/scan each library

 

Edit: Related support article

Analyzing the libraries but nothing happened. would these help? https://www.truenas.com/community/threads/truenas-scale-plex.96918/ Plex Permissions | TrueNAS Community

Link to comment
Share on other sites

Link to post
Share on other sites

32 minutes ago, Marinecoco said:

Analyzing the libraries but nothing happened. would these help? https://www.truenas.com/community/threads/truenas-scale-plex.96918/ Plex Permissions | TrueNAS Community

The second link had a video attached at this link: Setting up PLEX on FreeNAS

Although the video is for FreeNAS, the person who originally posted that issue said the video was able to direct them to the correct place for permissions.

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Doogos said:

The second link had a video attached at this link: Setting up PLEX on FreeNAS

Although the video is for FreeNAS, the person who originally posted that issue said the video was able to direct them to the correct place for permissions.

That video or the thread did not help. I am really fustrated that it is not working. Does anyone have any other ideas?

Link to comment
Share on other sites

Link to post
Share on other sites

It looks like a permission issue. Most probably the dataset is owned by root, and plex is running as a user. You need to adjust the ACLs on the dataset to give the plex user or group access. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Jarsky said:

It looks like a permission issue. Most probably the dataset is owned by root, and plex is running as a user. You need to adjust the ACLs on the dataset to give the plex user or group access. 

How do I create a user for plex to use, becasue I tried a id UID and GID of 972 (with no password) but it didnt work. I found this post and will try it tomorrow when I can turn off my SMB shares. Plex set up on TN Scale 22.12.0 (review and suggestions please) | TrueNAS Community I will report back if I got my media to show up.

Link to comment
Share on other sites

Link to post
Share on other sites

I tried following that forum but it didnt help. I am out of ideas and websites to go to.

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/25/2023 at 5:52 AM, Marinecoco said:

How do I create a user for plex to use, becasue I tried a id UID and GID of 972 (with no password) but it didnt work. I found this post and will try it tomorrow when I can turn off my SMB shares. Plex set up on TN Scale 22.12.0 (review and suggestions please) | TrueNAS Community I will report back if I got my media to show up.

 

On 3/26/2023 at 11:20 AM, Marinecoco said:

I tried following that forum but it didnt help. I am out of ideas and websites to go to.

 

I assume that TrueNAS Scale probably uses the LinuxServer Plex container in Docker, which would have a UID/GID of 1000 by default (not 972) for its 'plex' user which the Plex Media Server will be running as within the container. 

 

So I think you're on the right track but need to use the correct UID/GID that matches the user in your container. 

You can open the shell for your Plex container, run ps aux | grep plex   which will show what user Plex Media Server is running as. 

Then if you run id <username> (e.g id plex) then it will give you the ID numbers of the user. 

 

So in your TrueNAS, you want to create a user with the same ID number (you might want to call it something generic like 'media' if youre going to have multiple containers with Read/Write). 

Then in your dataset, you want to edit the permissions.  Enable/Set ACL would be advisable. 

Then set the permissions, and set the owner to the new user you created. 

 

If you're using SMB I think you can select for it to use the dataset permissions if ACL is enabled. 

Then just restart the SMB, and it should be working. 

 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/27/2023 at 4:27 PM, Jarsky said:

 

 

I assume that TrueNAS Scale probably uses the LinuxServer Plex container in Docker, which would have a UID/GID of 1000 by default (not 972) for its 'plex' user which the Plex Media Server will be running as within the container. 

 

So I think you're on the right track but need to use the correct UID/GID that matches the user in your container. 

You can open the shell for your Plex container, run ps aux | grep plex   which will show what user Plex Media Server is running as. 

Then if you run id <username> (e.g id plex) then it will give you the ID numbers of the user. 

 

So in your TrueNAS, you want to create a user with the same ID number (you might want to call it something generic like 'media' if youre going to have multiple containers with Read/Write). 

Then in your dataset, you want to edit the permissions.  Enable/Set ACL would be advisable. 

Then set the permissions, and set the owner to the new user you created. 

 

If you're using SMB I think you can select for it to use the dataset permissions if ACL is enabled. 

Then just restart the SMB, and it should be working. 

 

 

Thanks for the help I created a new user and Group with UID/GID of 1000 and ran those commands to confirm the number and my media now shows up.

Screenshot 2023-03-28 213700.png

Screenshot 2023-03-28 213651.png

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/29/2023 at 2:38 PM, Marinecoco said:

Thanks for the help I created a new user and Group with UID/GID of 1000 and ran those commands to confirm the number and my media now shows up.

Screenshot 2023-03-28 213700.png

Screenshot 2023-03-28 213651.png

Excellent, don't forget to mark it as the solution 😊

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×