Plex (new install, empty libraries)

EyeBar

Cadet
Joined
Jul 8, 2023
Messages
3
My first SCALE host (TrueNAS-SCALE-22.12.3.2) and having problem getting the official Plex configured. Initial setup of the SCALE host is working well with local user and 112MB/s read/write on 1Gbps LAN. Redone the Plex app setup with many different variations and I'm sure I must be missing something simple but IDK what! I've read everything I can find here in the forums and nothing has helped resolve but I have taken on a few hints along the way...
Sources: Plex set up on TN Scale 22.12.0, All Plex Libraries Empty, How to Set Up TrueNAS Scale to Host Plex, TrueNas Scale Permission, Plex Permissions, Plex on Scale - error with set-up due to SMB (and many more)
So taking it from the top, fresh start... pool not set for apps (and obv. no apps), no datasets created for Plex.
Right now I'd just like to see something in the Film library I create.

Can anyone offer insights?

1) Remove all old Authorised Devices (remnants of prior attempts) from Plex portal
https://app.plex.tv/desktop/#!/settings/devices/all
1688838461936.png
2) Create local group 'plex' with GID 1000
1688829029661.png
3) Create local user 'plex' with UID 1000. Primary group: plex; secondary groups: plex, apps
1688829250273.png
4) Create dataset for 'media'
1688829817512.png
5) Create dataset for 'plex configuration'
1688831396595.png
6) Create dataset for 'plex transcoding'
1688831480646.png
7) Choose nvme-pool for apps (ix-applications) dataset
1688831947009.png
Resulting datasets - all four new datasets have same Unix permissions (root:root 755)
1688832114504.png
8) Install plex from available applications settings - plex installs and goes to 'Active' state:
Application name: plex
Use PlexPass: [checked] (I do have a PlexPass)
Plex Claim token: (from https://plex.tv/claim)
Environment Variables for Plex (have also tried without these environment variables):
PLEX_UID = 1000​
PLEX_GID = 1000​
Configure Host Network: [checked]
Enable Host Path for Plex Transcode Volume
/mnt/nvme-pool/plex-transcode​
Enable Host Path for Plex Data Volume
/mnt/hdd-pool/media​
Enable Host Path for Plex Config Volume
/mnt/nvme-pool/plex-config​
1688832444704.png
9) UNIX user and group on datasets nvme-pool/plex-config and nvme-pool/plex-transcode changed to plex:plex by installer (hdd-pool/media and nvme-pool/ix-applications unchanged)
1688833335309.png
10) Plex server first time setup
Server friendly name: scale
Allow me to access from outside my home: [unchecked]
No libraries added
1688833563075.png


1688833602289.png


1688834428947.png


1688834449616.png
11) Copied sample video BigBuckBunny_512kb.mp4 to /mnt/hdd-pool/media/Film. Adjust file and folder permissions (chmod -R 777 /mnt/hdd-pool/media).
NOTE: I know this permissions adjustment here is BAD practice and I don't want to leave it like this but I am trying to eliminate all the potential barriers I see and setting UNIX file and folder permissions to 777 (-wrxwrxwrx) recursively on /mnt/hdd-pool/media is a hack to do that. Also tried with different owner and group (chown -R plex:apps /mnt/hdd-pool/media).
1688841721711.png
12) Open plex Web Portal from Installed Applications and Add Library
Type: Films
Name: Films
Folder: /mnt/hdd-pool/media

1688842167453.png


1688842257493.png
13) Scan Library Files. Empty before scan, scan, still empty after scan :(
1688842396670.png


1688842415913.png


1688842436798.png
 

Attachments

  • 1688841422154.png
    1688841422154.png
    109 KB · Views: 280
  • 1688841441404.png
    1688841441404.png
    109 KB · Views: 231
  • 1688842299663.png
    1688842299663.png
    167.2 KB · Views: 253
  • 1688831711865.png
    1688831711865.png
    151.7 KB · Views: 316

EyeBar

Cadet
Joined
Jul 8, 2023
Messages
3
It all seems so obvious after a nights sleep... mistake is in step 12. The path to the library from inside the Kubernetes environment isn't the host native path.

k3s jail path /data/ => host path /mnt/hdd-pool/media/

Needed to set Folder in step 12 to that k3s path.
 

kyllo34

Cadet
Joined
Feb 29, 2024
Messages
1
Hello there, sorry to revive an old thread but im having trouble adding my tv shows and movies libraries from my other pool to plex. Im new to Truenas so any help would be greatly appreciated. Attached are screenshots of my config
 

Attachments

  • Screenshot 2024-02-29 074629.png
    Screenshot 2024-02-29 074629.png
    46.2 KB · Views: 103
  • Screenshot 2024-02-29 074610.png
    Screenshot 2024-02-29 074610.png
    57.2 KB · Views: 107
  • Screenshot 2024-02-29 074745.png
    Screenshot 2024-02-29 074745.png
    47.6 KB · Views: 96

MichaelN

Cadet
Joined
Feb 27, 2024
Messages
7
What do you mean by "having trouble"? In your last image, do you see the actual media files in the folder or are the folders empty?
Hello there, sorry to revive an old thread but im having trouble adding my tv shows and movies libraries from my other pool to plex. Im new to Truenas so any help would be greatly appreciated. Attached are screenshots of my config
 
Joined
Mar 11, 2024
Messages
1
Hello! JUST set up truenas to work with plex, followed all of your steps and when I load plex it doesn't give me the option to set-up my server. It just prompts me to download the software. Any ideas?
 

justdaboo

Cadet
Joined
Mar 12, 2024
Messages
2
I have exact the same issue as @EyeBar had, no lib content.

Running: TrueNAS-SCALE-23.10.2

I can select the folder from the pool, sometimes I even see some video files while browsing to the correct "films" folder. But after connecting a folder to a lib... no items found. I have installed everything 20 times, same result.

I used the standard option to use the Host storage and the Additional option, same result...

I have created the "plex" user and groups as mentioned in the topic start...


Screenshot 2024-03-12 at 16.18.15.png

Screenshot 2024-03-12 at 16.17.57.png
 
Top