-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synocommunity Sonarr and NZBget permissions issues (seen an old post but could not resolve. #4271
Comments
Apparently Sonarr is using the folder /volume1/ Public/tv/ as an intermediate location for unrar. |
From putty Group Name: [sc-download] Group Type: [AUTH_LOCAL] Group ID: [65536] Group Members: 0: [nzb-admin] 1: [sc-nzbdrone] 2: [sc-nzbget] 3: [sc-radarr] |
Check if you still have an old DSM setting that inhibited the use of ACL's Do this for all your shares. |
Thank you for the feedback. I am on DSM version: DSM 6.2.3-25436 U2 (current) my NAS was set up less then a year ago. I did locate the settings and yes it is grayed out. |
Hello
(Other content and "command not found" is a consequence of a copy-paste into shell terminal of lines starting by "INFO" and "Wed") So it seems there is no permission issue to download file but to "Unpack" already downloaded archive ("Par: All files are correct, repair is not required") So I have a naive question: would it be possible there is no space left on volume where you have downloaded them? |
The volume has about 15 TB free, so that should not be the issue. I think the way it works is the download happen to the tmp directory (on the same volume) and the rar command is to the /volume1/Public/tv (specified by Sonarr) location and NZBget can not create the directory in that location for permission issues. If I upload a stand alone NZB to NZBget it will download and extract the file to /volume1/Public/Downloads/downloads with out issue. |
The log says : To my best knowledge ${AppDir} is pointing to /var/packages/nzbget/target/bin So it seem to me that this should be:
|
Thank you for the feedback, I posted I already have added that to the unrar command. |
Hi there! It looks like this issue has been open for some time without any recent updates. Since then, new version of NZBGet (v20220406-29) has been released which may have resolved this issue. Can you please test with the latest version and let us know if the issue persists? If we don't hear back from you in a few days, we'll assume the issue has been resolved and close this ticket. Thank you! |
For new Package Requests, see the guidelines
Setup
Package Name: NZBget, Sonarr
Package Version: 21 and 2.0.0.5344
NAS Model: 1019+
NAS Architecture: File shares
DSM version: DSM 6.2.3-25436 U2
Expected behavior
Sonarr passes an NZB to NZBget and the file should download and extract. Manual upload of an NZB file works correctly.
Actual behavior
If I do something through Sonarr it will send it to NZBget and download it but fails on the unrar (Unpack for file name here failed. Also shows Unrar error code: 9 and Could not create directory /Public/tv/file name here/_unpack: could not create directory). I added the switch "x -ai" no change.
Steps to reproduce
tested with a number of Sonarr added NZB files
I have my downloads directory set to admin (now but also tried sc-download) as owner. sc-download, sc-radarr, sc-nzbdrone, sc-nzbget all have rw to the download directory. I see on another post talking about owner = admin group = sc-download (I do not see the group option)
. I can tell by the errors it is a permissions issue just can not figure it out.
Package log
Other logs
E.g.
/var/log/messages
or/var/log/synopkg.log
The text was updated successfully, but these errors were encountered: