Permission issues with Synology + Docker

Sonarr version (exact version): 2.0.0.5085
Mono version (if Sonarr is not running on Windows): 5.4.1.6
OS: Synology, Docker
Debug logs: error below
Description of issue:

Import failed, path does not exist or is not accessible by Sonarr: /volume1/downloads/<media-file-name.mkv>

I have a new Synology DS218+ that I plan to use for Sonarr, Plex and the Synology DownloadStation. Before purchasing, I thought that Sonarr was supported directly but it isn’t. I installed Docker on the Synology device and used the Linuxserver.io Docker image for Sonarr. When media files are downloaded via DownloadStation (which is linked to Sonarr as a download client), Sonarr fails to move the files to the other network share directory for Plex with the error above.

If I move the files manually via the docker containers terminal it works fine, and the docker container can access and write to all of the directories via terminal, so I assume this has something to do with the permissions of the user “abc” which Sonarr apparently runs on in the docker image, but I can’t find any useful info to help fix this problem.

– Synology DS218+ –
… Plex (Directly NAS)
… DownloadStation (Directly on NAS)
… Sonarr (via Docker container on NAS)

The docker container has the PUID and PGID set to the “admin” (1024) user and “administrator” (101) group which is the stock user/group on this Synology device.
PUID=1024
PGID=101

The container also has the volumes set as the following:

File — Mount Path — Type

tv — /tv — rw
download — /download — rw
docker/sonarr — /config — rw

It is my first time using a Synology device and I’m not super experienced with Docker containers.

Synology doesn’t let you map /volume1 to containers, so you’ll need to add a Remote Path Mapping in Sonarr to remap the remote path that download station reports to the path you set in the container to point to /volume1/downloads.

1 Like

Thanks a lot, that fixed the problem. I’ve never need to use that before so didn’t know what to look for.

1 Like

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