Sonarr FAQ
How does Sonarr find episodes?
- Sonarr does not regularly search for episode files that are missing or have not met their quality goals. Instead, it fairly frequently queries your indexers and trackers for all the newly posted episodes, then compares that with its list of episodes that are missing or need to be upgraded. Any matches are downloaded. This lets Sonarr cover a library of any size with just 24-100 queries per day (RSS interval of 15-60 minutes). If you understand this, you'll realize that it only covers the future though.
- So how do you deal with the present and past? When you're adding a show, you'll need to set the correct path, profile and monitoring status then use the Start search for missing checkbox. If the show has had no episodes and hasn't been released yet, you don't need to initiate a search.
- Put another way, Sonarr will only find episodes that are newly uploaded to your indexers. It will not actively try to find episodes you want that uploaded in the past.
- If you've already added the show, but now you want to search for it, you have a few choices. You can go to the show's page and use the search button, which will do a search and then automatically pick episode(s). You can search individual episodes or seasons automatically or manually. Or you can use the filters of
Missing
andCut-off Unmet
. - If Sonarr has been offline for an extended period of time, Sonarr will attempt to page back to find the last release it processed in an attempt to avoid missing a release. As long as your indexer supports paging and it hasn't been too long Sonarr will be able to process the releases it would have missed and avoid you needing to perform a search for the missed episodes.
Why didn’t Sonarr grab an episode I was expecting?
First, make sure you read and understand the section above called “How does Sonarr find episodes?” Second, make sure at least one of your indexers has the episode you were expecting to be grabbed.
- Click the ‘Manual Search’ icon next to the episode listing in Sonarr. Are there any results? If no, then either Sonarr is having trouble communicating with your indexers, or your indexers do not have the episode, or the episode is improperly named/categorized on the indexer.
- If there are results from step 1, check next to them for red exclamation point icon. Hover over the icon to see why that release is not a candidate for automatic downloads. If every result has the icon, then no automatic download will occur.
- If there is at least one valid manual search result from step 2, then an automatic download should have happened. If it didn’t, the most likely reason is a temporary communication problem preventing an RSS Sync from your indexer. It is recommended to have several indexers set up for best results.
- If there is no manual result from a show, but you can find it when you browse your indexer’s website - This is a common problem that is most frequently caused by having an insufficient number of indexers. Different indexers index different content, and not all shows on your indexer may be tagged properly, which would cause Sonarr’s search to fail. Having several indexers active is the best solution to this problem.
How are possible downloads compared?
anchor
Generally Quality Trumps All
The current logic can be found here. As of 1/19/2021 the logic is as follows
- Quality
- Language
- Preferred Word Score
- Protocol
- Episode Count
- Episode Number
- Indexer Priority
- Peers (If Torrent)
- Age (If Usenet)
- Size
Preferred Words FAQs
For the score of the on disk file: The existing name of the file and the "scene name" of the release are evaluated for preferred words. The higher score of the two is taken.
How are preferred words included in renaming?
For Sonarr you can make use of the `{Preferred Words}` token in your renaming scheme. and also check mark `Include Preferred when Renaming` in the release profile. take a look HERE for a recommended naming scheme examples for Sonarr.
For Radarr you can make use of the `{Custom Formats}` token in your renaming scheme. and you need to enable it in your Custom Format take a look HERE for a recommended naming scheme examples for Radarr.
Using the tokens in your renaming scheme could help with download loop issues.
How does Sonarr handle scene numbering issues (American Dad!, etc)?
- How Sonarr handles scene numbering issues
- Sonarr relies on TheXEM, a community driven site that lets users create mappings of shows that the scene (the people that post the files) and TheTVDB (which typically follows the network’s numbering). There are a number of shows on there already, but it is easy to add another and typically the changes are accepted within a couple days (if they’re correct). TheXEM is used to correct differences in episode numbering (disagreement whether an episode is a special or not) as well as season number differences, such as episodes being released as S10E01, but TheTVDB listing that same episode as S2017E01.
- Problematic Shows
- This by no means is an all inclusive list of shows that have known issues with scene mapping however, these are the big ones that come to mind while writing this.
- Typical Issue: Scene numbering does not match TVDb numbering so Sonarr doesn't work. Well enter XEM which creates a map for Sonarr to look at.
- Scene releases double episodes in a single file since that is how they air but TVDb marks each episode individually.
- Scene uses a year for the season S2010 and TVDb uses S01.
- XEM works in most cases and keeps it running smooth without you ever knowing. However as with most things, there will always be a black sheep and in this case there is a list of them.
- This is a list of the known shows and how/why they're problematic:
- American Dad
- Arrested Development
- Mythbusters
- Paw Patrol
- Double episode files vs single episode TVDb but also not all episodes are doubles so the map can get added wrong pointing to which ones are singles vs doubles
- Pawn Stars
- Pokémon
- On TheXem, pokemon is tracking *dubbed* episodes. So if you want subbed episodes, you may be out of luck.
- Possible resolutions:
- TVDb adds alternate ordering to the API (Current status: They say v4 but dont count on it to work or be stable based on the history of v3)
- XEM adds a map to allow for alternate orders that sonarr can use (Current status: Unlikely)
- Sonarr allows for disabling of XEM maps when doing manual searches (Current status: Unlikely)
- Sonarr side effects:
- On top of the issues with the shows already, Sonarr also has some odd behavior so you may just need to overlook this as well. Example:
- American Dad is currently on S17 based on TVDb or S16 based on Scene at the time of this writing. So searching in sonarr for season 17 will only return S16 results because of the XEM map. If you have a tracker with S17 episodes (because they use P2P and not Scene), you are SOL & sonarr will never see them or find them. Right click > Save as on the torrent and add it manually is your solution. However here is the odd part, if you use tags and you add it to your client with a tag that Sonarr looks for, it will see the episodes and when they download it will automatically import them to S17. So it wont find S17 because it is mapped to S16 but it will import S17 to S17 even though it is mapped to S16. Cant explain it & never got an answer for it so enjoy the inconsistent logic as it will save you having to import it.
- Final thoughts:
- This may or may not happen on other shows but we have only tested it on this one. Main point, if you have any issues related to these shows you're kind of out of luck and just have to deal with it. It is something that is constantly being worked on and discussed as it is a pain for us as well as much as it is for you.
Why can’t Sonarr import episode files for series X? / Why can’t Sonarr find releases for series X?
Sonarr relies on being able to match titles, often the scene posts episodes using different titles, eg CSI: Crime Scene Investigation as just CSI so Sonarr can’t match the names without some help. Sonarr maintains a list of problematic series which lets us solve this issue. For anime, it will need to be added to thexem.de, for other series to request a new mapping see the steps below.
- Make sure it hasn’t already been requested. Requested Mappings
- Make a new request here: Scene Mapping Request Form
Typically these are added within 1-2 days.
Again, do not request a mapping for Anime; use XEM for that. Further information can be found with some of the XEM folks that hangout in our #XEM discord channel.
TVDB is updated why isn't Sonarr?
TVDB has a 24 hour cache on their API. Skyhook has a much smaller few hour cache on top of that. Sonarr only runs the Refresh Series task every 12 hours. Thus it typically takes 24 to 48 hours for a TVDB update to make it into Sonarr.
If you know a TVDB update was made more than 48 hours ago, then please come discuss on our Discord.
I see that feature/bug X was fixed, why can’t I see it?
Sonarr consists of two main branches of code, main
and develop
, main
is released periodically, when the develop
branch is stable and develop
is for pre-release testing and people willing to live on the edge, if you want to help out testing or want more information on the two branches, please see: Release Branches. When a feature is marked as in develop
it will only be available to users running the develop
branch, once it has been move to live (in main
) it is officially released.
Episode Progress - How is it calculated?
There are two parts to the episode count, one being the number of episodes (Episode Count) and the other being the number of episodes with files (Episode File Count), each one uses slightly different logic to give you the overall progress for a series or season.
- Episode Count
- Episode has already aired AND is monitored OR
- Episode has a file
- Episode File Count
- Episode has a file
If a series has 10 episodes that have all aired and you don’t have any files for them you would have 0/10 episodes, if you unmonitored all the episodes in that series you would have 0/0 and if you got all the episodes for that series, regardless of if the episodes are monitored or not, you would have 10/10 episodes.
How do I access Sonarr from another computer?
By default Sonarr doesn’t listen to requests from all systems (when not run as administrator), it will only listen on localhost, this is due to how the Web Server Sonarr uses integrates with Windows (this also applies for current alternatives). If Sonarr is run as an administrator it will correctly register itself with Windows as well as open the Firewall port so it can be accessed from other systems on your network. Running as admin only needs to happen once (if you change the port it will need to be re-run).
Why doesn’t Sonarr automatically search for missing episodes?
There are two times when we would want to have missing episodes searched for, when a new series with existing aired episodes is added and when Sonarr has been offline and unable to find episodes as it normally would. Endlessly searching for episodes that have aired that are missing is a waste of resources, both in terms of local processing power and on the indexers and in our experience catches users off guard, wasting bandwidth.
In v1 of Sonarr we had an opt in backlog search option, often people would turn it on and then get a bunch of old episodes and ask us why, we also had indexers ask why they saw an increase in API calls, which was due to the backlog searching.
In v2 we sat back and thought about it and realized the benefit is not really there, we could try to throttle the searching, but that just draws it out and still does the same thing; hammer the indexer with useless requests. If the episode wasn’t there the last time the search was performed, why would it be there now? It would be if it was reposted, but if it was reposted, the automatic process that gets new episodes would see it was posted and act on it.
Why does Sonarr refresh series information so frequently?
- Sonarr refreshes series and episode information in addition to rescanning the disk for files every 12 hours. This might seem aggressive, but is a very important process. The data refresh from our TVDB proxy is important, because new episode information is synced down, air dates, number of episodes, status (continuing/ended). Even shows that aren’t airing are being updated with new information.
- The disk scan is less important, but is used to check for new files that weren’t sorted by Sonarr and detect deleted files.
- The most time consuming portion is the information refresh (assuming reasonable disk access speed), larger shows take longer due to the number of episodes to process.
Why is there a number next to Activity?
- This number shows the count of episodes in your download client’s queue and the last 30 items in its history that have not yet been imported. If the number is blue it is operating normally and should import episodes when they complete. Yellow means there is a warning on one of the episodes. Red means there has been an error. In the case of yellow (warning) and red (error), you will need to look at the queue under Activity to see what the issue is (hover over the icon to get more details).
- You need to remove the item from your download client’s queue or history to remove them from Sonarr’s queue.
I see log messages for shows I don’t have/don’t want
- These messages are completely normal and come from the RSS feeds that Sonarr checks to see if there are episodes you do want, usually these only appear in debug/trace logging, but in the event of an problem processing an item you may see a warning or error. It is safe to ignore the warnings/errors as well since they are for shows you don’t want, in the event it is for a show you want, open up a support thread on the forums.
Seeding torrents aren’t deleted automatically
- When a torrent that is still seeding is imported, it is copied or hard linked (if enabled and possible) so that the torrent client can continue seeding. In an ideal setup, the torrent download folder and the library folder will be on the same file system and look like it (Docker and network shares make this easy to get wrong), which makes hard links possible and minimizes wasted space.
- In addition, you can configure your seed time/ratio goals in Sonarr or your download client, setup your download client to pause or stop when they’re met and enable Remove under Completed and Failed Download Handler. That way, torrents that finish seeding will be removed from the download client by Sonarr.
Why can’t I add a new series?
- In the event that TheTVDB is unavailable Sonarr is unable to get search results and you will be unable to add any new series by searching. You may be able to add a new series by TheTVDB ID if you know what it is, the UI explains how to add it by an ID.
Why can’t I add a new series when I know the TVDB ID?
- Sonarr cannot add any series that does not have an English language title. If you try to add a series via TVDB ID that does not have an English title. If no English title exist for that series on TheTVDB it will need to be added (if available).
Sonarr won't work on Big Sur
Run chmod +x /Applications/Sonarr.app/Contents/MacOS/Sonarr
My Custom Script stopped working after upgrading from v2
You were likely passing arguments in your connection...that is not supported.
- Change your argument to be your path
- Make sure the shebang in your script maps to your pwsh path (if you don't have a shebang definition in there, add it)
- Make sure the pwsh script is executable
General FAQs
Can I update Sonarr inside my Docker container?
- Technically, yes. But you should absolutely not. It is a primary philosophy of Docker. Database issues can be caused for Sonarr if you upgrade your installation inside to the most recent nightly, then update the docker container itself which might downgrade to an older version.
Help, my Mac says Sonarr cannot be opened because the developer cannot be verified
- This is simple, please see this link for more information here
Help, my Mac says Sonarr.app is damaged and can’t be opened
That is either due to a corrupt download so try again or security issues, please see this related FAQ entry.
How do I request a feature for Sonarr?
anchor
This is an easy one click here
I am getting an error: Database disk image is malformed
- This means your SQLite database that stores most of the information for Sonarr is corrupt.
- Try restoring from a backup
- You can follow our instructions on this wiki.
- Alternatively, there is guide here to copy the contents from the corrupt database into a new one: http://techblog.dorogin.com/2011/05/sqliteexception-database-disk-image-is.html
- This error may show if the database file is not writable by the user/group Sonarr is running as.
- Another possible cause of you getting an error with your Database is that you're placing your database on a network drive (nfs or smb or something else not local). Simple answer to this is to not do this as SQLite and network drives not typically play nice together and will cause a malformed database eventually. Sonarr's config folder must be on a local drive. If you're trying to restore your database you can check out our Backup/Restore guide here.
- If you are using mergerFS you need to remove
direct_io
as sqlite uses mmap which isn’t supported bydirect_io
as explained in the mergerFS docs here
I use Sonarr on a Mac and it suddenly stopped working. What happened?
anchor
Most likely this is due to a MacOS bug which caused one of the Sonarr databases to be corrupted.
Then attempt to launch Sonarr and see if it works. If it does not work, you'll need further support. Post in our reddit or hop on discord for help.
Why can’t Sonarr see my files on a remote server?
In short: the user Sonarr is running as (if service) or under (if tray app) cannot access the file path on the remote server. This can be for various reasons, but the most common is, Sonarr is running as a service, which causes one of two things:
- Sonarr runs under the LocalService account by default which doesn’t have access to protected remote file shares.
- Solutions:
- Run Sonarr’s service as another user that has access to that share
- Open the Administrative Tools > Services window on your Windows server.
- Stop the Sonarr service.
- Open the Properties > Log On dialog.
- Change the service user account to the target user account.
- Run Sonarr.exe using the Startup Folder
- Run Sonarr’s service as another user that has access to that share
- Solutions:
- You’re using a mapped network drive (not a UNC path)
- Solutions:
- Change your paths to UNC paths (
\\server\share
) - Run Sonarr.exe via the Startup Folder
- Change your paths to UNC paths (
- Solutions:
Mapped Network Drives vs UNC Paths
- Using mapped network drives generally doesn’t work very well, especially when Sonarr is configured to run as a service. The better way to set shares up is using UNC paths. So instead of
X:\Movies
use\\Server\Movies\
. - A key point to remember is that Sonarr gets path information from the downloader, so you’ll also need to setup NZBGet, SABNzbd or any other downloader to use UNC paths too.
How do I change from the Windows Service to a Tray App?
- Shut Sonarr down
- Run serviceuninstall.exe that's in the Sonarr directory
- Run Sonarr.exe as an administrator once to give it proper permissions and open the firewall. Once complete, then you can close it and run it normally.
- (Optional) Drop a shortcut to Sonarr.exe in the startup folder to auto-start on boot.
How do I Backup/Restore my Sonarr?
Backing up Sonarr
- Using built-in backup
- Go to System: Backup in the Sonarr UI
- Click the Backup button
- Download the zip after the backup is created for safekeeping
- Using file system directly
- Find the location of the AppData directory for Sonarr
- Via the Sonarr UI go to System: About
- Sonarr Appdata Directory
- Stop Sonarr - This will prevent the database from being corrupted
- Copy the contents to a safe location
Restoring from Backup
Restoring to an OS that uses different paths won’t work (Windows to Linux, Linux to Windows, Windows to OS X or OS X to Windows), moving between OS X and Linux may work, since both use paths containing /
instead of \
that Windows uses, but is not supported.
- Using zip backup
- Re-install Sonarr
- Run Sonarr
- Navigate to System > Backup
- Select Restore Backup
- Select Choose File
- Select your backup zip file
- Select Restore
- Using file system backup
- Re-install Sonarr
- Run Sonarr once to get the AppData directory location
- Stop Sonarr
- Delete the contents of the AppData directory (Including the .db-wal/.db-journal files if they exist)
- Restore from your backup
- Start Sonarr
- As long as the paths are the same, everything will pick up where it left off
- Restore for Synology NAS
CAUTION: Restoring on a Synology requires knowledge of Linux and Root SSH access to the Synology Device.
Re-install Sonarr
Run Sonarr once to get the AppData directory location
Stop Sonarr
Connect to the Synology NAS through SSH and log in as root
Execute the following commands:
rm -r /usr/local/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}/{{{ARRNAME}}}.db* cp -f /tmp/{{{ARRNAME}}}_backup/* /usr/local/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}/
Update permissions on the files:
cd /usr/local/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}/ chown -R {{{ARRNAME}}}:users * chmod -R 0644 *
On some installations, the user is different:
chown -R sc-Sonarr:Sonarr *
Start Sonarr
Help I have locked my self out
anchor
To disable authentication (to reset your username or password) you will need need to edit config.xml
which will be inside the Sonarr Appdata Directory.
- Open config.xml in a text editor
- Find the authentication method line will be
<AuthenticationMethod>Basic</AuthenticationMethod>
- or
<AuthenticationMethod>Forms</AuthenticationMethod>
- Change the
AuthenticationMethod
line to<AuthenticationMethod>None</AuthenticationMethod>
- Restart Sonarr
- Sonarr will now be accessible without a password, you should go the
Settings: General
in the Sonarr UI and set your username and password
Help I have forgotten my password
- Please see steps listed in here.
Jackett shows more results than Sonarr when manually searching
anchor
This is usually due to Sonarr searching Jackett differently than you do. See this troubleshooting article for further information.
Weird UI Issues
- If you experience any weird UI issues like the Library page not listing anything or a certain view or sort not working, try viewing in a Chrome Incognito Window or Firefox Private Window. If it works fine there, clear your browser cache and cookies for your specific ip/domain. For more information, see the Clear Cache Cookies and Local Storage wiki article.
Web Interface Only Loads at localhost on Windows
- If you can only reach your web interface at http://localhost:8787/ or http://127.0.0.1:8787, you need to run Sonarr as administrator at least once, maybe even always.
Permissions
- Sonarr will need to move files away from where the downloader puts them into the final location, so this means that Sonarr will need to read/write to both the source and the destination directory and files.
- On Linux, where best practices have services running as their own user, this will probably mean using a shared group and setting folder permissions to
775
and files to664
both in your downloader and Sonarr. In umask notation, that would be002
.
System & Logs loads forever
anchor
It's the easy-privacy blocklist. They basically block any url with /api/log? in it. Look over the list and tell me if you think that blocking all the urls in that list is a sensible idea, there are dozens of urls in there that potentially break sites. You selected that in your adblocker.
Easy solution is to whitelist the domain Sonarr is running on. But I still recommend checking the list.
Finding Cookies
Some sites cannot be logged into automatically and require you to login manually then give the cookies to Sonarr to work. This page describes how you do that.
- Chrome
- Firefox
Unpack Torrents
anchor
Most torrent clients doesn’t come with the automatic handling of compressed archives like their usenet counterparts. We recommend unpackerr.
uTorrent is no longer working
- Ensure the Web UI is enabled
- Ensure that the Alt Listening Port (Advanced -> Web UI) is not the same as the Listening Port (Connections)
- We'd suggest changing the Web UI Alt Listening Port so as to not mess with any port forwarding for connections.
Does Sonarr require a SABnzbd post-processing script to import downloaded episodes?
No. Sonarr will talk to your download client to determine where the files have been downloaded and will import them automatically. If Sonarr and your download client are on different machines you will need to use Remote Path Mapping to link the remote path to a local one so Sonarr knows where to find the files.
I got a pop-up that said config.xml was corrupt, what now?
Sonarr was unable to read your config file on start-up as it became corrupted somehow. In order to get Sonarr back online, you will need to delete .xml
in your | AppData Folder, once deleted start Sonarr and it will start on the default port (8787), you should now re-configure any settings you configured on the General Settings page.
Invalid Certificate and other HTTPS or SSL issues
Your download client stopped working and you're getting an error like `Localhost is an invalid certificate`?
Sonarr now validates SSL certificates. If there is no SSL certificate set in the download client, or you're using a self-signed https certificate without the CA certificate added to your local certificate store, then Sonarr will refuse to connect. Free properly signed certificates are available from let's encrypt.
If your download client and Sonarr are on the same machine there is no reason to use HTTPS, so the easiest solution is to disable SSL for the connection. Most would agree it's not required on a local network either. It is possible to disable certificate validation in advanced settings if you want to keep an insecure SSL setup.
VPNs, Jackett, and the * ARRs
Unless you're in a repressive country like China, Australia or South Africa, your torrent client is typically the only thing that needs to be behind a VPN. Because the VPN endpoint is shared by many users, you can and will experience rate limiting, DDOS protection, and ip bans from various services each software uses.
In other words, putting the * Arrs (Lidarr, Radarr, Readarr, and Sonarr) behind a VPN can and will make the applications unusable in some cases due to the services not being accessible. To be clear it is not a matter if VPNs will cause issues with the * Arrs, but when: image providers will block you and cloudflare is in front of most of arr servers (updates, metadata, etc.) and liable to block you too
In addition, some private trackers * ban* for browsing from a VPN, which is how Jackett works. In some cases (i.e. certain UK ISPs) it may be needed to use a VPN for public trackers, in which case you should then be putting only Jackett behind the VPN. However, you should not do that if you have private trackers without checking their rules first. Many private trackers will ban you for using or accessing them (i.e. using Jackett) via a VPN.
Jackett's /all Endpoint
anchor
The Jackett /all
endpoint is convenient, but that is its only benefit. Everything else is potential problems, so adding each tracker individually is recommended.
May 2021 Update: It is likely Sonarr support will be phased out for the jackett `/all` endpoint in the future due to the fact it only causes issues.
Even Jackett says it should be avoided and should not be used.
Using the all endpoint has no advantages (besides reduced management overhead), only disadvantages:
- you lose control over indexer specific settings (categories, search modes, etc.)
- mixing search modes (IMDB, query, etc.) might cause low-quality results
- indexer specific categories (>= 100000) can't be used.
- slow indexers will slow down the overall result
- total results are limited to 1000
Adding each indexer separately It allows for fine tuning of categories on a per indexer basis, which can be a problem with the /all
end point if using the wrong category causes errors on some trackers. In Sonarr, each indexer is limited to 1000 results if pagination is supported or 100 if not, which means as you add more and more trackers to Jackett, you’re more and more likely to clip results. Finally, if one of the trackers in /all
returns an error, Sonarr will disable it and now you don’t get any results.
Why are there two files? | Why is there a file left in downloads?
anchor
This is expected.
This is how the Torrent Process works with Sonarr.
- Sonarr will send a download request to your client, and associate it with a label or category name that you have configured in the download client settings. Examples: movies, tv, series, music, ect.
- Sonarr will monitor your download clients active downloads that use that category name. This monitoring occurs via your download client's API.
- Completed files are left in their original location to allow you to seed the file (ratio or time can be adjusted in the download client or from within Sonarr under the specific download client). When files are imported to your media folder Sonarr will hardlink the file if supported by your setup or copy if not hardlinks are not supported.
- Hardlinks are enabled by default. A hardlink will allow not use any additional disk space. The file system and mounts must be the same for your completed download directory and your media library. If the hardlink creation fails or your setup does not support hardlinks then Sonarr will fall back and copy the file.
- If the "Completed Download Handling - Remove" option is enabled in Sonarr's settings, Sonarr will delete the original file and torrent from your client, but only if the client reports that seeding is complete and torrent is stopped.