Installation

Jeremiah Njoroge edited this page Jan 19, 2017 · 101 revisions

Windows

  1. Download the latest version of Sonarr from https://sonarr.tv
  2. Extract the zip file into your target directory. Use a folder that Sonarr process would have write access to (DO NOT use C:\Program Files or C:\Program Files (x86))
  3. Run NzbDrone.exe once as administrator to register the port and URL with Windows (Required for remote access)1
  4. Manually start Sonarr by running Nzbdrone.exe or ServiceInstall.exe to install Sonarr as a Windows service.
  5. Open http://localhost:8989 in your browser

1 The port will be opened on the firewall (if enabled) for the private profile only, if you're connected to a domain or a public network the port will not be opened automatically, but can be done so manually.

macOS

Manually

Using Homebrew Cask

$ brew cask install sonarr
  • Open Sonarr from your application folder
  • You should now be able to access Sonarr at http://localhost:8989

Docker

Docker is available on Linux, macOS and Windows

Running Sonarr in a Docker container eases setup and reduces package installation on the host OS. Docker is available on many platforms see the Docker overview page and install Docker before setting up a Sonarr under Docker. Once Docker is installed you'll need to want to pull the image with docker pull linuxserver/sonarr and then create the container. See https://hub.docker.com/r/linuxserver/sonarr/ for the options available when creating the image.

Linux

Mono 3.10 or later is required.

Debian/Ubuntu

mono

mono 3.10 is included for x86/x64 in our repo (mirrored from Xamarin's). Some platforms, however, have trouble with dependencies whilst installing Sonarr.

If you experience mono dependency issues whilst installing Sonarr

Install all the repo's from mono's official site: 
http://www.mono-project.com/docs/getting-started/install/linux/

sudo apt-get install mono-devel

Add Sonarr's repository to your software source

sudo 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

If you have issues with the repo being https you can install the apt-transport-https package or switch to http

Install/Update Sonarr

sudo apt-get update
sudo apt-get install nzbdrone 

Start Sonarr

mono --debug /opt/NzbDrone/NzbDrone.exe

Open Browser

http://localhost:8989

Arch Linux

Available in AUR:

CentOS / Fedora / RHEL

CentOS 6 Installation Instructions (wiki)
CentOS 7 Installation Instructions (wiki)
Fedora Installation (wiki)

Raspberry Pi

Install Nzbdrone Raspberry Pi on Raspbian

FreeBSD

FreeBSD Installation Instructions (wiki)

Other

Install dependencies

mono (3.6+ but 3.10+ is recommended)
mediainfo (for processing files on import)
sqlite3 (database)

Download

http://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz

Extract tar.gz

tar xvfz NzbDrone.master.tar.gz

Run Nzbdrone with mono (debugging enabled)

mono --debug NzbDrone.exe

NAS

Also see https://github.com/Sonarr/Sonarr/wiki/Autostart-on-Linux for autostart hints.

FreeNAS

FreeNAS 9.3 now has a one-click Sonarr plugin

Synology

(1) Add the SynoCommunity repo to your Synology device:

  • Log into your NAS as administrator and go to Main Menu -> Package Center -> Settings -> Package Sources
  • Click Add, type SynoCommunity as Name and http://packages.synocommunity.com/ as Location and then press OK to validate.

(2) Click on the Community tab in Package Center and you will find Sonarr listed there.

NOTE: You must install Mono first (also found in the Synocommunity repo.) AND make sure to give the sc-media group read/write access to both your download folders and your media folders.

NETGEAR ReadyNAS

Tested on a ReadyNAS 516 with ReadyNAS OS v6.5.1
Tested on a ReadyNAS 516 with ReadyNAS OS v6.2.2
Tested on a ReadyNAS 314 with ReadyNAS OS v6.4.1

  • SSH into your NAS as root.
  • Follow the instructions above for Debian/Ubuntu, starting from the section "Add Sonarr's repository to your software source".
  • Mono will be installed automatically as a dependency.

Startup script can be found here https://github.com/Sonarr/Sonarr/wiki/Autostart-on-Debian

QNAP

Add the following Packages:

[QSonarr] [1.150922] Smart PVR for newsgroup and bittorrent http://forum.qnap.com/viewtopic.php?f=320&t=109449

Follow instructs from the forum thread