Sonarr FAQ

From Servarr
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How does Sonarr find episodes?

anchor

  • 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 and Cut-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?

anchor

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. Quality
  2. Language
  3. Preferred Word Score
  4. Protocol
  5. Episode Count
  6. Episode Number
  7. Indexer Priority
  8. Peers (If Torrent)
  9. Age (If Usenet)
  10. Size

Preferred Words FAQs

anchor

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)?

anchor

  • 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 its 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 **fu...** 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
      • Pokemon
        • On TheXem, pokemon is tracking *dubbed* episodes. So if you want subbed episodes, you might be out of luck.
  • Possible resolutions:
  1. 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)
  2. XEM adds a map to allow for alternate orders that sonarr can use (Current status: Unlikely)
  3. 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 thouhgs:
    • 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?

anchor

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.

  1. Make sure it hasn’t already been requested. Requested Mappings
  2. 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.

Sonarr grabbed a release, why can’t it import it?

anchor

The reason it was able to grab the release in the first place was because the indexer returned the tv rage ID for the series and Sonarr was able to match it to that, but that ID is not available during import, so it fails.

TVDB is updated why isn't Sonarr?

anchor

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?

anchor

Sonarr consists of two main branches of code, master and develop, master 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 its been move to Live (in master) it is officially released.

Episode Progress - How is it calculated?

anchor

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?

anchor

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?

anchor

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?

anchor

  • 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?

anchor

  • 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

anchor

  • 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. Its safe to ignore the warnings/errors as well since they are for shows you don’t want, in the event its for a show you want, open up a support thread on the forums.

Seeding torrents aren’t deleted automatically

anchor

  • 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?

anchor

  • 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?

anchor

  • 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

anchor

Run chmod +x /Applications/Sonarr.app/Contents/MacOS/Sonarr


General FAQs

Can I update Sonarr inside my Docker container?

anchor

  • 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

anchor

  • This is simple, please see this link for more information here
Developer Cannot be verified
Developer Cannot be verified

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

anchor

  • 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 by direct_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.

Follow these steps to resolve

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?

anchor

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:


  1. Sonarr runs under the LocalService account by default which doesn’t have access to protected remote file shares.

    Solutions:

  2. 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

Mapped Network Drives vs UNC Paths

anchor

  • 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 Backup/Restore my Sonarr?

anchor

Backing up Sonarr

  • Using built-in backup
  1. Go to System: Backup in the Sonarr UI
  2. Click the Backup button
  3. Download the zip after the backup is created for safekeeping

Backup Sonarr

  • Using file system directly
  1. Find the location of the AppData directory for Sonarr
  2. Stop Sonarr - This will prevent the database from being corrupted
  3. 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
  1. Re-install Sonarr
  2. Run Sonarr
  3. Navigate to System > Backup
  4. Select Restore Backup
  5. Select Choose File
  6. Select your backup zip file
  7. Select Restore

Restore Using zip Backup

  • Using file system backup
  1. Re-install Sonarr
  2. Run Sonarr once to get the AppData directory location
  3. Stop Sonarr
  4. Delete the contents of the AppData directory (Including the .db-wal/.db-journal files if they exist)
  5. Restore from your backup
  6. Start Sonarr
  7. 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.

  1. Re-install Sonarr

  2. Run Sonarr once to get the AppData directory location

  3. Stop Sonarr

  4. Connect to the Synology NAS through SSH and log in as root

  5. 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}}}/
  6. 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 *

  7. 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.

  1. Open config.xml in a text editor
  2. Find the authentication method line will be
<AuthenticationMethod>Basic</AuthenticationMethod>
or
<AuthenticationMethod>Forms</AuthenticationMethod>
  1. Change the AuthenticationMethod line to <AuthenticationMethod>None</AuthenticationMethod>
  2. Restart Sonarr
  3. 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

anchor

  • 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

anchor

  • 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

anchor

Permissions

anchor

  • 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 to 664 both in your downloader and Sonarr. In umask notation, that would be 002.

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

anchor
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
    Chrome cookies
    Chrome cookies
  • Firefox
    Firefox cookies
    Firefox cookies

Unpack Torrents

anchor
Most torrent clients doesn’t come with the automatic handling of compressed archives like their usenet counterparts. We generally recommend unpackerr.

uTorrent is no longer working

anchor

  1. Ensure the Web UI is enabled
  2. Turn on Web UI
  3. Ensure that the Alt Listening Port (Advanced -> Web UI) is not the same as the Listening Port (Connections)
  4. We'd suggest changing the Web UI Alt Listening Port so as to not mess with any port forwarding for connections.
  5. Utorrent-webui-settings2.png

    Utorrent-webui-settings3.png

Does Sonarr require a SABnzbd post-processing script to import downloaded episodes?

anchor

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?

anchor

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

anchor

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

anchor

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 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.