Permission issue with Sonarr and Transmission

Sonarr version (2.0.0.5228):
Mono version (5.12.0.301):
OS - Ubuntu 18.04 LTS:

Debug logs:

Import failed, path does not exist or is not accessible by Sonarr: /home/Downloads/complete/Mindhunter.S01E03.1080p.WEBRip.x264-SERIOUSLY[rarbg]

Description of issue:

Hi

I have set up Sonarr in a docker environment and paired it with Transmission. I have followed the guide in this link https://www.smarthomebeginner.com/docker-home-media-server-2018-basic/

My Sonarr Docker-Compose file is

  sonarr:
    image: "linuxserver/sonarr"
    container_name: "sonarr"
    volumes:
      - ${USERDIR}/docker/sonarr:/config
      - ${USERDIR}/Downloads/completed:/downloads
      - ${USERDIR}/media/tvshows:/tv
      - "/etc/localtime:/etc/localtime:ro"
      - ${USERDIR}/docker/shared:/shared
    ports:
        - "8989:8989"
    restart: always
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}

and my Transmission Docker-Compose file is

  transmission-vpn:
    container_name: transmission-vpn
    image: haugene/transmission-openvpn
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    restart: always
    ports:
    - "9091:9091"
    dns:
      - 1.1.1.1
      - 1.0.0.1
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${USERDIR}/docker/transmission-vpn:/data
      - ${USERDIR}/docker/shared:/shared
      - ${USERDIR}/Downloads:/data/watch
      - ${USERDIR}/Downloads/completed:/data/completed
      - ${USERDIR}/Downloads/incomplete:/data/incomplete
    environment:
      - OPENVPN_PROVIDER=NORDVPN
      - OPENVPN_USERNAME=username
      - OPENVPN_PASSWORD=xxxxxxxxx
#      - OPENVPN_CONFIG="YYYYYYYYYYY" 
      - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
      - LOCAL_NETWORK=192.168.1.0/24
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - TRANSMISSION_RPC_AUTHENTICATION_REQUIRED=true
      - TRANSMISSION_RPC_HOST_WHITELIST="127.0.0.1,192.168.1.0/24"
      - TRANSMISSION_RPC_PASSWORD=admin
      - TRANSMISSION_RPC_USERNAME=admin
      - TRANSMISSION_UMASK=002
      - TRANSMISSION_RATIO_LIMIT=1.00
      - TRANSMISSION_RATIO_LIMIT_ENABLED=true

Sonarr can send torrents to Transmission, and Transmission can perform the download.

Once the torrent is finished the file moves to the {USERDIR}/Downloads/complete

Once it is in that folder, Sonarr is unable to pick it up and move it to the {USERDIR}/media/tvshows

In the logs it is throwing out the following errors

Import failed, path does not exist or is not accessible by Sonarr: /data/completed/Sonarr/

I have the volumes set as per the guide, and have run

sudo setfacl -Rdm g:docker:rwx ~/docker
sudo chmod -R 775 ~/docker

to give the appropriate permissions to the subsequently created files.

I have mounted a network folder inside my media/movies and media/tvshows folder. In nautilus they have a locked icon - and are controlled by root. I did try using “sudo setfacl -Rdm g:docker:rwx ~/media”, but it spat out setback: /home/USER/media/movies/Star Wars: Operation not supported. Also the “sudo chmod -R 775 ~/media” didn’t appear to do much either.

Any suggestions on how to get Sonarr to access the data/completed volume?

Some things that have me confused, is that the guide has Transmission thinking the files are downloaded to an internal mapping of data/completed, where as sonarr is looking for the files under an internal map of “downloads” - do these need to be the same.

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