Error updating show: Sequence contains more than one matching element

I get an error any time I try to update Supernatural on my sonarr server. Here are three relevant lines from a trace log:

16-2-5 13:36:43.4|Info|RefreshSeriesService|Updating Info for Supernatural
16-2-5 13:36:43.4|Trace|EventAggregator|Publishing CommandUpdatedEvent
16-2-5 13:36:43.4|Trace|EventAggregator|CommandUpdatedEvent -> CommandModule
16-2-5 13:36:43.4|Trace|EventAggregator|CommandUpdatedEvent <- CommandModule
16-2-5 13:36:43.4|Trace|HttpClient|Req: [GET] http://skyhook.sonarr.tv/v1/tvdb/shows/en/78901
16-2-5 13:36:44.3|Trace|HttpClient|Res: [GET] http://skyhook.sonarr.tv/v1/tvdb/shows/en/78901 : 200.OK (863 ms)
16-2-5 13:36:44.3|Trace|HttpClient|Req: [GET] http://services.sonarr.tv/v1/dailyseries
16-2-5 13:36:44.7|Trace|HttpClient|Res: [GET] http://services.sonarr.tv/v1/dailyseries : 200.OK (311 ms)
set-option -g mouse-select-pane on
16-2-5 13:36:44.7|Trace|CommandQueueManager|Updating command status
16-2-5 13:36:44.7|Trace|EventAggregator|Publishing CommandUpdatedEvent
16-2-5 13:36:44.7|Trace|EventAggregator|CommandUpdatedEvent -> CommandModule
16-2-5 13:36:44.7|Trace|EventAggregator|CommandUpdatedEvent <- CommandModule
16-2-5 13:36:44.7|Trace|EventAggregator|Publishing CommandExecutedEvent
16-2-5 13:36:44.8|Trace|EventAggregator|CommandExecutedEvent -> TaskManager
16-2-5 13:36:44.8|Trace|Owin|SQLite error (5): database is locked

16-2-5 13:36:44.8|Trace|Owin|SQLite error (5): database is locked

16-2-5 13:36:44.9|Trace|EventAggregator|CommandExecutedEvent <- TaskManager
16-2-5 13:36:44.9|Trace|EventAggregator|CommandExecutedEvent -> TaskModule
16-2-5 13:36:44.9|Trace|EventAggregator|CommandExecutedEvent <- TaskModule
16-2-5 13:36:44.9|Error|CommandExecutor|Error occurred while executing task RefreshSeries

System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource] (IEnumerable1 source, System.Func2 predicate) <0x40d4d170 + 0x0018f> in :0
at NzbDrone.Core.Tv.RefreshSeriesService.UpdateSeasons (NzbDrone.Core.Tv.Series series, NzbDrone.Core.Tv.Series seriesInfo) <0x404fee80 + 0x0017b> in :0
at NzbDrone.Core.Tv.RefreshSeriesService.RefreshSeriesInfo (NzbDrone.Core.Tv.Series series) <0x404f2f30 + 0x00af3> in :0
at NzbDrone.Core.Tv.RefreshSeriesService.Execute (NzbDrone.Core.Tv.Commands.RefreshSeriesCommand message) <0x404f0a30 + 0x00133> in :0
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand] (NzbDrone.Core.Messaging.Commands.TCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) <0x404eeaf0 + 0x001b2> in :0

Try removing the series and re-adding it. Looks like a duplicate series was stored previously.

That did it, thanks!

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