Sonarr

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

Major features include:

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

Enable Automatic Organization

Disable Analyze Video Files

Add Media Root Folder

Add Download Clients

super-embed:
<p class="callout info">
Be sure to enable the <b>Show Advanced</b> setting using the <b>Cog Icon</b> in the top left-hand side to show <b>URL Base</b> field.
<br>Example of how it should look is given in the screenshot below.
</p>

image.png

Deluge

Host: {username}.{servername}.usbx.me
Port: 443
URL Base: /deluge    (If the URL Base is not visible, 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 and navigate to 'Preferences > Plugins'.
Check Label, then click on Apply and OK.

rTorrent

Host: {username}.{servername}.usbx.me
Port: 443
URL Path: /RPC2    (If the URL Path is not visible, 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 the URL Base is not visible, 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

SABnzbd

Host: {username}.{servername}.usbx.me
Port: 443
URL Base: /sabnzbd    (If the URL Base is not visible, 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 the URL Base is not visible, 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 Servers

Plex Media Server

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

Emby

Name : Anything as per your preference.
Notification Triggers: Check 'On File Import', 'On File Upgrade', 'On Rename'.
Host: servername-direct.usbx.me (example: flux-direct.usbx.me)
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

Jellyfin

Name : Anything as per your preference.
Notification Triggers: Check 'On File Import', 'On File Upgrade', 'On Rename'.
Host: servername-direct.usbx.me (example: flux-direct.usbx.me)
Port: Jellyfin's port as given in the UCP.
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.

Backup Sonarr

Restore Sonarr

Sonarr Upgrade V3 to V4

super-embed:
<p class="callout warning">
Rollback to V3 from V4 is not possible because of Database changes. It is highly recommended that you create a backup of Sonarr and download it locally before starting this procedure.
</p>
app-sonarr upgrade -v '4'
ultradocs@spica:~$ app-sonarr upgrade -v '4'
{"data": {"port": XXXXX, "version": "4.0.0"}, "result": true}

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: