Trouble automatically moving files within Sonarr Docker container

Recently got Deluge and Sonarr working in Docker containers, but am having some real problems getting Sonarr to be able to automatically move the finished file into the media folder. I am reasonably sure this is some sort of mapping issue within Docker/containers, but am struggling (as a relative newbie to this area) to figure out what exactly. I was hoping someone here might be able to guide me.

I’ve set up the directory structure under /data as much as possible, and have gotten to the point where Sonarr can kick off a download to Deluge in the /data/downloads folder, and once finished, Deluge moves that file to the /data/downloads/completed folder. At that point Sonarr does see the file, but fails with this error: Import failed, path does not exist or is not accessible by Sonarr: /data/completed/FILENAME

I recognize that the /data/completed error path Sonarr put in the log isn’t the same as the /data/downloads/completed path I’ve set, hence my guess I’m missing something stupid around volumes/mapping. So, in the hope you all can help, I’ll summarize the path settings below:

On the Synology side, I have the following directory structure:
Screenshot_2019-10-25%20PANDORA%20-%20Synology%20RackStation

I created a DockerUser and DockerGroup and applied to /data and all subfolders, and also set the UID and GID for the Deluge and Sonarr containers to the the same.

The Deluge container has the following volume mappings:

And the Sonarr container has the following volume mappings:

Would hugely appreciate any input on what I’m doing wrong… feels like this is very close, but I’m just confused somewhere. Thank you!

the quick fix is to change data/downloads/completed = /downloads in the sonarr container to data/downloads = /data so that it matches the deluge container volume

or remove it from both and use the /volume1/data path you setup the same in both. ie if you config deluge to save into /volume1/data/downloads/completed then that path would exist in both containers as is.

long term youd probably be better off using that media share to put your downloads folders on as well so files can me moved, not copied. theres a couple of threads around about how to setup the folder structure for that to work

Doh - thank you! That was indeed one of the issues. I also found I had add a trailing backslash in a mapping in Sonarr.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.