Setting Up Sonarr
Setting Up Sonarr on Nébulaura
Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows, download them, and upgrade existing files to better quality formats automatically.
Initial Setup
First, connect to your slot via SSH. If you need help connecting to the server, refer to the relevant help article.
To install Sonarr, use the following command:
box install sonarr
This command will configure Sonarr for your user.
How to Access
On the initial launch, use the same login credentials and set authentication to "Forms based" logins when prompted. Once installed, Sonarr is accessible at:
https://<hostname.io>/sonarr
Service Management
As with all Nébulaura-configured applications, Sonarr can be managed via SSH using the following commands:
- Status: Check the current status of Sonarr.
- Start: Start the Sonarr service.
- Stop: Stop the Sonarr service.
- Restart: Restart the Sonarr service.
- Enable: Configure Sonarr to start automatically at boot.
- Disable: Prevent Sonarr from starting at boot.
Example:
box start sonarr
Configuration
Adding a New Series and Root Directory
- Navigate to Series and click + Add Series.
- Search for the series you want to add.
- Under Path, select Add a new path and enter the folder path for your shows:
Click the green checkmark to confirm./home/<username>/media/TV Shows
- Customize other settings as needed and click Add Series.
Connecting Download Clients
To add a download client, go to Settings > Download Client, enable Advanced Settings, and click Add Client. Use the configurations below:
rTorrent
- Name: rTorrent
- Host:
127.0.0.1
- Port: 443
- URL Path:
/rutorrent/plugins/httprpc/action.php
- SSL: ON
- Username:
<your username>
- Password:
<your password>
- Label: TV (or any desired label)
- Downloaded Files Location:
<custom directory>
Deluge
- Name: Deluge
- Host:
127.0.0.1
- Port:
<Deluge Web Port>
(usecat ~/.config/deluge/web.conf | grep port
) - Password:
<your password>
- Label: TV (or any desired label) Note: The label plugin must be enabled.
- SSL: OFF
qBittorrent
- Name: qBittorrent
- Host:
<subnet IP>
(usecat ~/.install/subnet.lock
) - Port:
<qBittorrent Web Port>
- Username:
<your username>
- Password:
<your password>
- Category: TV (or any desired label)
- SSL: OFF
NZBGet
- Name: NZBGet
- Host:
127.0.0.1
- Port: 443
- URL Base:
nzbget
- SSL: ON
- Username:
<your username>
- Password:
<your password>
- Label: Series (or any desired label) Note: The label must exist under "Categories" in NZBGet.
SABnzbd
- Name: SABnzbd
- Host:
127.0.0.1
- Port: 443
- SSL: ON
- URL Base:
/<yourusername>/sabnzbd
- API Key:
<your API key>
- Label: Series (or any desired label) Note: The label must exist under "Categories" in SABnzbd.
Adding Indexers with Jackett
Sonarr supports limited trackers by default but can be expanded using Jackett:
- Copy the Torznab Feed link from Jackett and modify it:
https://<hostname>/jackett/api/v2.0/indexers/<tracker>/results/torznab/
Replacehttps
withhttp
and add your Jackett port number (e.g.,12345
).http://<hostname>:12345/jackett/api/v2.0/indexers/<tracker>/results/torznab/
- Navigate to Settings > Indexers in Sonarr and click +.
- Select Torznab under Torrent.
- Configure:
- Name:
<tracker name>
- URL:
<modified Torznab URL>
- API Key:
<API key from Jackett>
- Name:
- Click Test. If successful, click Save.
Fixing Sonarr Issues After Updates
If Sonarr doesn’t start correctly after an update:
- Log in via SSH and navigate to the Sonarr config directory:
cd ~/.config/Sonarr/ cp sonarr.db ~/
- Reinstall Sonarr:
box remove sonarr box install sonarr
- Turn off Sonarr in the web UI, wait 20 seconds, then:
rm sonarr.db sonarr.db-shm sonarr.db-wal sonarr.pid cp ~/sonarr.db ~/.config/Sonarr/
- Turn Sonarr back on from the web UI.
Additional Configuration
For further customization, set up quality profiles and post-processing to automate transferring completed downloads to your Sonarr library. Refer to the Sonarr Wiki for more details.
Automate Your TV Library
With Sonarr on Nébulaura, managing and expanding your TV collection is seamless. Set it up today for a fully automated and organized media experience!