Mr.meowgi Posted August 18, 2022 Share Posted August 18, 2022 OS: unraid 6.10.3, issue started from 6.10 and was not existent on 6.9.2 Steps to reproduce: start a download from either sonarr or radarr Expected result: content automatically moves to the respected folder. Actual result: new downloads are set as owner UNKNOWN and within sonarr/radarr there is an error: " Couldn't import episode /data/downloads/sonarr/MasterChef.US.S12E12.1080p.WEB.h264-KOGi[rarbg]/MasterChef.US.S12E12.1080p.WEB.h264-KOGi.mkv: Access to the path '/data/downloads/sonarr/MasterChef.US.S12E12.1080p.WEB.h264-KOGi[rarbg]/MasterChef.US.S12E12.1080p.WEB.h264-KOGi.mkv' is denied." More details: I have followed the TRaSH Guide for unraid so I believe I should have the correct paths data ├── downloads │ ├── movies │ ├── music │ ├── radarr │ ├── sonarr │ └── tv └── media ├── movies ├── music └── tv here is a screenshot: I've been doing this manually ever since updating to 6.10.x changing each file ownership to nobody and then refresh sonarr/radarr resulting on the files being moved. but then I found a temporary fix from different posts onthe forum, reddit, and discord is to try "Docker safe new perms" and also "new permissions", what this does is only temporary, and it only affects current files, any other file downloaded from sonarr/radarr within "/mnt/user/data/downloads" will have UKNOWN as the owner. Any suggestions welcomed, maybe I missed something, or my paths got messed up? let me know if there is more information needed, thank you for taking the time to read all this! Quote Link to comment
JorgeB Posted August 18, 2022 Share Posted August 18, 2022 Some good info about that below: https://forums.unraid.net/topic/123901-plex-issues-upon-upgrade-to-6101/?do=findComment&comment=1138715 https://forums.unraid.net/topic/75436-guide-how-to-use-rclone-to-mount-cloud-drives-and-play-files/page/115/#comment-1140504 Quote Link to comment
Mr.meowgi Posted August 18, 2022 Author Share Posted August 18, 2022 (edited) 46 minutes ago, JorgeB said: Some good info about that below: https://forums.unraid.net/topic/123901-plex-issues-upon-upgrade-to-6101/?do=findComment&comment=1138715 https://forums.unraid.net/topic/75436-guide-how-to-use-rclone-to-mount-cloud-drives-and-play-files/page/115/#comment-1140504 Aren't these solutions the same thing as just running docker safe new perms or new perms? I tried to follow the instructions "fix2" from the second link you sent and created a user script for the user script plugin, but I get this error when I run it Quote "Script location: /tmp/user.scripts/tmpScripts/sonarr_permissions/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/sonarr_permissions/script: line 4: /mnt/user/appdata/sonarr: Is a directory" as for the first link you sent my appdata shows the correct folder permissions owner:nobody, running this command Quote sudo chown -R nobody:users /mnt/user/appdata/sonarr does nothing for me. i dont have plex so i assume i should do it to the arr folders? I don't know why it works for other people by just running the tools new perms and docker safe new perms but for me it only works for the current files and every new file will not respect the new permissions. Edited August 18, 2022 by Mr.meowgi Quote Link to comment
Spyderturbo007 Posted August 18, 2022 Share Posted August 18, 2022 (edited) I'm having the same issue having just upgraded to 6.10.3 from a 6.9 release if I remember correctly. I just noticed it today when I went to watch a TV Show and my Emby dashboard was full of random stuff. I was able to rename, copy and paste manually. Both SABnzbd and Sonarr are throwing all sorts of permission errors. Import failed, path does not exist or is not accessible by Sonarr: /tv/Animal.Kingdom.US.S06E11.1080p.WEBRip.x264-CAKES/. Ensure the path exists and the user running Sonarr has the correct permissions to access this file/folder Couldn't import episode /tv/Only.Murders.in.the.Building.S02E09.2160p.WEB.H265-GGEZ/0a5a4f09cbe744628f5f919a2948ebf5.mkv: Access to the path '/tv/Only.Murders.in.the.Building.S02E09.2160p.WEB.H265-GGEZ/0a5a4f09cbe744628f5f919a2948ebf5.mkv' is denied. Nothing has changed other than the upgrade to 6.10.3. Edited August 18, 2022 by Spyderturbo007 Quote Link to comment
Mr.meowgi Posted August 19, 2022 Author Share Posted August 19, 2022 19 hours ago, Spyderturbo007 said: I'm having the same issue having just upgraded to 6.10.3 from a 6.9 release if I remember correctly. I just noticed it today when I went to watch a TV Show and my Emby dashboard was full of random stuff. I was able to rename, copy and paste manually. Both SABnzbd and Sonarr are throwing all sorts of permission errors. Import failed, path does not exist or is not accessible by Sonarr: /tv/Animal.Kingdom.US.S06E11.1080p.WEBRip.x264-CAKES/. Ensure the path exists and the user running Sonarr has the correct permissions to access this file/folder Couldn't import episode /tv/Only.Murders.in.the.Building.S02E09.2160p.WEB.H265-GGEZ/0a5a4f09cbe744628f5f919a2948ebf5.mkv: Access to the path '/tv/Only.Murders.in.the.Building.S02E09.2160p.WEB.H265-GGEZ/0a5a4f09cbe744628f5f919a2948ebf5.mkv' is denied. Nothing has changed other than the upgrade to 6.10.3. Im glad im not alone on this, I just wish they would acknowledge this bug on the future releases. Maybe if more people with the same problem come out 1 Quote Link to comment
Spyderturbo007 Posted August 24, 2022 Share Posted August 24, 2022 On 8/19/2022 at 3:00 PM, Mr.meowgi said: Im glad im not alone on this, I just wish they would acknowledge this bug on the future releases. Maybe if more people with the same problem come out I downgraded to 6.9.0-rc2 and everything works now. i didn't have to do anything other than downgrade. As soon as the dockers came back up, they moved the files into the correct locations and deleted the temp folders. It required no interaction on my part. It's definitely an issue with 6.10.3. I did absolutely nothing other than upgrade which caused the problem and did nothing but downgrade which fixed the problem. Quote Link to comment
Mr.meowgi Posted August 24, 2022 Author Share Posted August 24, 2022 3 hours ago, Spyderturbo007 said: I downgraded to 6.9.0-rc2 and everything works now. i didn't have to do anything other than downgrade. As soon as the dockers came back up, they moved the files into the correct locations and deleted the temp folders. It required no interaction on my part. It's definitely an issue with 6.10.3. I did absolutely nothing other than upgrade which caused the problem and did nothing but downgrade which fixed the problem. I see, I am thinking about downgrading too but I don’t know what is the safest way to do it without losing my appdata. Quote Link to comment
ksp Posted October 3, 2022 Share Posted October 3, 2022 I'm having pretty much a similar issue. Not sure what the best way forward is. In 6.10.x I used to just change permissions myself (as part of my sync script), but now even that doesn't seem to work. Sonarr's MediaInfo cannot read the file and apparently does not have correct permissions for the directory. I am confused on what to do. 1 Quote Link to comment
Spyderturbo007 Posted October 28, 2022 Share Posted October 28, 2022 On 8/24/2022 at 12:56 AM, Mr.meowgi said: I see, I am thinking about downgrading too but I don’t know what is the safest way to do it without losing my appdata. @Mr.meowgi Have you found any resolution? I'm still on 6.9.0-rc2 and just thought I'd circle back around and see how you made out. Quote Link to comment
Quadrapole Posted November 30, 2022 Share Posted November 30, 2022 I have this problem too and I don't know how to fix as well Quote Link to comment
Frank1940 Posted November 30, 2022 Share Posted November 30, 2022 Try going to the Docker and look for the following three parameters, make a note of their current settings, and set them as follows: PGID 100 PUID 99 UMASK 000 Quote Link to comment
Mr.meowgi Posted December 27, 2022 Author Share Posted December 27, 2022 Hey guys sorry for the late update but unfortunately i have not found an easy way to fix this yet. Mind you ive not fixed it myself yet but i have found some information from a reddit post and to summarize it’s a problem with the New permissions tool being broken. On 10/27/2022 at 8:39 PM, Spyderturbo007 said: @Mr.meowgi Have you found any resolution? I'm still on 6.9.0-rc2 and just thought I'd circle back around and see how you made out. On 10/3/2022 at 10:17 AM, ksp said: I'm having pretty much a similar issue. Not sure what the best way forward is. In 6.10.x I used to just change permissions myself (as part of my sync script), but now even that doesn't seem to work. Sonarr's MediaInfo cannot read the file and apparently does not have correct permissions for the directory. I am confused on what to do. Quote Link to comment
Mr.meowgi Posted December 27, 2022 Author Share Posted December 27, 2022 On 11/30/2022 at 8:37 AM, Frank1940 said: Try going to the Docker and look for the following three parameters, make a note of their current settings, and set them as follows: PGID 100 PUID 99 UMASK 000 Tried this from within docker as well as the edit button on the docker page from unraid itself and it didn’t seem to work. Quote Link to comment
Spyderturbo007 Posted December 29, 2022 Share Posted December 29, 2022 Mine is still broken as well and I'm not getting much help in the forums. Quote Link to comment
bedpan Posted January 2, 2023 Share Posted January 2, 2023 Was having the same issues.. Saying that I have a fresh install or the 'arr' apps on unraid 6.11 (that has been upgraded many time over the last 7 years). Anyways I found your post on a google search and read the reddit that was linked to... I have not touched permissions at all trying to get things running. I fixed it tonight. I have Dynamix File Manager installed. I used it an went to the root of my download folder and media folder (both within 1 share) and reset the permissions using DFM. Next import worked just fine!! Again not the exact issue but maybe it will help? Quote Link to comment
Mr.meowgi Posted January 2, 2023 Author Share Posted January 2, 2023 17 hours ago, bedpan said: Was having the same issues.. Saying that I have a fresh install or the 'arr' apps on unraid 6.11 (that has been upgraded many time over the last 7 years). Anyways I found your post on a google search and read the reddit that was linked to... I have not touched permissions at all trying to get things running. I fixed it tonight. I have Dynamix File Manager installed. I used it an went to the root of my download folder and media folder (both within 1 share) and reset the permissions using DFM. Next import worked just fine!! Again not the exact issue but maybe it will help? Yup this is exactly what I do but instead to the new files that have UNKNOWN as the owner, I did it your way unfortunately any new other files still show up as UNKNOWN. Unless im doing it wrong? Is it selecting the download folder > owner button > new owner > nobody ? Quote Link to comment
bedpan Posted January 8, 2023 Share Posted January 8, 2023 On 1/2/2023 at 3:05 PM, Mr.meowgi said: Yup this is exactly what I do but instead to the new files that have UNKNOWN as the owner, I did it your way unfortunately any new other files still show up as UNKNOWN. Unless im doing it wrong? Is it selecting the download folder > owner button > new owner > nobody ? sorry for the slow reply.. I have just been hitting the permission's option on the destination folder, not the download folder. This resets the permissions in the destination to read/write.. I have not hit the ownership option. Quote Link to comment
Spyderturbo007 Posted February 26, 2023 Share Posted February 26, 2023 @Mr.meowgi Have you gotten anywhere with fixing the issue? I've been manually renaming and copying files that Sonarr can't move because of the permissions issue. I'm pulling out my hair. Quote Link to comment
JorgeB Posted February 27, 2023 Share Posted February 27, 2023 17 hours ago, Spyderturbo007 said: Have you gotten anywhere with fixing the issue? I've been manually renaming and copying files that Sonarr can't move because of the permissions issue. I'm pulling out my hair. See if this helps: https://forums.unraid.net/topic/131730-update-from-69-to-6115-and-got-permission-denied/?do=findComment&comment=1219731 Quote Link to comment
Spyderturbo007 Posted February 28, 2023 Share Posted February 28, 2023 Do I run that in the terminal window? Any chance of something blowing up running all those commands? Should I back anything up before running them? Thank you! Quote Link to comment
JorgeB Posted February 28, 2023 Share Posted February 28, 2023 1 hour ago, Spyderturbo007 said: Do I run that in the terminal window? Yes. 1 hour ago, Spyderturbo007 said: Any chance of something blowing up running all those commands? Should I back anything up before running them? Should be safe, but you should always have an appdata backup anyway. Quote Link to comment
Solution Mr.meowgi Posted March 18, 2023 Author Solution Share Posted March 18, 2023 Hello guys just wanted to update the thread as of the date of this comment i have found and fixed my issue, it was “RDT-CLIENT” docker ignoring PUID and PGID, more info on their github so my fix was to add both PUID and a PGID variables to the template and set those to the same IDs as my arr containers. 1 Quote Link to comment
Recommended Posts
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.