Sonarr reset wanted for all current season shows

Sonarr version (exact version): 2.0.0.5054
Mono version (if Sonarr is not running on Windows):
OS: WIndows 7 Professional
((Debug logs)): didn’t have debug enabled and this is kind of a pain to recreate.
Description of issue: All episodes of shows currently in season a month or less in age were reset to wanted. I assume it has something to do with the vacuuming and compressing… this has happened to me once before. I shut down sonarr after it downloads and remove the files/folder from the directory…All episodes of currently running season a month or less in age were reset to wanted instead of downloaded.

If you remove the file, Sonarr will detect that the next time is scans the series folder and consider it missing, unless you have Ignore Deleted Episodes enabled before the episode was detected as being deleted.

This behaviour has always been present.

I have never had that enabled and it does not consider it missing. I just verified. It shows status downloaded. This only occurs rarely…I believe when sonarr does vacuuming and database compression.

If there is a file or Sonarr hasn’t noticed the file is missing yet then it will show as downloaded.

Sonarr will rescan the series folder every 12 hours if the series folder exists or if it is missing but the root folder has at least one other folder.

The vacuuming of the database has no impact on the rescanning or detection of missing files.

I hate to argue, but I just forced a rescan of a series that downloaded an episode earlier, I shutdown sonarr and removed the folder and it still shows it as downloaded. This is the way it has always worked for me, and only two or three times have I had the problem with it resetting all my shows.

What does shutting down Sonarr have to do with it?
Did you shutdown Sonarr, delete the file, turn Sonarr back on then rescan?
What do the ((debug logs)) show when you rescan the series? (Enable debug logging, clear the log files and refresh that series and post the whole log file)

I don’t know what shutting it down has to do with it…that’s just the process I use.

Yes, I shutdown Sonarr, move the folder out, turn Sonarr back on and then initiated rescan from the series page and it still showed that episode as downloaded.

I will do another one and post the logs.

17-12-3 21:21:51.3|Debug|XemProxy|Fetching Series IDs from
17-12-3 21:21:51.6|Info|SceneMappingService|Updating Scene mappings
17-12-3 21:21:51.6|Debug|XemProxy|Fetching alternate names
17-12-3 21:21:52.8|Info|RefreshSeriesService|Updating Info for Dirk Gently's Holistic Detective Agency
17-12-3 21:21:53.5|Info|RefreshEpisodeService|Starting episode info refresh for: [312505][Dirk Gently's Holistic Detective Agency]
17-12-3 21:21:53.5|Debug|Api|[GET] /api/episode?seriesId=60: 200.OK (38 ms)
17-12-3 21:21:53.5|Debug|Api|[GET] /api/episodefile?seriesId=60: 200.OK (49 ms)
17-12-3 21:21:53.6|Debug|EpisodeAddedService|No new episodes, skipping search
17-12-3 21:21:53.6|Info|RefreshEpisodeService|Finished episode refresh for series: [312505][Dirk Gently's Holistic Detective Agency].
17-12-3 21:21:53.6|Debug|RefreshSeriesService|Finished series refresh for Dirk Gently's Holistic Detective Agency
17-12-3 21:21:53.6|Warn|DiskScanService|Series' root folder (C:\Temp\Downloads\Shows) is empty.
17-12-3 21:21:53.7|Debug|XemService|Scene numbering is not available for Dirk Gently's Holistic Detective Agency [312505]
17-12-3 21:21:54.3|Debug|CleanExtraFileService|Cleaning missing metadata files for series: Dirk Gently's Holistic Detective Agency
17-12-3 21:21:54.3|Info|MetadataService|Series folder does not exist, skipping metadata creation
17-12-3 21:21:55.4|Debug|SabnzbdProxy|Url: http://localhost:8085/api?mode=queue&start=0&limit=0&apikey=(removed)&output=json
17-12-3 21:21:55.4|Debug|SabnzbdProxy|Url: http://localhost:8085/api?mode=history&start=0&limit=30&apikey=(removed)&output=json
17-12-3 21:21:55.5|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (26 ms)
17-12-3 21:21:59.7|Debug|Api|[GET] /api/health: 200.OK (3 ms)
17-12-3 21:21:59.7|Debug|Api|[GET] /api/diskspace: 200.OK (63 ms)
17-12-3 21:21:59.8|Debug|Api|[GET] /api/health: 200.OK (1 ms)
17-12-3 21:21:59.8|Debug|Api|[GET] /api/diskspace: 200.OK (65 ms)
17-12-3 21:22:00.7|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (100 ms)
17-12-3 21:22:00.7|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (10 ms)
17-12-3 21:22:10.4|Debug|Api|[GET] /api/log/file: 200.OK (33 ms)
17-12-3 21:22:10.5|Debug|Api|[GET] /api/log/file/sonarr.debug.txt: 200.OK (45 ms)
17-12-3 21:22:15.6|Debug|Api|[GET] /api/log/file/sonarr.debug.txt: 200.OK (9 ms)

If I shutdown and forget to move the folder out…the next time I start Sonarr it sees the latest episode there and does the rescan and does consider the previous episodes as missing.

This is what I mentioned above, if the root folder is empty Sonarr won’t rescan it.

In some configurations the root folder is present, but not properly mounted Sonarr would rescan the folder, see the empty folder, treat every series as having all it’s files removed and cause them to be rescanned in later, so Sonarr will avoid rescanning any files on disk (and detecting if files are missing).

You’ll need to leave at least one folder in C:\Temp\Downloads\Shows for Sonarr to monitor the series folders properly. Shouldn’t be a problem if it’s there and hidden if you don’t want to see it, but you can double check that.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.