Install NZBDrone / Sonarr on Ubuntu 14.04


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.

groups sonarr


Install NZBDrone / Sonarr

Add NZBDrone / Sonarr repository to your software sources.

apt-key adv --keyserver --recv-keys FDA5DFFC
echo "deb master main" | sudo tee /etc/apt/sources.list.d/sonarr.list


Update the package list.

apt-get update


Compile & Install Mono 3.6.0 or newer.


Install NZBDrone.

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


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 @"

# Run as user
setuid sonarr

# Run as group
setgid media

# When to start the service
start on runlevel [2345]

# When to stop the service
stop on runlevel [016]

#Automatically restart process if crashed

# Start the process
exec mono /opt/NzbDrone/NzbDrone.exe
end script

Note if respawn is enabled the automatic updates will fail to install.


Run Sonarr with upstart.

start sonarr