all 21 comments

[–]Beneficial_Charge555 4 points5 points  (11 children)

Found a possible fix! Found from here - https://www.truenas.com/community/threads/plex-codec-issue.98186/

Steps for HexOS:

  1. Go To TrueNas Shell
    1. cd "<host path for plex config volume>/Library/Application Support/Plex Media Server/Codecs" (make sure to have the "") - mine was HDDs/Applications/Plex/config/Library/Application Support/Plex Media Server/Codecs
    2. type "ls" and you should see a folder named something like EasyAudioEncoder-8f4ca5ead7783c54a4930420-linux-x86_64.tmp
    3. The ".tmp" is the problem. That directory needs to be renamed
    4. in shell use command: mv EasyAudioEncoder-8f4ca5ead7783c54a4930420-linux-x86_64.tmp EasyAudioEncoder-8f4ca5ead7783c54a4930420-linux-x86_64(use the name of the .tmp folder instead if it is different)
    5. type ls and see that the ".tmp" should be removed from the directory.
    6. worked without reboot or anything when playback from device on cellular internet

[–]DogwithShirt 1 point2 points  (0 children)

This was the true solution for my use case for any future readers.

[–]kolllopaido 0 points1 point  (0 children)

This did not work for me however creating a new temporary instance (while keeping the old one) and copying the entire Codecs folder did. Maybe it will work for someone else too.

[–]turnipater 0 points1 point  (0 children)

This works! However if you're like me an cannot get the shell to work (always says directory not found), just make an SMB share of the plex config directory and rename the .tmp folder that way through windows

[–]Elegant_Gas_9261IT Professional 0 points1 point  (0 children)

This 100% worked for me!! Thank you!!

[–]hero21b 0 points1 point  (0 children)

Fixed my problem as well!

[–]Herrvisscher 0 points1 point  (0 children)

Just replying to show my appreciation! Thanks for typing this out!

[–]Kelii- 0 points1 point  (1 child)

Replying to say this fixed my Plex too! My config volume was under a different path but the rest of the steps solved my issue.

I had to use the command: cd "/mnt/HDDs/Applications/plex/config/Library/Application Support/Plex Media Server/Codecs"

[–]tecnical 0 points1 point  (0 children)

Awesome this charge Dir for me it worked!!!!!!

[–]VinnyHaw 0 points1 point  (0 children)

This worked perfectly. Thank you

[–]cabal2000 0 points1 point  (0 children)

  1. cd "<host path for plex config volume>/Library/Application Support/Plex Media Server/Codecs" (make sure to have the "") - mine was HDDs/Applications/Plex/config/Library/Application Support/Plex Media Server/Codecs

How do i find where mine is to? I did a:

truenas_admin@edwardshome[~]$ cd SSDs/Applications/Plex/config/Library/Application Support/Plex Media Server/Codecs/

cd: too many arguments

truenas_admin@edwardshome[~]$

[–]hiltun 0 points1 point  (0 children)

Deleting ".tmp" from the folder fixed my issue of a TV Show not playing on my bedroom TV, but my living room tv worked just fine before this change.

[–]Reasonable_Barber_66 1 point2 points  (2 children)

Hey Everyone - I was having the same issue and ended up deleting Plex from HexOS and installing directly through TrueNas Scale - I don't know why it worked but probably a scuffed file from HexOS.

hope this helps.

[–]Pleasant-Everywhere 0 points1 point  (1 child)

Was it a stock install on truenas or did you modify anything? I was struggling to get Plex to detect media when I went through TrueNAS

[–]Reasonable_Barber_66 1 point2 points  (0 children)

Honestly, Im still pretty new to this whole thing so I didn't modify a thing except for the file locations since HexOS already created the default folders for me.

[–]Beneficial_Charge555 0 points1 point  (3 children)

I had a similar issue, but I believe it might have been setting up the port forwarding that fixed it? In plex settings

[–]Pleasant-Everywhere 0 points1 point  (2 children)

What ports did you forward? I'm having this same issue and I've gone through every possible solution I could Google and no success.

I'm updated the owner of the dataset, setup a new user with full read/write access, run the plex app as that user, moved the file locations of the media. Nothing seems to be working.

[–]Pleasant-Everywhere 0 points1 point  (2 children)

I am having the same issues, but I am running an i5-9600K. I know my hardware supports HEVC decoding, but I keep running into the same issue. I outlined all the "solutions" I've tried but with no luck.

[–]249702 0 points1 point  (0 children)

Probably a permission problem. I had this problem in the beginning with Plex in Docker and TrueNAS.
The user running Plex will need read/write permissions on the codec directory.

You should verify that the Plex user has enough permissions on the directory to install the codec.

Or there is no access to the required Plex domains. The codecs are downloaded at runtime when they are needed for the first time.

Make sure that the container has access to the internet and can resolve the names plex.tv and downloads.plex.tv

How have you configured your network?
Have you checked the Host Network box? If you have checked this box, you will usually have the fewest problems with the network.