In this guide you'll install Sonarr on TrueNAS SCALE and connect it to qBittorrent and Prowlarr. Sonarr is Radarr for TV: you add a show, and it grabs new episodes as they air, fills in the ones you're missing, and files everything into season folders that Plex understands.
What you need
- TrueNAS SCALE 24.10 (Electric Eel) or newer with the Apps service set up. See my TrueNAS install guide.
- qBittorrent installed, and its Web UI username and password.
- Prowlarr installed with at least one indexer that has TV categories.
- A dataset for your media, with a
tvfolder inside it. - About 20 minutes.
If you've already followed the Radarr post, most of this will feel familiar. The folder rules are the same.
A few terms first
- Sonarr is a TV show manager. It tracks every episode of the shows you add, downloads them, and renames and moves the files into your library.
- Root folder is the top folder of your TV library, as Sonarr sees it. Each show gets a subfolder, with season folders inside.
- Monitored means Sonarr is watching for that episode and will download it. Unmonitored episodes are ignored.
- Season pack is a single release that contains a whole season.
- Quality profile is the list of qualities Sonarr may download, plus the quality at which it stops upgrading.
At a glance
| Platform | TrueNAS SCALE (custom app from YAML) |
| Port | 8989 (web UI) |
| Image | lscr.io/linuxserver/sonarr:latest |
| Config path | /mnt/apps/sonarr/config → /config |
| Media path | /mnt/media → /media (shows in /media/tv) |
| Downloads path | /mnt/downloads → /downloads |
| License | GPL-3.0 |
About the paths in this series.
/mnt/apps,/mnt/mediaand/mnt/downloadsare examples. Your real paths include your pool name, for example/mnt/tank/media. Use the same paths in every app.
How the folders fit together
- This series
- └── tv/ (Sonarr root folder
- /media/tv)
As with Radarr, qBittorrent and Sonarr must both see the download folder at /downloads. And because /downloads and /media are separate mounts, Sonarr copies files instead of hardlinking them, so episodes take space twice until the torrent is removed. If you'd rather have hardlinks, use one shared dataset as described in the Radarr post and the TRaSH Guides.
How Sonarr decides what to download
What Sonarr fetches depends on which episodes are monitored. You choose this when you add a show:
| Monitor option | What it monitors |
|---|---|
| All Episodes | Every episode except specials |
| Future Episodes | Only episodes that haven't aired yet |
| Missing Episodes | Episodes without files, plus ones that haven't aired yet |
| Existing Episodes | Episodes you already have files for, plus ones that haven't aired yet |
| Recent Episodes | Episodes from the last 90 days, plus future ones |
| Pilot Episode | Only the first episode of season one |
| First Season / Last Season | All episodes of that one season |
| None | Nothing; you search by hand |
For most people Missing Episodes is a good default: it fills gaps and picks up new episodes as they air, without re-downloading what you already have. Pick Future Episodes if you only want new episodes from now on.
About season packs: when Sonarr searches for a whole season (for example right after you add a finished show), it looks for season packs first and falls back to single episodes if it doesn't find a good one. For a show that's still airing, episodes arrive one at a time because that's how they're released.
Step 1: Create the folders
In System → Shell (or over SSH):
sudo mkdir -p /mnt/apps/sonarr/config /mnt/media/tv
The container runs as user 1000. Give that user write access to /mnt/apps/sonarr/config, /mnt/media and /mnt/downloads, with chown -R 1000:1000 on non-ACL datasets or an ACL entry under Datasets → Edit Permissions.
Check: ls -ld /mnt/media/tv /mnt/apps/sonarr/config lists both folders.
Step 2: Install the app from YAML
- Go to Apps → Discover Apps.
- Click the three-dot menu (⋮) and choose Install via YAML.
- Name the app
sonarrand paste this into Custom Config (setTZto your time zone):
services:
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
ports:
- 8989:8989
volumes:
- /mnt/apps/sonarr/config:/config
- /mnt/media:/media
- /mnt/downloads:/downloads
- Click Save.
Check: the app shows Running on the Apps page.
Step 3: First login
Browse to http://<nas-ip>:8989. Since Sonarr v4, authentication is mandatory, so the first visit asks you to set it up. Choose Forms (Login Page), set a username and strong password, and leave Authentication Required on Enabled.
Check: reload the page and log in with your new credentials.
Step 4: Add the root folder
- Go to Settings → Media Management.
- Under Root Folders, click Add Root Folder.
- Pick
/media/tvand confirm.
Don't add /downloads as a root folder.
Check: the folder appears in the list with its free space. A red error usually means permissions.
Step 5: Connect qBittorrent
- Go to Settings → Download Clients and click +.
- Choose qBittorrent.
- Fill in:
- Host: your NAS IP
- Port:
8080 - Username / Password: your qBittorrent Web UI login
- Category:
sonarr - Click Test, then Save.
Use the NAS IP, not qbittorrent. Apps installed separately in TrueNAS each get their own Docker network, so container names don't resolve between them.
Check: the test shows a green check mark.
Step 6: Get indexers from Prowlarr
Copy Sonarr's API key from Settings → General, then follow Step 5 in the Prowlarr post to add Sonarr as an app there. Don't add indexers in Sonarr by hand.
Check: Settings → Indexers in Sonarr lists your indexers with (Prowlarr) after each name.
Step 7: Turn on renaming
Go to Settings → Media Management and tick Rename Episodes. If it's off, Sonarr keeps the original release names.
A naming format that Plex reads well:
| Setting | Value |
|---|---|
| Standard episode format | {Series Title} - S{season:00}E{episode:00} - {Episode Title} {Quality Full} |
| Season folder format | Season {season:00} |
| Example | /media/tv/Breaking Bad/Season 01/Breaking Bad - S01E01 - Pilot Bluray-1080p.mkv |
The S01E01 part is what Plex uses to match each file to the right episode.
Step 8: Add your first show
- Click Series → Add New and search for a show.
- Set:
- Root Folder:
/media/tv - Monitor:
Missing Episodes(or see the table above) - Quality Profile:
HD-1080pis a good start - Series Type:
Standardfor most shows,Animefor anime,Dailyfor daily shows like talk shows - Season Folder: on
- Tick Start search for missing episodes and click Add.
Check: Activity → Queue shows downloads, and they appear in qBittorrent under the sonarr category. When they finish, episodes land in /mnt/media/tv/<Show>/Season XX/.
Settings worth changing
Quality profile and upgrades
Under Settings → Profiles, open your profile. With Upgrades Allowed ticked, Sonarr replaces a file when a better quality comes out, up to the quality you set in Upgrade Until. For example, it can grab a WEB 1080p release on air day and replace it with Bluray-1080p later.
Remove completed downloads
Each download client has a Remove Completed option. With it on, Sonarr removes the torrent from qBittorrent after import, once it has stopped seeding.
Plex library scans
If you run Plex, add it under Settings → Connect so new episodes show up without waiting for a scheduled scan.
Troubleshooting
Episodes show as "Unknown" or match the wrong episode in Plex. Renaming is probably off, or the format lacks S{season:00}E{episode:00}. Turn on Rename Episodes and use the format above.
Downloads finish but never import. Check Activity → Queue for the message. "Path does not exist" means qBittorrent and Sonarr see the download folder at different paths. Both must mount the same NAS folder as /downloads.
Anime gets the wrong episodes. Set the show's Series Type to Anime, which changes how Sonarr searches and numbers episodes.
Sonarr isn't downloading a show. Check the episodes are monitored (the bookmark icon next to each episode and season). Then run a search from the show's page.
No search results at all. Make sure Prowlarr synced indexers with TV categories to Sonarr, and that the app test in Prowlarr passed.
Next steps
Add Bazarr to fetch subtitles for everything Sonarr and Radarr download. Then set up Plex to watch it, and Jellyseerr if you want a request page for family and friends.