Sonarr on Synology DSM : Not importing


#1

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.


#2

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


#3

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


#4

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.


#5

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


#6

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.


#7

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


#8

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:


#9

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.


#10

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


#11

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.


#12

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:


#13

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

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


#14

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


#15

What do you mean ?


#16

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.


#18

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


#19

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.


#20

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


#21

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