20
submitted 4 days ago* (last edited 4 days ago) by marighost@piefed.social to c/selfhosted@lemmy.world

Edit: Solved! Thanks a ton non_burglar.

Good day selfhost gang!

I'm redoing my media stack and I've come across a conundrum that I can't solve on my own. I've got Docker containers on the same Debian machine for qbittorrent, sonarr, and radarr for automatic media downloading. The problem is, as you may have guessed from the title, I need to implement remote path mapping in sonarr/radarr because qbittorrent downloads to a different location than where my media files are hosted. My media is hosted on a network share, mounted at /home/marighost/gilashare/media (which is further broken into subfolders for media types). On this machine, however, I've got my qbittorrent downloading to a 2Tb SSD at /srv/data/torrents. Here are the volumes as presented in my compose.yml files:

qbittorrent:  
    volumes:  
      - /home/marighost/docker/seedbox/gluetunconfig:/gluetun  
      - /home/marighost/docker/seedbox/qbittorrentconfig:/config  
      - /srv/data/torrents:/data/torrents  

sonarr:  
    volumes:  
      - /home/marighost/docker/arrstack/sonarrconfig:/config  
      - /home/marighost/gilashare/media:/tv  
      - /srv/data/torrents:/data  

radarr:  
    volumes:  
      - /home/marighost/docker/arrstack/sonarrconfig:/config  
      - /home/marighost/gilashare/media/movies:/movies  
      - /srv/data/torrents:/data  

All three applications work mostly as expected (radarr can grab a release from an indexer, throws it into qbittorrent to download), but it does not move media into the /gilashare subfolder.

Obviously, I get the error in both sonarr and radarr that tells me: You are using docker; download client qBittorrent places downloads in /data/torrents but this directory does not appear to exist inside the container. Review your remote path mappings and container volume settings.

Here is how my remote path mapping looks in the settings of sonarr/radarr:

Host: qbittorrent  
Remote Path: /srv/data/torrents/  
Local Path: /data/  

I was messing around with radarr initially, and also tried appending /movies to the ends of the Remote and Local paths to see if it needed the full path, but that didn't seem to work either. I've also read through Trash Guides, but the information there seems outdated (all references to images are just... not there). I've also read radarr's docs, but I feel like I'm missing something, and they just link to Trash Guides anyway.

Thanks for reading, happy to dig into my configs or setup more if necessary.

you are viewing a single comment's thread
view the rest of the comments
[-] marighost@piefed.social 2 points 4 days ago

Thanks for the reply. I believe I have permissions set correctly, as qbit was the first thing I set up and had to fiddle with permissions under the /srv/data/torrents folder to test if downloads worked.

I understood "remote path mapping" to also include filesystems on other machines, even if it's a LAN connection. Maybe that's true? because I simple changed the Remote Path mapping in radarr from /srv/data/torrents to just /data/torrents, and the movie I had sitting in the queue (which successfully downloaded from radarr to qbit, just didn't move from qbit to media) moved to my media folder upon restarting radarr.

I knew it had to be simple. Thank you, and I hope you have a great week!

[-] non_burglar@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

No worries, and I'm glad it helped!

I'll add that I was also mystified by the remote path option for a long time, I think the wiki should show more clearly what this does and maybe an example.

Also, I used to run into issues of running into permissions errors because the download client wrote the files with the wrong permissions. Many nzb and torrent clients have a POSIX masking option that allows you to set the permissions at the time of writing.

[-] plantsmakemehappy@lemmy.zip 1 points 4 days ago

You said radarr, sonarr, and qbit are all on docker on the same host, right? The correct fix is to remove the remote path mapping and fix the volumes for the arrs to be /srv/data:/data or /srv/data/torrents:/data/torrents.

Your path for /tv should also be more like radarr has, where instead of the host path ending in media, it should end in media/tv

this post was submitted on 20 Oct 2026
20 points (95.5% liked)

Selfhosted

63189 readers
262 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS