Sonarr

Smart PVR for newsgroup and bittorrent users.

Sonarr

Sonarr is a PVR that is able to sort, and rename content.

Major features include:

You can view the application's repo here: https://github.com/Sonarr/Sonarr

In this section, we'll be setting up Sonarr for the first time. This guide assumes that this is your first time installing Sonarr, and you'll be storing your media locally, saving it to ~/media. We'll be doing the following:

Configuration

Enabling Automatic Organization

Disable Analyze Video Files

Settings ⇾ Media Management ⇾ File Management

Add your media Root Folder

Adding Download Clients

Be sure to enable Show Advanced settings using the Cog Icon in the top left-hand side to show URL Base field.
Example of how it should look is given in the screenshot below.

Ultra_000225.png

Be sure to enable Show Advanced settings using the Cog Icon in the top left-hand side to show URL Base field.
Example of how it should look is given in the screenshot below.

Torrent Clients

Deluge
Host: {username}.{servername}.usbx.me
Port: 443
URL Base: /deluge    (if you don't see URL Base, you've missed a step. Scroll up and see the big red arrow!)
Password: As configured in UCP under Deluge
Category: tv-sonarr
Add Paused: NO
Use SSL: YES

Note: 
The Label plugin in Deluge must be active for the connection to succeed. 
Login to Deluge & Go to Preferences -> Plugins.
Check Label, then click on Apply and Ok. 
rTorrent
Host: {username}.{servername}.usbx.me
Port: 443
URL Path: /RPC2    (if you don't see URL Path, you've missed a step. Scroll up and see the big red arrow!)
Username: {username}
Password: As configured in UCP under ruTorrent
Category: tv-sonarr
Add Stopped: NO
Use SSL: YES
Transmission
Host: {username}.{servername}.usbx.me
Port: 443
Username: {username}
Password: As configured in UCP under Transmission
Category: tv-sonarr
Add Stopped: NO
Use SSL: YES
QBittorrent
Host: {username}.{servername}.usbx.me
Port: 443
URL Base: /qbittorrent    (if you don't see URL Base, you've missed a step. Scroll up and see the big red arrow!)
Password: As configured in UCP under Qbitorrent
Category: tv-sonarr
Add Paused: NO
Use SSL: YES

Usenet Clients

SABnzbd
Host: {username}.{servername}.usbx.me
Port: 443
URL Base: /sabnzbd    (if you don't see URL Base, you've missed a step. Scroll up and see the big red arrow!)
API Key: As obtained from SABnzbd
Username: {username}
Password: Configured during SABnzbd setup
Category: tv
Use SSL: YES
Nzbget
Host: {username}.{servername}.usbx.me
Port: 443
URL Base: /nzbget    (if you don't see URL Base, you've missed a step. Scroll up and see the big red arrow!)
Username: {nzbget username}
Password: {nzbget password}
Category: tv (You may need to update this in NZBGET Settings if connection fails)
Add Paused: NO
Use SSL: YES

Connect Sonarr to Media Server

Plex Media Server

Name : Anything as per your preference.
Notification Triggers: Check `On Download`, `On Upgrade`, `On Rename`.
Host: 172.17.0.1
Port: (The port of your Plex Media Server, visible in the Control Panel, at the end of Setup URL.)
Use SSL: Unchecked
Update Library: Checked

Emby

Name : Anything as per your preference.
Notification Triggers: Check `On Download`, `On Upgrade`, `On Rename`.
Host: 172.17.0.1
Port: Emby's port as given in your Ultra Control Panel.
Use SSL: Unchecked
API Key: Paste the one which was created earlier.
Update Library: Checked

Backup and Restore

In this section, we will be showing you how to backup and restore Sonarr.

Backing Up Sonarr

Restoring Sonarr

Sonarr upgrade V3 to V4

Rollback to V3 from V4 isn't possible because of Database changes. It's highly recommended that you create a backup of Sonarr and download it locally before starting this procedure.

app-sonarr upgrade -v '4'
ultradocs@spica:~$ app-sonarr upgrade -v '4'
{"data": {"port": XXXXX, "version": "4.0.0"}, "result": true}
ultradocs@spica:~$ 

Troubleshooting Information

Why is Sonarr down with application error 502? It won't come back!

If your Sonarr is reporting 502, and you have followed all the instructions on the error page (restarting, then upgrading if that fails), then something else is going on. All troubleshooting from here requires you to access your SSH terminal.

cat .apps/sonarr/config.xml | grep Port

Sonarr output should look like this:

support@server:~$ cat .apps/sonarr/config.xml | grep Port
  <Port>8989</Port>
  <SslPort>9898</SslPort>

If they report other values, then use a text editor on config.xml and change to the port displayed above.