Sonarr on Synology DSM : Not importing

Sonarr version (exact version): 2.0.0.5252
Mono version (if Sonarr is not running on Windows): 5.8.0.108
OS: DSM 6.2.1-23824 Update 1
Debug logs: http://pasted.co/cd7b7fd7
Description of issue: I’im using DSM Download Station to download files. It’s working, but downloads are not clear from DS history and downloads shared folder is not emptied. Any Idea ? Thanks.

We need debug logs of an attempted import to see what is happening.

Hi,

A new download today :

  • The episode has been downloaded
  • The error message in Sonarr/Activity :" * No files found are eligible for import in /volume1/Downloads/Titans.2018.S01E05.Together.1080p.DCU.WEBRip.AAC2.0.H264-NTb[rarbg]"
  • The file is in the download shared folder
  • The file isn’t in the TV show folder

The log : http://pasted.co/fcc39e0c

Thanks

The logs show a different error:

Import failed, path does not exist or is not accessible by Sonarr: /volume1/Downloads/Titans.2018.S01E05.Together.1080p.DCU.WEBRip.AAC2.0.H264-NTb[rarbg]

Meaning either that exact path doesn’t exist or Sonarr doesn’t have the permissions to access it.

I wasn’t sure.

So I had the Download Station shared folder (“downloads”) and tested again, here is the error message : " * Download wasn’t grabbed by Sonarr and not in a category, Skipping."

The log : http://pasted.co/dd332324

Thanks

Exactly what that message indicates, it’s not in a category and Sonarr doesn’t have a record of grabbing it. You need to be using a category and have the same category on the download for Sonarr to pick it up if it didn’t grab it.

Ok, thanks, I’ll add a dedicated folder in Download Station and as a category in Sonarr.

Maybe I didn’t understand how it works ? I created a dedicated folder /Downloads/Sonarr and I added the Category “Sonarr”.

Still the same issue : “* No files found are eligible for import in /volume1/Downloads/Sonarr/The.Terror.S01E08.1080p.WEB.H264-DEFLATE[rarbg]”

FI:

A (probably stupid) thought here; are the files archived (.rar) or unpacked? Unless DSM or 3.0 unpacks then Sonarr needs the files to be unpacked to be importable.

Or maybe I’m not awake yet.

They’re not archived, mainly .mkv, sometimes .nfo.

If the folder exists and there is a mkv or other video file then it’s likely the permissions on the files inside do not allow Sonarr to see the.

IIRC the user that Sonarr runs under on Synology is in the sc-media group so make sure it has read and write access.

What do you mean ? Trhere isn’t any group called “sc-media”, but “sc-download”, it’s empty. Checked on 2 NAS

The group :


The permissions:


The shared folder permissions:

I found this tuto : https://github.com/SynoCommunity/spksrc/wiki/Permission-Management

I don"t know what to do more ? Any idea ? Thanks

Sounds like something changed, perhaps in newer DSM versions.

That could impact Sonarr if it’s relying on that (something the maintainers of that package would need to fix).

Beyond that, the group would need access to the particular file; a parent’s permissions can differ, so you’d need to check those, either via ssh

What do you mean ?

ls -la
image

The file test is owned by one user/group, the folder it’s in (Shown as .) another and it’s parent (..) by another.

I don’t understand what you’re saying and I don’t know SSH, it’s Chinese to me. Are you saying that permissions can vary between a shared folder and the files in it? If so, the files are downloaded by DS, I can’t set the permissions for those files.

Any idea of where to check for permissions ? Thanks

Yes.

Perhaps not, but you’d need to find a way make sure the Sonarr user is in a group that has access, which was via sc-media before, but maybe sc-download now. It may be something that requires a package update for Sonarr (through whomever is maintaining it).

SSH will for sure, maybe File Station will work as well.

When you install the package, there is a message saying that the user group is now sc-download. I’ve checked on DSM, I’m not a DSM expert, but it should be ok. The only point is this user group is empty…

Do you know is doing this ? Thanks

That has to do with how the user is created, it’s effectively hidden from the UI, for whatever reason.

It’s part of https://github.com/SynoCommunity/spksrc