Sonarr UI doesnt load - stuck on 4 dots

Hi,

I’m using the latest version of Sonarr and it stopped working for some reason.
Now, when I start it, I get stuck on the 4 loading dots that run forever.

The Chrome console displays this error code:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check http://xhr.spec.whatwg.org/.
http://localhost:8989/vendor.js?h=NOz6raKqgTFZ6W0BIwb0Gg Failed to load resource: the server responded with a status of 500 (Internal Server Error)send @ vendor.js:40226
vendor.js:30557 Uncaught Internal Server Error

Killing the app, restarting, installing another version doesnt seem to do anything.

Thank you for your help!

Check the log files for any errors.

Hey, thanks for your reply.

Here is my log file. I don’t really understand what it means :smile:

    15-5-8 12:39:12.9|Info|Bootstrap|Starting NzbDrone - /Applications/Sonarr.app/Contents/MacOS/nzbdrone.exe - Version 2.0.0.3004
15-5-8 12:39:13.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-5-8 12:39:14.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-5-8 12:39:14.3|Info|MigrationLogger|*** Migrating data source=/Users/martinsaunierplumaz/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-5-8 12:39:14.4|Debug|MigrationLogger|Took: 00:00:00.1469296
15-5-8 12:39:14.4|Info|MigrationLogger|*** Migrating data source=/Users/martinsaunierplumaz/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-5-8 12:39:14.4|Debug|MigrationLogger|Took: 00:00:00.0093471
15-5-8 12:39:14.5|Info|Router|Application mode: Interactive
15-5-8 12:39:14.5|Debug|Router|Console selected
15-5-8 12:39:14.5|Info|OwinHostController|Listening on the following URLs:
15-5-8 12:39:14.5|Info|OwinHostController|  http://*:8989/
15-5-8 12:39:14.6|Debug|OwinAppFactory|Attaching NzbDroneVersionMiddleWare to host
15-5-8 12:39:14.6|Debug|OwinAppFactory|Attaching SignalRMiddleWare to host
15-5-8 12:39:14.6|Debug|OwinAppFactory|Attaching NancyMiddleWare to host
15-5-8 12:39:14.6|Info|NancyBootstrapper|Starting NzbDrone API
15-5-8 12:39:14.8|Trace|EventAggregator|Publishing ApplicationStartedEvent
15-5-8 12:39:15.2|Trace|EventAggregator|ApplicationStartedEvent -> UserService
15-5-8 12:39:15.2|Trace|EventAggregator|ApplicationStartedEvent <- UserService
15-5-8 12:39:15.2|Trace|EventAggregator|ApplicationStartedEvent -> DownloadClientFactory
15-5-8 12:39:15.2|Debug|DownloadClientFactory|Initializing Providers. Count 8
15-5-8 12:39:15.3|Trace|EventAggregator|ApplicationStartedEvent <- DownloadClientFactory
15-5-8 12:39:15.3|Trace|EventAggregator|ApplicationStartedEvent -> IndexerFactory
15-5-8 12:39:15.3|Debug|IndexerFactory|Initializing Providers. Count 12
15-5-8 12:39:15.3|Trace|EventAggregator|ApplicationStartedEvent <- IndexerFactory
15-5-8 12:39:15.3|Trace|EventAggregator|ApplicationStartedEvent -> ReconfigureLogging
15-5-8 12:39:16.2|Info|SceneMappingService|Updating Scene mappings
15-5-8 12:39:17.3|Info|HousekeepingService|Running housecleaning tasks
15-5-8 12:39:17.4|Error|HousekeepingService|Error running housekeeping task: UpdateCleanTitleForSeries

