Plex. " conversion failed. a required codec could not be found "

Hello every one

I really hope you can help me, i am very new at TrueNas its been few months since i build a new computer to try this system and i have some issues with plex.

My brother gets this message when he tries to play media from my server at his house " conversion failed. a required codec could not be found " I have never had this error before and i am struggelig to find a solution through google.

He can see my liberys and sever, but when he wants to play a media he gets this message. I am kinda possitive i am missing something i need to do, i just dont have a clue what it is.

My hardware :

My motherboard is a Topton NAS Motherboard N6005 and i am running Dragonfish-24.04.2 and plex is installed through TrueNas charts and is running version 2.0.9

Please say if you need more info, i dont know what else i need to provide at this moment. I am also a bit in doubt if this is the right category i am asking

Thanks in advance for any assistance you can provide me.

The problem is probably on the client side. The client seems to be missing support for the codec to decode the video or audio. Either the server needs to transcode or another client that handles has the codec is needed. I would suggest asking this on s Plex forum as this isn’t really connected to truenas, you would probably get more help there.

1 Like

Hello and thank you for replying

it accutally helps me that you suggest plex forum, i will try there since it sounds like a plex problem, i just assumed i was missing something in truenas to enable this.

Have a really nice day :smiley: you helped a lot.

1 Like

No problem, glad to help.

it is very likely that you need to give the Codecs directory in executable permissions

Plex (for some convoluted and very inconvenient reason) does not include the transcoder needed to convert TrueHD and EAC3/DD+. instead it downloads the required files and executes them on encountering a media file where it’s required.

depending on how your permissions are set on that zfs dataset it probably can’t give the file execute permissions from the container (this is a GOOD thing, leave it that way), you should just chmod +x the codecs directory from outside the container.

Okay now we are in the area i am very new at :smiley: what can i screenshot to bring clearity to see if i need to do more? i have done permissions kinda by youtube guide and a bit by random.

use the SSH (or the web terminal), using your user (if it has permission) or the admin/root user if not.

navigate to the Plex ‘Configuration’ Directory you have made (I hope for your sake you didn’t choose ix-volume), navigate a few layers deeper until you are in Library/Application Support/Plex Media Server you should see a Codecs directory, run chmod +x Codecs/ to give that directory the ability to execute binaries.

if you did choose ix-volume, you’ll need to traverse the ix-applications dataset to find where it is buried.

if you get an error still when trying to give execute permissions to that directory, you should check the dataset properties on the WebUI’s Dataset page, choose “Advanced Settings” and check that the “exec” option is set to on.

Hello again and thank you for your input.

I am reading what you are sugesting but i can see i really dont understand what i need to do, can you guide med to a tutorial for dummies of some sort? because i have been clicking around and trying to google for 2 hours and got squad idea how to move forward and trying to give execute permission at this point.

Ohhh okay now after my latest reply i just clicked in dataset for plex_config, i marked advanced options and no one was of the groups was marked with execute.

I just added execute and will not reboot my server, could it be that execute was missing?

1 Like

changing the permissions via the GUI should accomplish the same thing, albeit for the entire dataset instead of just the Codecs directory. the “Advanced settings” menu I was referring to is found under the “Edit” button, on the dataset WebUI page. you still will want to check that the dataset has ‘exec’ set to on (this is what I had to troubleshoot 2 years ago, when I set up my scale box. and it was trial-and-error to find the fix)

you shouldn’t need to reboot your server after this. you might want to stop and start your Plex container, but it should work after you do the permissions change if this was your issue.

Ahh i misunderstod but your guidence confirms my “bright” asumpison did not change a thing, i will look into the dataset for the codecs folder later to day an hope this is the fix :smiley:

You Guys are true gem! I made account on forum just to reply you guys. I had the same problem except I could not play .MKV files on my local servers. All I did was Strip ACL permission to my config and transcode data set (Yes I kept separate dataset for transcode) and it came to default Read, Write Execute permission to user and Group. And it Worked!

Now I need your help to setup my server outside my home network.

Trunas version - ElectricEel-24.10.0.2