Home » Home Server » Install NzbDrone on Ubuntu in a few simple steps

Install NzbDrone on Ubuntu in a few simple steps

This post shows you how to install NzbDrone on Ubuntu, including 14.04 Trusty Tahr, as a SickBeard alternative. We have written numerous guides on SickBeard, including installation on Ubuntu and Windows, our famous 1-step installer, installation video, and Configuration. But NzbDrone (nka Sonarr) has been developing at a rapid pace and some have already started using NzbDrone as SickBeard replacement. NzbDrone’s moto is ‘cut the cord’ and like SickBeard, it has a great looking web interface that allows managing TV shows to provide an automated media center. So let us look at how to install NzbDrone on Ubuntu as a SickBeard alternative.

atomic-toolkit-logoLooking for an automated solution? Try our AtoMiC ToolKit, which makes installation and management of Home Server software such as SickBeard, CouchPotato, Torrent clients, etc. easy.

Install NzbDrone on Ubuntu

Before You Begin

For apps like SickBeard, SickRage, Sonarr, and CouchPotato, Usenet is better than Torrents. Unlimited plans from Newshosting (US Servers), Eweka (EU Servers), or NewsDemon, which offer >3000 days retention, SSL for privacy, and VPN for anonymity, are better for HD content. Sometimes US and EU servers carry different content.

Provider Rating Features Monthly Yearly
Newshosting
>3000 days, unlimited, SSL, VPN $9.99 $99.99 ($8.33 / month)
editors pick
Eweka
>3000 days, unlimited, SSL, EU Servers €7,50 (Special!!!)  
NewsDemon
>3000 days, unlimited, SSL, VPN $7.50  
Astraweb
>2800 days, unlimited, SSL $8.00 $96.00 ($8.00 / month)
For more plans that may fit your needs please read our Usenet plan selection guide.

NzbDrone / Sonarr Features

install nzbdrone on ubuntuNzbDrone is a PVR for newsgroup 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 if a better quality format becomes available. A detailed post on NzbDrone’s features and how they compare with Sick Beard was presented in an earlier post. So let us go ahead and look at NzbDrone installation on Ubuntu.

Step 1: Prerequisites for NzbDrone Ubuntu Installation

NzbDrone requires mono to run properly, preferably version 3.2. If you are trying to install NzbDrone on Ubuntu 14.04 then you are in luck because the repository already has the required version. For earlier versions of Ubuntu, use the following command to add the mono PPA repository (skip this step for Ubuntu 14.04):

sudo add-apt-repository ppa:directhex/monoxide

Next (applies to Ubuntu 14.04 as well), update your packages and upgrade any existing packages (if mono is already installed it will be upgraded):

sudo apt-get update
sudo apt-get upgrade

If mono was not already installed, then install it using the following command:

sudo apt-get install mono-complete

Let the mono installation run and complete.

Step 2: Install NzbDrone on Ubuntu

It is much easier to install NzbDrone on Ubuntu than SickBeard. First, add the NzbDrone Ubuntu respository using the following commands:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC

echo "deb http://update.nzbdrone.com/repos/apt/debian master main" | sudo tee -a /etc/apt/sources.list

Then, update packages and install NzbDrone on Ubuntu:

sudo apt-get update
sudo apt-get install nzbdrone

A bunch of packages will be installed along with NzbDrone. Let the NzbDrone installation proceed and complete.

3 Best Standalone Bittorrent Downloaders

  1. WD My Cloud 4TB Personal Cloud Storage - NAS
  2. Buffalo LinkStation 210 2 TB NAS Personal Cloud Storage and Media Server
  3. Synology America DiskStation 2-Bay Diskless Network Attached Storage

Step 3: Start NzbDrone

After you install NzbDrone on Ubuntu, you can start it using the following command:

mono /opt/NzbDrone/NzbDrone.exe

NzbDrone is now running on your system (unless you encounter any errors). NzbDrone runs on port 8989 by default. So you can access the NzbDrone web interface by going to:

http://localhost:8989

If your NzbDrone is on your internal network and port 8989 is not blocked, you can also access it through its network IP address (see example below; may be different in your case):

http://192.168.0.20:8989

If you have port forwarding enabled on your router and you have a domain name referring to your server running Sick Beard, you may also view it through the internet using your domain name:

http://domain.com:8989

For now (if you are on the system running NzbDrone), http://localhost:8989 should be enough.

Configure NzbDrone

After you install Sonarr on Ubuntu, you can configure it through its wonderful web interface. The NzbDrone configuration directory is located here: ~/.config/NzbDrone. Setting it up is very similar to SickBeard Configuration.

In order to make NzbDrone function properly, you will have to install and configure SABnzbd to listen to download requests from NzbDrone. Refer to my SABnzbd installation guide and configuration guide to properly automate downloading TV Shows. As mentioned earlier, you also require a reliable Usenet account. You may get a free Usenet account as described in this post, or go with a reliable Usenet service from Astraweb or Newshosting.

Newshosting Unlimited Usenet

Step 5: Autostart NzbDrone

Manually starting NzbDrone all the time can be cumbersome. Therefore, after you install NzbDrone on Ubuntu, I recommend making it autostart at boot as described here. There are multiple ways to autostart NzbDrone on Ubuntu Linux. One way is using Upstart on Debian based distros. First, create the file nzbdrone.conf inside /etc/init folder:

sudo nano /etc/init/nzbdrone.conf

Then copy and paste the following contents into the file:

author "Simon Tallmyr - Nosscire"
description "Upstart Script to run NzbDrone as a service on Ubuntu/Debian based systems, as well as others"

#Set username for the process. Should probably be what you use for logging in
setuid yourusername

#This is the install directory. If you installed using a deb package or the NzbDrone Repository you do not need to change this
env DIR=/opt/NzbDrone

setgid nogroup
start on runlevel [2345]
stop on runlevel [016]

respawn

exec mono $DIR/NzbDrone.exe

Replace yourusername with your username that you use to login. Then save (Ctrl X and then Y) and exit the editor. Then give it execute permissions:

sudo chmod +x /etc/init/nzbdrone.conf

Finally, issue the following command:

sudo start nzbdrone

This should start NzbDrone and also make it autostart on boot. If you want to be able to start/stop NzbDrone from commandline then enable NzbDrone autostart using the Method 2 described here.

NzbDrone Upcoming Episodes View
NzbDrone Upcoming Episodes View

Optional Improvements

That’s it. You are now fully done. Go ahead install NzbDrone on Ubuntu and enjoy.

We Are Hiring: Familiar with Media Streaming, HTPC, Home Server, Smart Home, and Home Automation topics? Write about it and earn money. No writing experience needed. APPLY HERE.

Get 20% OFF with IPVanish VPN:

♦   Hide your browsing and streaming activity: No logs and no tracking
♦   Access geo-restricted content from anywhere
♦   Encrypt and anonymize: Kodi, Plex, Downloads, Personal Info
♦   Windows, Mac, Linux, Android, iOS, Router, and more.
♦   Money back guarantee - Sign Up Now

About the author

Anand

Anand is a self-learned computer enthusiast, a part-time blogger, and a Food Scientist by career. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs on htpcbeginner.com and smarthomebeginner.com.

Archives

Join the other 110,000 followers