Sonarr not moving completed files (not a permission issue)

Sonarr version (exact version): 3.0.9.1549 ( 3.0.9.1549-ls170 by linuxserver.io)
Mono version (if Sonarr is not running on Windows): 6.12.0.182
OS: Synology DSM
Debug logs: [Error] DownloadedEpisodesImportService: Import failed, path does not exist or is not accessible by Sonarr: /downloads/Breaking Bad S01. Ensure the path exists and the user running Sonarr has the correct permissions to access this file/folder
Docker-compose file:

version: '3.9'
services:
################ SONARR ################
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1034 
      - PGID=100 
      - TZ=${GB_TZ} # timezone, defined in .env
    volumes:
      - /volume1/docker/sonarr:/config
      - /volume1/media/animes:/data/tv/animes #optional
      - /volume1/media/series:/data/tv/series #optional
      - /volume1/media/torrent:/data/tv/downloads #optional
    ports:
      - 8989:8989
    restart: unless-stopped
    network_mode: bridge

############### JACKETT ################
  jackett:
    image: lscr.io/linuxserver/jackett:latest
    container_name: jackett
    environment:
      - PUID=1034 
      - PGID=100 
      - TZ=${GB_TZ} # timezone, defined in .env
      - AUTO_UPDATE=true #optional
    volumes:
      - /volume1/docker/jackett:/config
      - /volume1/media/torrent:/downloads
    ports:
      - 9117:9117
    restart: unless-stopped
    network_mode: bridge

################ DELUGE ################
  deluge:
    image: linuxserver/deluge:latest
    container_name: deluge
    environment:
      - PUID=1034 
      - PGID=100 
      - TZ=${GB_TZ} # timezone, defined in .env
    volumes:
      - /volume1/media/torrent:/downloads # downloads folder
      - /volume1/docker/deluge:/config # config files
    ports:
      - 8112:8112 #web UI
      - 58846:58846 # bittorrent daemon
    restart: always
    network_mode: bridge

############# FLARESOLVERR #############
  flaresolverr:
    image: ghcr.io/flaresolverr/flaresolverr:latest
    container_name: flaresolverr
    environment:
      - LOG_LEVEL=info
    ports:
      - 8191:8191
    restart: unless-stopped
    network_mode: bridge

Description of issue:
Sonarr does not move any completed files after Deluge downloaded them.
I’m pretty sure about my permission settings (prove me wrong I’m begging), after running my docker-compose command I did this :

sudo chown -R docker:users /volume1/media /volume1/docker
sudo chmod -R a=,a+rX,u+w,g+w /volume1/media /volume1/docker

And I correctly set PGID and PUID for my docker user.

So I was able to select root folders with sonarr (without valid permission I wouldn’t be able to) :
2022-12-21_16-08-35

I’ve made the choice to name my host folders and my dockers folders differently so I can debug more easily (don’t know if it’s a problem, since they’re just mounted folder), so for my host, processing/complete files will be in volume1/media/torrent and in /downloads for my dockers (deluge, jackett and sonarr, see my docker-compose) :
2022-12-21_16-18-33

Deluge config : (I’m not using incomplete/complete folder)
2022-12-21_16-05-04

Jackett config :

What I do when I want to get a show :

When I look at my TV show folder (here breaking bad S01) the owner is docker, the same user that’s running sonarr.

If we look at the error :
Import failed, path does not exist or is not accessible by Sonarr: /downloads/Breaking Bad S01.

It gives /downloads/Breaking Bad S01 and I’m not sure what the /downloads folder is.
I know that /volume1/media/torrent (host), /downloads (for deluge) and /data/tv/downloads (for sonarr) are the same folder. But what if /downloads without /data/tv was unknown for sonarr ?

I’ve been trying for weeks, have read a bunch of tutorials and have reset my nas a lot in order to always start fresh and it’s still not working…

Any help is appreciated ! I’ll be happy to give you more info and sorry for my poor english.

First off, fix your volumes, right now every import is going to duplicate the files because they are on different volumes.

Sonarr should have a single volume so instead of:

- /volume1/media/animes:/data/tv/animes #optional
- /volume1/media/series:/data/tv/series #optional
- /volume1/media/torrent:/data/tv/downloads #optional

Just add:

- /volume1/media:/data/tv

In Deluge you want the single volume mounted there to be:

- /volume1/media/downloads:/data/tv/downloads

And set Deluge’s path to the same.

/downloads comes from Deluge and then Sonarr tries to import from that exact path, it doesn’t know what it means.

Worth reading this guide as well, it explains a lot of these things. Synology - TRaSH Guides

1 Like

Thank you for that quick answer !

And set Deluge’s path to the same.

so /data/tv/downloads goes in the downloads tab of Deluge’s settings ?

I’ll try that.

What about Jackett (if you know about it) ? I’ll try to set Blackhole Directory as the same as Deluge.

I had already read Trash’s Guides, it helped me about permissions issues but it still left me with questions about volumes.

Anyways thanks a lot, I’ll try to edit my setup/restart everything

Why would you need a blackhole indexer/directory?

Why would you need a blackhole indexer/directory?

Because in most tutorials they put a blackhole directory and I thought it was helping Deluge to know where to look but it seems not.

Anyways here’s my docker-compose file now :

version: '3.9'
services:
################ SONARR ################
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1034 
      - PGID=100 
      - TZ=${GB_TZ} # timezone, defined in .env
    volumes:
      - /volume1/docker/sonarr:/config
      - /volume1/media:/data/tv
    ports:
      - 8989:8989
    restart: unless-stopped
    network_mode: bridge

############### JACKETT ################
  jackett:
    image: lscr.io/linuxserver/jackett:latest
    container_name: jackett
    environment:
      - PUID=1034 
      - PGID=100 
      - TZ=${GB_TZ} # timezone, defined in .env
      - AUTO_UPDATE=true #optional
    volumes:
      - /volume1/docker/jackett:/config
      - /volume1/media/downloads:/data/tv/downloads
    ports:
      - 9117:9117
    restart: unless-stopped
    network_mode: bridge

################ DELUGE ################
  deluge:
    image: linuxserver/deluge:latest
    container_name: deluge
    environment:
      - PUID=1034 
      - PGID=100 
      - TZ=${GB_TZ} # timezone, defined in .env
    volumes:
      - /volume1/media/downloads:/data/tv/downloads
      - /volume1/docker/deluge:/config # config files
    ports:
      - 8112:8112 #web UI
      - 58846:58846 # bittorrent daemon
    restart: always
    network_mode: bridge

############# FLARESOLVERR #############
  flaresolverr:
    image: ghcr.io/flaresolverr/flaresolverr:latest
    container_name: flaresolverr
    environment:
      - LOG_LEVEL=info
    ports:
      - 8191:8191
    restart: unless-stopped
    network_mode: bridge

And I changed deluge /downloads to the same path as my docker-compose /data/tv/downloads

Everything is running and working for TV shows :slight_smile:

Now it’s time to bang my head to the closest wall and try to make it works for TV Shows with subtitles and animes, from what i’ve seen it’s quite a job.

Thank you for your help ! I’ll mark this post as solved

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