NZBDrone / Sonarr is an automated TV show manager and searcher. It will find and send TV episodes to your preferred download application. As a newcomer NZBDrone has an impressive amount of features that a more mature application like Sickbeard is missing. It is recommended to use a mono 3.6 or newer.
Set up credentials
Create a system user account that NZBDrone / Sonarr will run under.
sudo useradd -r -s /bin/false -m sonarr
Create a group that NZBDrone / Sonarr will run under.
sudo groupadd media
Change the primary group of the sonarr user.
sudo usermod -g media sonarr
Verify that the group has been added correctly.
Install NZBDrone / Sonarr
Add NZBDrone / Sonarr repository to your software sources.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC echo "deb http://apt.sonarr.tv/ master main" | sudo tee /etc/apt/sources.list.d/sonarr.list
Update the package list.
Compile & Install Mono 3.6.0 or newer.
sudo apt-get install nzbdrone
Set the ownership to the user and group Sonarr will run as.
sudo chown -R sonarr:media /opt/NzbDrone
Set permissions to grant full access to NZBDrone / Sonarr user.
sudo chmod -R 755 /opt/NzbDrone
Run NZBDrone / Sonarr manually.
sudo mono /opt/NzbDrone/NzbDrone.exe
Access NZBDrone / Sonarr in your browser on the the current IP address and default port
8989. For example http://192.168.0.100:8989/.
Run NZBDrone / Sonarr at Startup
Open or create a new upstart configuration file for NZBDrone / Sonarr.
sudo nano /etc/init/sonarr.conf
Copy the script and save the configuration file.
description "NZBDrone / Sonarr upstart script" author "DominicM @ dominicm.com" # Run as user setuid sonarr # Run as group setgid media # When to start the service start on runlevel  # When to stop the service stop on runlevel  #Automatically restart process if crashed #respawn # Start the process script exec mono /opt/NzbDrone/NzbDrone.exe end script
Note if respawn is enabled the automatic updates will fail to install.
Run Sonarr with upstart.