Marr.Data.DataMappingException: The DataMapper was unable to load the following field: 'Ratings' value: 'le Sommer",
    "images": [
      '. Unexpected character encountered while parsing value: l. Path '', line 0, position 0. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: l. Path '', line 0, position 0.
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Marr.Data.Mapping.MappingHelper.LoadExistingEntity (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, System.Object ent, Boolean useAltName) [0x000b1] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\Mapping\MappingHelper.cs:79 
  at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity (System.Type entityType, Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, Boolean useAltName) [0x00012] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\Mapping\MappingHelper.cs:40 
  at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity[Series] (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, Boolean useAltName) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\Mapping\MappingHelper.cs:25 
  at Marr.Data.DataMapper.Query[Series] (System.String sql, ICollection`1 entityList, Boolean useAltName) [0x0008d] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\DataMapper.cs:577 
  at Marr.Data.QGen.QueryBuilder`1[NzbDrone.Core.Tv.Series].ToList () [0x00052] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\QGen\QueryBuilder.cs:279 
  at NzbDrone.Core.Datastore.BasicRepository`1[NzbDrone.Core.Tv.Series].All () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Datastore\BasicRepository.cs:66 
  at NzbDrone.Core.Housekeeping.Housekeepers.UpdateCleanTitleForSeries.Clean () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Housekeeping\Housekeepers\UpdateCleanTitleForSeries.cs:18 
  at NzbDrone.Core.Housekeeping.HousekeepingService.Clean () [0x00040] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Housekeeping\HousekeepingService.cs:33 

15-5-8 12:39:17.4|Info|Database|Vacuuming database
15-5-8 12:39:17.5|Info|Database|Database Compressed
15-5-8 12:39:18.0|Error|TaskExtensions|Task Error

Marr.Data.DataMappingException: The DataMapper was unable to load the following field: 'Ratings' value: 'le Sommer",
    "images": [
      '. Unexpected character encountered while parsing value: l. Path '', line 0, position 0. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: l. Path '', line 0, position 0.
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Marr.Data.Mapping.MappingHelper.LoadExistingEntity (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, System.Object ent, Boolean useAltName) [0x000b1] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\Mapping\MappingHelper.cs:79 
  at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity (System.Type entityType, Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, Boolean useAltName) [0x00012] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\Mapping\MappingHelper.cs:40 
  at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity[Series] (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, Boolean useAltName) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\Mapping\MappingHelper.cs:25 
  at Marr.Data.DataMapper.Query[Series] (System.String sql, ICollection`1 entityList, Boolean useAltName) [0x0008d] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\DataMapper.cs:577 
  at Marr.Data.QGen.QueryBuilder`1[NzbDrone.Core.Tv.Series].ToList () [0x00052] in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\QGen\QueryBuilder.cs:279 
  at NzbDrone.Core.Datastore.BasicRepository`1[NzbDrone.Core.Tv.Series].All () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Datastore\BasicRepository.cs:66 
  at NzbDrone.Core.Tv.SeriesService.GetAllSeries () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Tv\SeriesService.cs:164 
  at NzbDrone.Core.HealthCheck.Checks.RootFolderCheck.Check () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\Checks\RootFolderCheck.cs:21 
  at NzbDrone.Core.HealthCheck.HealthCheckService.<PerformHealthCheck>b__0 (IProvideHealthCheck c) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:56 
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[NzbDrone.Core.HealthCheck.IProvideHealthCheck,NzbDrone.Core.HealthCheck.HealthCheck].MoveNext () [0x00059] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2270 
  at System.Collections.Generic.List`1[NzbDrone.Core.HealthCheck.HealthCheck].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[NzbDrone.Core.HealthCheck.HealthCheck]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[HealthCheck] (IEnumerable`1 source) [0x00006] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2952 
  at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (System.Func`2 predicate) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:55 
  at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:92 
  at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass3`1[NzbDrone.Core.Lifecycle.ApplicationStartedEvent].<PublishEvent>b__0 () [0x00035] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:72 
  at System.Threading.Tasks.TaskActionInvoker+ActionInvoke.Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:71 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00031] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/corlib/System.Threading.Tasks/Task.cs:548 
  at System.Threading.Tasks.Task.ThreadStart () [0x000d0] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/corlib/System.Threading.Tasks/Task.cs:438 

Thanks for your help :slight_smile:

Something in the DB is corrupt (specifically the ratings for at least 1 series).

Which version of mono are you running?

Restoring from backup is probably the easiest: https://github.com/Sonarr/Sonarr/wiki/Backup-and-Restore

Awesome, it worked using the backup and restore technique ! Thanks a lot :smile:

1 Like