brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Remote Path Mappings in Sonarr and Radarr: when you need them and when you don’t

Remote Path Mappings in Sonarr and Radarr: when you need them and when you don’t

Guide sonarr

10 steps 9 min read

Remote Path Mappings have a reputation for being confusing, and I think that is because most people add one when they should not. In my experience of running Sonarr and Radarr in Docker, if you need a mapping on a single server, something else is off. Here is what the setting really does, the cases where it is the right tool, and the fix for everything else.

Time
9 min
Steps
10
Updated
26 Nov 2026

You will learn

  • What it actually does
  • When you do need one
  • When you do not
  • The Docker fix
  • How to check that it works

Step 1 of 10: What it actually does

A Remote Path Mapping is a find and replace. Your download client tells Sonarr where a finished download is, using the client’s own idea of the path. If Sonarr cannot open that path, the import fails. The mapping swaps the client’s path for one Sonarr can open. That is all. It does not move files, and it does not make a folder visible.

It has three fields. Host is the hostname or IP of the download client exactly as it is typed in the client’s settings in Sonarr. Remote Path is the download folder as the client sees it. Local Path is the same folder as Sonarr sees it. You find it in Settings, Download Clients, at the bottom, under Add new mapping. Radarr has the same screen.

Sonarr does not look at your folders to decide whether a mapping is needed. It takes the reported path, and if it starts with the Remote Path of a mapping for that host, it swaps that start for the Local Path. Nothing smarter happens, which is why it is so easy to get wrong.

Cheat sheet of the three Remote Path Mapping fields: Host, Remote Path and Local Path, with an example and the Docker volume alternative

Step 2 of 10: When you do need one

TRaSH Guides names the cases: Sonarr and the download client run on different systems, you use a merged local and remote setup such as mergerfs, or you run Docker without consistent paths. The first is the proper use. Say the client runs on a seedbox or another machine and its downloads reach Sonarr through a network share. The client reports a path like /home/user/downloads/, and Sonarr sees the share mounted somewhere else, for example /mnt/seedbox/. A mapping connects the two.

You will usually recognise the need by the error in Sonarr: the download finished, but the import says the path does not exist or is not accessible. The Servarr wiki has a section in its troubleshooting pages for exactly these messages.

Say the client reports /home/user/downloads/Show for a finished download. With a mapping of Remote Path /home/user/downloads/ and Local Path /mnt/seedbox/, Sonarr looks for /mnt/seedbox/Show instead. Without the mapping it tries the first path, does not find it, and the import stops. The animation below plays both cases.

Animation: a download path travels from the download client to Sonarr, first failing without a mapping, then working when the mapping swaps the prefix

Step 3 of 10: When you do not

If the client and Sonarr run on the same Unraid box, in two containers, you want the opposite. Both of them should see the same files under the same path, and then there is nothing to translate. TRaSH Guides says to fix the root cause with consistent, well planned paths instead of leaning on mappings, and points to the Servarr Docker guide for it.

The mismatch is easy to build by accident. The client has /downloads mapped to one host folder. Sonarr has /tv and maybe its own /downloads that points somewhere else or nowhere. The client reports /downloads/tv/Show, and Sonarr has no such path. A mapping would cover it, but it would also keep every import on a copy and block hardlinks, as I explain in my hardlinks guide.

Step 4 of 10: The Docker fix

Give both containers the same host folder, mounted at the same container path. On Unraid I would use the one share layout from the TRaSH Guides: a data share on the host, mounted as /data in Sonarr and Radarr, with the client using /data/torrents or /data/usenet.

  1. Edit each container in the Docker tab, switch on Advanced View, and remove the extra download and media mounts.
  2. Add one path: container path /data, host path /mnt/user/data.
  3. In the download client, set its save paths to the folders under /data, for example /data/torrents/tv.
  4. In Sonarr, delete any Remote Path Mapping that is left. An old mapping that no longer matches can send imports to a path that does not exist.
  5. Run a manual import or wait for the next download, and check the queue.

A simple way to see the layout is the compose-style volume line, which has to be identical on the client and on Sonarr:

