Server Version#:11.2-release-p14
Freenas version#:11.2-U6
Hi.
Just install a fresh version of freenas and now try to install plex. Server is running but I cant access any file from ma shared libraries. For example, if I make /media my destination folder, I can see it in the list when I try to add it inside plex GUI, but it have the file icon, is on the bottom of the list and is shaded.
Even if I enter the directory manually, the scan reveal nothing
the jail is set to:
source: /mnt/Backup/NitrofNaS/entertainement-share
destination: /mnt/Backup/iocage/jails/plex/root/media
Thank
Nitrof
You need to mount the share so that it is accessible to Plex. I use the following command in my setup:
iocage fstab -a plex /mnt/jupiter/media /mnt/media nullfs rw 0 0
iocage fstab -a plex /mnt/Backup/NitrofNaS/entertainement-share /media nullfs rw 0 0
is the best I got for the destination to work, try to make the complete path I got the response :destination does not exist.
For the source, I just copy paste the addresse built from the one mounted, that should be good ? isnt it ?? but it still return source does not exist.
NitrofNas is the first folder of the share, is that better I choose it ?.
In FreeNAS did you add a dataset under Storage -> Pools for media?
I’m not shure to understand your question. I have a data set, the file is accessible in smb share.
Okay, so it sounds like you created a dataset for your media share. You’ve also made the dataset accessible to other devices on your network via SMB, great.
Now you need to make the media dataset accessible to Plex. To do this you can browse for and add the media dataset in the iocage configuration for Plex. Have you done this?
If you have done this then it sounds like you’ve configured things correctly. Something you could try when attempting to add media in Plex is make sure you browse up to root directory and select your media folder there. By default another media folder is shown which belongs to the Plex iocage instance and does not contain anything.
In all the youtube tutorials I’ve seen, they did not have to do that… How should I add permission to a iocage?
In FreeNAS go to Jails, click the 3 dots on your Plex iocage, and select Mount Points.
This step have been done. got the source:
/mnt/Backup/NitrofNaS/entertainement-share
destination: /mnt/Backup/iocage/jails/plex/root/media
May be a permissions issue then. In my configuration user ‘plex’ belongs to group ‘media’ allowing Plex to access media content. Check your permissions.
Try this from command line. Note, this should be run from FreeNAS, not from Plex iocage and assumes name of Plex iocage is ‘plex’. It also assumes ‘/mnt/Backup/NitrofNaS/entertainement-share’ dataset exists.
iocage -a plex /mnt/Backup/NitrofNaS/entertainement-share /mnt/media nullfs rw
If that executes without error, go to Plex settings and add library, browse to /mnt/media and select your movie folder.
error: no such option: -a
Apologies. Please try:
iocage fstab -a plex ‘/mnt/Backup/NitrofNaS/entertainement-share /mnt/media nullfs rw 0 0’
iocage fstab -a plex ‘/mnt/Backup/NitrofNaS/entertainement-share /media nullfs rw 0 0’
have to write /media for destination. but still, into the management, the /media folder keep beeing shaded, and files are not seen.
It is like the Jail do not set the permission…
The /media folder is is created by default when the iocage is created. That’s why you were able to find it and not find /mnt/media. In order to mount to /mnt/media (or any other directory of your choosing) you would need to first create that directory. This definitely a ownership/permission issues.
In my conifguration the my media dataset if owned by user media, group media. In my case when connected to Plex iocage I add user plex to group media such that it can access the media mounted at /mnt/media.
What user and group does your media dataset belong to?
it belong to group ‘shared’ and and 2 user.
Plex Jail did not create a user, so how it can link the user with the jail ?
All tuto I look did not set user with version 11.2, only older version.
Plex adds user ‘plex’ and group ‘plex’ during installation.
While connected to Plex iocage create the media directory, ‘mkdir -p /mnt/media’. Next, ‘chown -R plex:plex /mnt/media’.
Exit Plex iocage and execute, 'iocage fstab -a plex ‘/mnt/Backup/NitrofNaS/entertainement-share /mnt/media nullfs rw 0 0’.
Try adding library in Plex.
Since I know /media already exist, I tried:
chown -R plex:plex /media
it return:
chown: plex: illegal group name
Another strange thing, if I tr into the pool to edit the permission of the folder for plex group, I lost the permission on the group ‘shared’ for the windows user…
You can check users and groups for Plex iocage using the following commands.
For users:
pw usershow -a
For groups:
pw groupshow -a
I’m surprised there is no plex group in the Plex iocage. Did you perform a custom Plex installation?