help me with setting up sonarr and qbittorrent in windows. what is the right way to setup the file structures, i typically have qbittorrent download everything to G:\downloads but sonarr is complaining about using this as the root folder, what is the recommended setup here?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Of course! This is a very common point of confusion when first setting up the *arr stack. You've run into the single most important concept for a smooth, automated setup.
Let's break it down. The error you're seeing is Sonarr trying to protect you from a messy and problematic configuration.
The Core Concept: The "Two-Folder" Philosophy
The fundamental principle is to keep your temporary downloads completely separate from your permanent, organized media library.
qBittorrent's Job: To download files. It handles torrents, which often come in folders with extra files (.nfo, .txt, sample videos, etc.). This is your "messy" folder.
Sonarr's Job: To be the librarian. It finds what to download, tells qBittorrent to grab it, and then—once it's finished—it inspects the download, takes only the video file, renames it neatly, and moves it to your permanent library.
If you tell Sonarr that your download folder is your library folder, it gets confused. It can't properly import, it sees all the extra junk files, and it can't manage its own library.
Recommended Setup: The Right Way
Here is the recommended folder structure and the step-by-step guide to configure everything. We'll use your G:\ drive as the example.
Step 1: Create the Correct Folder Structure
Instead of just G:\downloads, we'll create a parent folder to hold everything. This is highly recommended for organization and for a feature called "hardlinking" (more on that later).
On your G:\ drive, create a main folder. Let's call it data.
G:\data
Inside G:\data, create two folders:
downloads: This is where qBittorrent will download everything.
media: This will be your permanent, organized library that media players like Plex or Jellyfin will use.
Inside G:\media, create folders for your different library types:
tv: This is the folder Sonarr will manage.
movies: This is the folder Radarr (the movie equivalent of Sonarr) would manage.
Your final structure should look like this:
code
G:
└── data
├── downloads <-- qBittorrent's "messy" download folder
└── media <-- Your clean, permanent library
├── tv <-- Sonarr's Root Folder
└── movies <-- Radarr's Root Folder (for future use)
Step 2: Configure qBittorrent
Set the Default Save Path:
Open qBittorrent.
Go to Tools > Options... > Downloads.
Set the Default Save Path to G:\data\downloads.
Crucially, enable "Keep incomplete torrents in:" and set the path to something like G:\data\downloads\incomplete. This prevents Sonarr from trying to grab a file before it's finished.
Enable Categories:
This is not strictly required, but it's a best practice that keeps things incredibly organized.
In the same Downloads options tab, check "Use subcategories".
Set the "Default Torrent Management Mode" to Automatic.
Check "When adding a torrent > Use another path for unfinished torrents".
We will tell Sonarr to assign a category (like tv or sonarr) to its downloads. qBittorrent will then automatically create a subfolder for them. For example: G:\data\downloads\tv.
Enable the Web UI:
Sonarr talks to qBittorrent through its Web UI. You must enable this.
Go to Tools > Options... > Web UI.
Check "Web User Interface (Remote control)".
You can leave the IP address and Port as they are (127.0.0.1 and 8080) unless you have another service using that port.
Set a secure Username and Password. You will need these for Sonarr. Write them down.
Click Apply and OK. Restart qBittorrent for all settings to take effect.
Step 3: Configure Sonarr
Now we'll tell Sonarr about our new, clean setup.
Set the Root Folder (The Correct Way):
Open Sonarr in your web browser.
Go to Settings > Media Management.
Under "Root Folders", click the + button and add the folder where your TV shows will live permanently: G:\data\media\tv.
This is the "Root Folder" Sonarr was asking for! It's the destination, not the source.
Enable Advanced Settings:
At the top of the Sonarr page, change the dropdown from Basic to Advanced. This will reveal important options.
Configure Renaming and Importing:
Still in Settings > Media Management, scroll down.
Enable "Episode Renaming". You can customize the format to your liking. The default is great.
Find the "Importing" section. Enable "Use Hardlinks instead of Copy".
What is a hardlink? It's like a shortcut that acts like the real file. By using a hardlink, the file will exist in both your G:\data\downloads folder (for seeding) and your G:\data\media\tv folder (for your library), but it will only take up disk space once. This is the single biggest benefit of keeping your downloads and media on the same drive (G:\). If they were on different drives, Sonarr would have to make a full copy, doubling the space used.
Requirement: Hardlinks only work if the source (downloads) and destination (media) are on the same drive/partition. Our G:\data structure ensures this.
Connect Sonarr to qBittorrent:
Go to Settings > Download Clients.
Click the + button to add a new client.
Select qBittorrent.
Fill in the details:
Name:qBittorrent (or whatever you like)
Host:localhost (or 127.0.0.1)
Port:8080 (or whatever you set in qBittorrent)
The Final Workflow (Putting it all together)
Sonarr's RSS feed finds a new episode you need.
Sonarr sends the .torrent file to qBittorrent and tells it to use the tv category.
qBittorrent accepts it, downloads the files to G:\data\downloads\incomplete.
Once finished, qBittorrent moves the files to G:\data\downloads\tv.
Sonarr, which is constantly checking the tv category in qBittorrent, sees the download is complete.
Sonarr scans the G:\data\downloads\tv folder, finds the video file (.mkv or .mp4).
It creates a hardlink of the video file, renames it according to your rules, and places the link in your permanent library (e.g., G:\data\media\tv\Show Name\Season 01\Show Name - S01E01 - Episode Title.mkv).
You can continue seeding the original file in G:\data\downloads\tv for as long as you want without using any extra disk space.
Your media player (Plex, etc.) scans the G:\data\media library and finds the new, perfectly named episode.
You have now achieved a fully automated, clean, and space-efficient setup
Username: The username you set in qBittorrent's Web UI.
Password: The password you set in qBittorrent's Web UI.
Category:tv. This is important! This tells qBittorrent to put all Sonarr downloads into the G:\data\downloads\tv subfolder. It's how Sonarr knows which downloads belong to it.
Click Test. You should see a green checkmark.
Click Save.
Add Your First Show:
Go to Series > Add New.
Search for a TV show.
Click on it. When adding it, ensure the Path is pointing to your root folder (G:\data\media\tv).
Choose your desired profile, and click Add Series.