Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plex EasyAudioEncoder

Featured Replies

Hello, after a lot of problems because of Windows and Unraid authorization I had to start from scratch on a lot of things. I have a problem with PLex and transcoding. I saw that the problems often came from the codecs and deleting the file allowed me to start again on a good basis. The problem is that Plex doesn't want to give me the "EasyAudioEncoder" folder and I think the problems come from here: screen. I tried to restart and even delete plex, nothing to do. Is there a way to manually put this folder? Sorry for my English.

Capture d'écran 2025-02-15 035430.png

  • Community Expert

its a known plex issue and plex is wokring on it...

 

 

This could also be folder permission based...

stop all docker run unraid docker safe permission...
 

  • Author

I also think there is an authorization problem. When I try to add a file directly to appdata/plexmediaserver/codecs I get an error message telling me that I don't have permission. However, I seem to have configured it well. Do we also need to do something on wondows?

Capture d'écran 2025-02-15 132052.png

  • Community Expert

your fighting samba share permission and unix permission...

you need to run chmod 777 -R and chown nobody:users -R in the plex folder on unraid...

  • Author

Can you give me the exact order please? Sorry I'm lost with the commands

Capture d'écran 2025-02-15 140947.png

  • Author

EasyAudioEncoder reappeared, but still a transcoding problem under Unraid with this message: Transcode runner appears to have died.

  • Author

Here are the error messages on Plex:

Capture d'écran 2025-02-16 030740.png

  • Community Expert

Steps:

image.thumb.png.47a8f5820fdebd7133508d9e7cae55c1.png

TURN OF DOCKER! NOthign running. Array mounted only! 

 

open the unraid web terminal:

image.png.3323fe87007167ab580df994e3df7eac.png

 

in the termianl you need to move into the folder where plex is located.

image.png.57fc9ba7f991ab2ac51ab79472f03509.png

 

Fix Permissions:

chmod 777 -R /mnt/users
chown nobody -R /mnt/users

You can run the above command to set and fix permission in unriads fuse /mnt/user array this will touch every file and set the correct permission...

when that has finished.
turn dockers back on...

Edited by bmartino1

  • Author

Hello bmartino1, I successfully carried out the manipulations, but still having problems

I even did a chmod -R 777 on the transcode folder

Capture d'écran 2025-02-17 032056.png

Capture d'écran 2025-02-17 032341.png

Capture d'écran 2025-02-17 032532.png

  • Community Expert

can plex reach the internet console the docker and run teh curl commadn against google

image.png.b11f2ad558315a1d2ebec90c835e8947.png

 

image.thumb.png.2cde998deca15175c16464e1431baff6.png

 

As Plex need to internet download some files for transcode...

*There are some known issues atm with the confi and tracode that plex is aware of and working on them...
Some users have reported sucess after deleting the codec folder and having plex redownload this fodler.

image.thumb.png.9a97c4417b77dd7fe6b3f5bcfb0f4c18.png

 

as seen here.



using nvidia... I don't have any issues with my local remote transcode....

Verify your settting per this post:

 

 

  • Author

Hello, I successfully performed the curl command on Google. I also saw the recent plex problems, but the codecs reappeared two days ago. I just noticed that if I take low bitrate files and I go through MANUAL transcoding it works every other time (never automatically) but the processor suffers enormously in addition to having buffering. And to make matters worse, I no longer have permissions to move files between my disks.

Capture d'écran 2025-02-17 104550.png

  • Author

Hello, I have partially solved my problem. I started again with a blank sheet of paper, but the problems continued to arise. I constantly have to delete the CODECS folder from the plex directory to get everything back in order. 

 

In addition to that, after each new downloaded file I have to use the UNRAID tool again for new permissions. 

 

I think the two problems are linked. I don't understand why UNRAID constantly changes permissions, any ideas?

  • Community Expert

your shouldn't have to keep deleting the plex codec folder. if you do this means you have a permission issue.

 

as this is noted and problematic as teh "EAC3 codec" error:

https://old.reddit.com/r/unRAID/comments/10grw9r/permanent_solution_to_replace_deleting_plex/

 

#!/bin/bash
#stop Plex container
echo "Stopping Plex" 
docker stop plex

#Wait before issuing Codec Folder delete
echo “Waiting 10 seconds before issuing Codec Folder delete” 
sleep 10s

#Deleting contents of codecs folder
echo “Deleting contents of codecs folder” 
rm -rf "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Codecs" 
sleep 3s

#Wait before issuing Start
echo “Waiting 5 seconds before issuing Start”
sleep 5s

#start Plex container
echo “Starting Plex” 
docker start plex

user plugin cron: cron code (30 3 * * *)

 

as it appears, this is something that may be plex side. Within the docker.

Which docker image are you using?

There are other bug reports with transcoding atm. Plex appears to break this a few docker updates and fixes them, then breaks them again. (It why so many have opted to move off plex and into jellyfin.)
 

 

This could also be nvidia removing driver support for older cards. i run the nvidia production branch from ich777, he has kept a v470 for pascal and older cards:

image.png.3a6dc2a46879f3aa96cd5c2b612602f3.png

 

I would drop back to that driver reversion just to test and rule out nvidia runtime.

to fix transcode issue my self I have readjusted my transcode needs and currently able to pull live OTA TV and watch them on plex via Transcode for tests:

image.thumb.png.fbc77bcb0f6e5b8bb01ab1243d923f44.png

https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/

 

Its worth a try.

  • Author

Hello bmartino1, yes I am also certain that it comes from an authorization problem. I doubt, however, that it comes from Plex. When I download with Qbittorrent the new files cannot be moved/deleted. I am once again forced to use the UNRAID re-permission tool. I use the official version, but I transcode using my processor.

  • Community Expert

Review: https://www.warp.dev/terminus/linux-file-permissions-explained

 

You need to fix your file permission and define who touches what where...

 

your dealing with misconfigurations and improper permission on who touched what where. with multiple dockers sharing a folder.

To fix you may need to edit or add variables to your dockers...
as qbit is setting folder permissions, that break permission for plex.
Likewise Plex is breaking permission set...
As default user group, calling and accessing the folder and files are misconfigured.
Some dockers at launch will set their own file permission for the docker abilty to read write... usually databases dockers.

It is important to have a correctly configured folder structure and file permission set. 

you may need to add a umask, pid and uid on all the conflicting dockers.
You will need stop all docker set permission on them once more and fix the docker permission for read write files.
You need to find out what user, group is touch what where and what permission they have...

Example add variable if not already in the tempate...
image.png.b1d47dc2fe23093ea98e08c35ea1e482.png

 

image.png.0e0f5d7eab60831610f8cc3a69243698.png

 

plex uses something similar (depending on template...)...
*Advance toggle. show more settings.
image.png.7b1771c66db9eae84bd1be234f859a6e.png

 

Ideal you would use user 99 for nobody group 100 for users and a umask of 022 that sets unix permissions to read via group/ world..

Lets review Linux file permission table:

 

permission to:  user(u)   group(g)   other(o)     
                /¯¯¯\      /¯¯¯\      /¯¯¯\
octal:            6          6          6
binary:         1 1 0      1 1 0      1 1 0
what to permit: r w x      r w x      r w x

binary         - 1: enabled, 0: disabled

what to permit - r: read, w: write, x: execute

permission to  - user: the owner that create the file/folder
                 group: the users from group that owner is member
                 other: all other users

 

image.png.239b3059db21233e1b783726a21eea3c.png

 

Dockers ideally use the group and world permissions. The docker runs as user root
the user nobody is essentially the equivalent guest user any user...
While user root is essentially the equivalent administrator user full access user...
 

 

 

Please fix your file permission and add the necessary variable to fix docker file access and permissions...

permission issues can also be within a docker console into the docker and poke around with the ls -a command and others to verify file access and permissions...

 

image.png.ecf8cfb3960223b191bfca10a680cb3d.png

Edited by bmartino1

  • Author

I checked the qbittorrent settings which I think are good (screen 1) But as you can see on the second screen I do not have full access to the recently downloaded files. Except for Californication, without knowing why...

 

I looked for Plex, couldn't find the umask variable so I added it manually. I don't know if I did the right thing?

 

tORRENT.png

Capture d'écran 2025-02-27 155256.png

Capture d'écran 2025-02-27 160017.png

Capture d'écran 2025-02-27 160409.png

Capture d'écran 2025-02-27 160435.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.