Getting Permission Error Trying to Get Plex Setup

Using the Latest version of Truenas Scale atm and trying to get Plex setup. I’m seeing the following error in the logs when it tries to deploy plex:

libc++abi: terminating with uncaught exception of type boost::filesystem::filesystem_error: boost::filesystem::create_directories: Permission denied [system:13]: “/config/Library/Application Support/Plex Media Server/Cache”, “/config/Library/Application Support/Plex Media Server/Cache”

I created a dataset for the media located at “/mnt/volume1/media” and a plex configuration storage path at “/mnt/volume1/plex-config” and I setup permissions so both of those datasets had read/write permissions for the user apps and also the group apps.

Any suggestions?

Looks like the user account plex is running under doesnt have permission to write to that directory, check perms?

I had permission issues recently when I was setting up my plex server, even though I thought* I had given full permissions to myself/main user account

I think I was manually trying to set permissions and doing it poorly,

I cant add any images atm but maybe I can describe it well enought, editing ACL permissions in the folder/dataset you want. Thers a box that says “use preset” and from the dropdox box I had to select “nfs_4open”, up to this I couldnt get plex to scan/find the files in the folder, even thought I* had acces and an smb share active that I couls copy/paste/delete files in the folder

May not be your issue but worth a try

It seems like I got beyond the problem but don’t understand why really. The error made it sound like it needed write permission but it already had it. For grins I gave it execute permission also and it worked, but seems fishy to me. Working on getting media setup now, but I think I have it under control. Thanks for both of your help.

1 Like