Sonarr is a program available for OSX, Windows, and Linux that is used to automatically search TV shows, which are then sent to a torrent or newsbin client. This program is convenient for those, like us, that travel and do not have access to cable. We do not watch a lot of television however, when it rains, or we are feeling a bit under the weather, it is nice to just snuggle up in some blankets and binge watch one of our favorite series.
Some of Sonarr’s features include:
- A calendar to see all your upcoming episodes in one convenient location.
- Automatic searching to find releases you want and send it right to your download client.
- Automatic failed download handling to blacklist failed releases until another one is found that works.
Setting up Sonarr is really simple once you have Docker installed. If you’re on a Synology device, this can be done by going to Package Center > Settings > Package Sources > and adding “http://packages.synocommunity.com/”. Once that resource has been added, search the package center for Docker. Once Docker has been installed, navigate to the registry tab, and search for Sonarr. We prefer LinuxServer’s automatic builds. Once you find the one you would like, download it.
After it is done downloading, it will move into the Image tab. Launch the container to begin configuring it.
Start out by giving the container a name and then clicking Advanced Settings.
Within the Advanced Settings, Enable auto-restart, Create shortcut on desktop/web page. Use your servers IP address followed by the port number 8989.
Next setup the volumes. These folders all need to be created prior to setting up the container so that you can browse to them and then mount them. Click Add Folder to begin mounting each path. Use /config for Sonarr’s configuration files, /downloads for SABnzbd’s download folder where Sonarr will look for completed downloads to rename and move, and /tv for the location of the tv shows once Sonarr has renamed them.
Port settings are used to open the container within a browser. This should be left to the default value since Sonarr will be looking for this port. Local Port needs to be changed from Auto to the matching Container Port. If this is not done, your machine may use a random port each time and cause confusion.
Environment is where variable are set that are needed to allow the container to run. For the container to run properly and be able to access the directories created above, it must be given user permissions. To do this, use Putty or an equivalent program to SSH into your NAS to obtain the Personal User ID (PUID) and Personal Group ID (PGID) of the NAS.
Enter the IP address of your NAS in Putty, select the SSH radio button, and click Open.
Enter the login information for your NAS user account. You will not be able to see the password as you type it. Once logged in type ‘id’ without the quotes and this will show your UID (aka PUID) and the GID (aka PGID).
Put the IDs from the SSH session into the Environment tab as shown below. It’s also good practice to input the local timezone, as many containers need this to run. The timezone codes can be found here.
Now that the setup is complete, click ‘ok’ and the container will launch. Read about how to configure Sonarr here.