-v /mnt/user/data:/data

On Unraid you add this as a Path in the container template instead of typing it, but the two values are the same ones: host path on the left, container path on the right. The client and Sonarr only need compatible paths. When the path the client reports exists in Sonarr under the very same name, no mapping is needed.

Step 5 of 10: How to check that it works

Do not wait for the next episode to find out. Look from inside the containers, because that is the view that counts. Replace the container names with your own:

docker exec sonarr ls -la /data/torrents
docker exec qbittorrent ls -la /data/torrents

Both commands must list the same folders. If one of them says no such file or directory, the mounts differ and that is your answer. Next, open Activity in Sonarr or Radarr. A finished download that cannot be imported shows up in the queue with an orange icon, and hovering over it shows the reason. The Servarr troubleshooting page says import problems should almost always show up there, and that most of them are permission problems.

For the proof that hardlinks work, compare inode numbers after an import. The same number on the download file and on the library file means one file, two names:

ls -li /data/torrents/tv/Show/episode.mkv /data/media/tv/Show/episode.mkv
Radarr web interface with the left menu showing Movies, Calendar, Activity, Settings and System

Step 6 of 10: If you really need a mapping

Fill in the three fields carefully. The Host must match the client entry character for character. If a mapping seems to do nothing, the host is the first thing I would look at. Check the trailing slash too, and keep the case exact, because Linux does not forgive a capital letter. TRaSH Guides adds one tip for hotio containers behind a VPN: use the .internal name of the container, such as qbittorrent.internal, as the host.

The values come from two places. Host and the client’s download folder are in Settings, Download Clients, where you open the client entry. In qBittorrent the download location is under Tools, Options (or Alt+O), Downloads, as TRaSH Guides shows. A finished example for the seedbox case looks like this:

Host:         seedbox.example
Remote Path:  /home/user/downloads/
Local Path:   /mnt/seedbox/

The Servarr wiki gives a test for whether the mapping works: if the error message about a bad path does not contain the replaced value, the mapping is not doing what you expect. Its usual advice is to remove the mapping and add it again.

And remember what a mapping cannot fix: permissions. Sonarr has to be able to read the files at the local path, and if it is moving or hardlinking them it needs write access as well. A correct path with the wrong permissions gives you a very similar error message, so check both.

Step 7 of 10: Variants and edge cases

One mapping per client and host. If you have two clients on two machines, you add two mappings, each with its own host. The Host field is what keeps them apart.

Mixing Docker and native software is the other classic. The Servarr wiki says a mapping is possibly needed when you mix Docker and native clients, or use a remote server, and that it is rare when both apps are containers.

Radarr has the same screen. The setting is per app: a mapping in Sonarr does nothing for Radarr.

Step 8 of 10: Troubleshooting

The error says the path does not exist or is not accessible, and the path in it is the client’s path. That is the wiki’s example too: the folder does not exist inside Sonarr’s container. Fix: make the container see it, or map it.

The error still shows the client’s path after you added a mapping. The mapping did not match, so check Host, trailing slash and case. Remove and re-add it, as the wiki advises.

The error shows a path Sonarr can see, yet the import still fails. Now it is permissions. Both the download folder and the library folder have to be readable and writable for the user Sonarr runs as. The Servarr wiki suggests a shared group with folder permissions 775 and file permissions 664, which is a umask of 002.

Imports work but take long and use double the space. That is a copy where a hardlink should be. It is the sign of two separate volumes, which a mapping hides but does not cure.

Step 9 of 10: My advice

One server, one data root, no mappings. Different machines, one mapping per client, kept as small as you can. And if you ever catch yourself adding a mapping on a single Unraid box, stop and look at the container paths first: it is almost always the volumes. When you do keep a mapping, write down why, because in a year it looks like leftover magic.

Step 10 of 10: Where to go next

The reason a shared data root is worth the trouble is hardlinks, and I explain them in my hardlinks guide. The same setup is why I like healthchecks on the containers, which I cover in my Docker Compose healthcheck guide.

Further reading

Link