"Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available."
Connect to your slot through SSH.
Download Sonarr (also known as NzbDrone)
Master Branch (Recommended) wget http://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz Develop Branch wget http://download.sonarr.tv/v2/develop/mono/NzbDrone.develop.tar.gz
Extract the archive
tar xzvf NzbDrone*.tar.gz
Make a Sonarr/NzbDrone configuration directory
Make a Sonarr/NzbDrone configuration file
Open the configuration file in nano
Copy the contents of the box below into the ~/.config/NzbDrone/config.xml file, replacing any other configuration in the file
<Config> <Port>41512</Port> <UrlBase></UrlBase> <BindAddress>*</BindAddress> <SslPort>20756</SslPort> <EnableSsl>False</EnableSsl> <ApiKey></ApiKey> <AuthenticationMethod>None</AuthenticationMethod> <LogLevel>Info</LogLevel> <Branch>master</Branch> <LaunchBrowser>False</LaunchBrowser> <UpdateAutomatically>False</UpdateAutomatically> </Config>
If you are using the develop branch, replace
Save changes by pressing
Start Sonarr in a screen session running in the background
screen -dmS sonarr mono --debug ~/NzbDrone/NzbDrone.exe -c libcurl
Clean up your slot
Jackett works as a proxy between applications like Sonarr/Radarr and BitTorrent trackers.
See the Jackett installation guide here.
Your Sonarr web interface will be accessible at http://server.whatbox.ca:41512
It is strongly recommended to setup authentication on your Sonarr instance. You can do this in Sonarr's web interface under the Settings > General > Security options. Select
Forms (Login page) in the
Authentication dropdown box, followed by a username and password. You should not use your slot password here because the web interface does not use SSL. Click
Save in the top-right to save the configuration.
You can attach to your Sonarr screen session to monitor its output using
screen -r sonarr , and detach from it again by pressing
d and then
Connecting to rTorrent
Under Settings > Download Client, select to add a client with the + button and then select rTorrent. Enter the following information to connect to rTorrent:
Host: localhost Port: 443 URL Path: xmlrpc Use SSL: Yes Username: user Password: Your server password
Connecting to Transmission
You will need the Transmission daemon port from your Slot Info page.
Under Settings > Download Client, select to add a client with the + button and then select Transmission. Enter the following information to connect to Transmission:
Host: localhost Port: Daemon port as listed on your Slot Info page Username: user Password: Your server password
Connection to Deluge
You will need the Deluge WebUI address from your Slot Info page.
Make sure the Deluge WebUI has been enabled from the Settings link on your Manage page.
Under Settings > Download Client, select to add a client with the + button and then select Deluge. Enter the following information to connect to Deluge:
Host: localhost Port: 5 digit port from the end of your Deluge WebUI link, as listed on your Slot Info page. Password: Your server password Category: Leave blank if the Label plugin has not yet been enabled in the Deluge WebUI
mono-based applications are inherently unstable and prone to crashing. Below are steps to take to have your Sonarr instance automatically restart if it crashes, or if the server is rebooted.
Make a file to be used for the script.
Edit the file and enter the text below.
nano -w ~/sonarr_restart.cron
#!/bin/bash if pgrep -fx "mono --debug /home/user/NzbDrone/NzbDrone.exe -c libcurl" > /dev/null then echo "Sonarr is running." else echo "Sonarr is not running, starting Sonarr" screen -dmS sonarr mono --debug /home/user/NzbDrone/NzbDrone.exe -c libcurl fi exit
Save the file with
Enterto accept overwriting.
Make the script executable.
chmod +x ~/sonarr_restart.cron
Open your crontab.
EDITOR=nano crontab -e
Enter the following text at the end of the file.
@reboot /home/user/sonarr_restart.cron >/dev/null 2>&1 */5 * * * * /home/user/sonarr_restart.cron >/dev/null 2>&1
Save the crontab with
Enterto accept overwriting.