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:
Analyze video files.
/home/your_username/media folder and select the correct folder such as TV Shows.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>

+ button, then select your preferred client.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.
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
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
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
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
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
+ button.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
Authenticate with Plex.tv.Auth Token field will be filled automatically.+ New API Key and add the App name as Sonarr. Then click OK.+ button.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
Sonarr. Then click OK.+ button.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
In this section, we will be showing you how to backup and restore Sonarr.
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}
CTRL/CMD + SHIFT + R or CTRL/CMD + F5) the UCP browser tab, and the new Sonarr version will be reflected on the UCP.username and password will remain the same as it was pre-upgrade.“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.
ps aux | grep defunct. If it is defunct, killing your mounts will release the process, and you will be able to restart Sonarr. Rclone cloud mounts should not be used directly with any application. MergerFS should be used.config.xml with the following command:cat .apps/sonarr/config.xml | grep Port
Sonarr output should look like this: