February 15, 20251 yr 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.
February 15, 20251 yr 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...
February 15, 20251 yr 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?
February 15, 20251 yr 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...
February 15, 20251 yr Author Can you give me the exact order please? Sorry I'm lost with the commands
February 15, 20251 yr Author EasyAudioEncoder reappeared, but still a transcoding problem under Unraid with this message: Transcode runner appears to have died.
February 16, 20251 yr Community Expert Steps: TURN OF DOCKER! NOthign running. Array mounted only! open the unraid web terminal: in the termianl you need to move into the folder where plex is located. 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 February 16, 20251 yr by bmartino1
February 17, 20251 yr Author Hello bmartino1, I successfully carried out the manipulations, but still having problems I even did a chmod -R 777 on the transcode folder
February 17, 20251 yr Community Expert can plex reach the internet console the docker and run teh curl commadn against google 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. as seen here. using nvidia... I don't have any issues with my local remote transcode.... Verify your settting per this post:
February 18, 20251 yr 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.
February 25, 20251 yr 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?
February 25, 20251 yr 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: 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: https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/ Its worth a try.
February 26, 20251 yr 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.
February 26, 20251 yr 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... plex uses something similar (depending on template...)... *Advance toggle. show more settings. 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 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... Edited February 26, 20251 yr by bmartino1
February 26, 20251 yr Community Expert review: https://trash-guides.info/File-and-Folder-Structure/How-to-set-up/Native/
February 27, 20251 yr 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?
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.