Sonarr (formerly NzbDrone) is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sorts and renames them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available. Tutorial showing the steps to set up Sonarr to automatically download, organise and find TV Show torrents using BitTorrent client uTorrent with Plex integra.
Volumes and Paths
There are two common problems with Docker volumes: Paths that differ between the Sonarr and download client container and paths that prevent fast moves and hard links.
The first is a problem because the download client will report a download's path as /torrents/My.Series.S01E01/
, but in the Sonarr container that might be at/downloads/My.Series.S01E01/
. The second is a performance issue and causes problems for seeding torrents. Both problems can be solved with well planned, consistent paths.
Most Docker images suggest paths like /tv
and /downloads
. This causes slow moves and doesn't allow hard links because theyare considered two different file systems inside the container. Some also recommend paths for the download client container that are different from the Sonarr container, like /torrents
.
The best solution is to use a single, common volume inside the containers, such as /data
.Your TV shows would be in /data/TV
, torrents in /data/downloads/torrents
and/or usenet downloads in /data/downloads/usenet
.
If this advice is not followed, you may have to configure a Remote Path Mapping in the Sonarr web UI (Settings › Download Clients).
Ownership and Permissions
Sonarr Setup
Permissions and ownership of files is one of the most common problems for Sonarr users, both inside and outside Docker. Most images have environment variables that can be used to overridethe default user, group and umask, you should decide this before setting up all of your containers.The recommendation is to use a common group for all related containers so that each container can use the shared group permissions to read and write files on the mounted volumes.
Keep in mind that Sonarr will need read and write to the download folders as well as the final folders.
Sonarr Download Client Setup
For a more detailed explanation of these issues, see The Best Docker Setup and Docker Guide wiki article.