Unable to access the webUI

Sonarr version (exact version):
2.0.0.4928
Mono version (if Sonarr is not running on Windows):
Mono JIT compiler version 5.0.1.1 (2017-02/5077205 Thu May 25 10:16:58 UTC 2017)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)

OS:
Raspbian Pi.
((Debug logs)):
https://pastebin.com/LUukFgpG

Sonarr appears to load and function properly in the background, but the WEbui will not let me access it. I get the “3 dots” moving back and forth. It will not load the UI.

I posted over in the github, and was told to follow the directions here https://github.com/Sonarr/Sonarr/wiki/Backup-and-Restore, Which I did. I did a complete reinstall of sonarr. This is the log of the very first run. It appears to fail right after the web is loaded. (line 239-240)

Aug 11 06:56:15 Media mono[20070]: [Error] TaskExtensions: Task Error
Aug 11 06:56:15 Media mono[20070]: [v2.0.0.4928] Marr.Data.DataMappingException: The DataMapper was unable to load the following field: ‘Ratings’ value: ’

With a new database, the existing one or a restored backup? It’s failing in the same place, so either the restored DB is still corrupt or it’s the same one. If you restored a DB and it’s still corrupt you’ll want to restore an older copy. You could also update the database file with a SQLite editor and fix the ratings. UPDATE Series SET ratings = '{}' then start up Sonarr and refresh all series.

@Walter_lefort

I’m curious, which OS are you using? I’m on Centos and mine is doing the same thing [I didn’t do a DB restore/etc]… mono/sonarr is crashing but the service still runs. Did yours still have port open/etc (Sonarr was running but no www)?

I actually caught a crash-dump so hopefully the devs can find something useful on the post I made earlier this week.

So I just deleted the database to get back to a “fresh start” IE: no databse files at all, Same error

17-8-11 14:12:30.9|Info|Bootstrap|Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.4928
17-8-11 14:12:55.3|Info|MigrationLogger|*** Migrating data source=/home/pi/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-8-11 14:12:57.1|Info|MigrationLogger|*** Migrating data source=/home/pi/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-8-11 14:12:58.4|Info|Router|Application mode: Interactive
17-8-11 14:12:58.5|Info|OwinHostController|Listening on the following URLs:
17-8-11 14:12:58.5|Info|OwinHostController| http://*:8989/
17-8-11 14:13:00.4|Info|NancyBootstrapper|Starting Web Server
17-8-11 14:13:30.4|Error|TaskExtensions|Task Error

[v2.0.0.4928] Marr.Data.DataMappingException: The DataMapper was unable to load the following field: ‘Ratings’ value: ‘
]{
“votes”: 0,
“value”: 0.0’. JsonToken EndArray is not valid for closing JsonType None. Path ‘’, line 2, position 1. —> Newtonsoft.Json.JsonReaderException: JsonToken EndArray is not valid for closing JsonType None. Path ‘’, line 2, position 1.
at Newtonsoft.Json.JsonReader.ValidateEnd (Newtonsoft.Json.JsonToken endToken) [0x00032] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonReader.SetToken (Newtonsoft.Json.JsonToken newToken, System.Object value, System.Boolean updateIndex) [0x00092] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonReader.SetToken (Newtonsoft.Json.JsonToken newToken) [0x00000] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00220] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <1fa899c21f554672afbc630cc93b185e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <1fa899c21f554672afbc630cc93b185e>:0
at NzbDrone.Core.Datastore.Converters.EmbeddedDocumentConverter.FromDB (Marr.Data.Converters.ConverterContext context) [0x00035] in :0
at Marr.Data.Mapping.MappingHelper.LoadExistingEntity (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, System.Object ent, System.Boolean useAltName) [0x00067] in <1ad80a044fa54eefa0f1b8bdde9be481>: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, System.Boolean useAltName) [0x000af] in <1ad80a044fa54eefa0f1b8bdde9be481>:0
at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity (System.Type entityType, Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, System.Boolean useAltName) [0x00012] in <1ad80a044fa54eefa0f1b8bdde9be481>:0
at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity[T] (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, System.Boolean useAltName) [0x00000] in <1ad80a044fa54eefa0f1b8bdde9be481>:0
at Marr.Data.DataMapper.Query[T] (System.String sql, System.Collections.Generic.ICollection1[T] entityList, System.Boolean useAltName) [0x0008d] in <1ad80a044fa54eefa0f1b8bdde9be481>:0 at Marr.Data.QGen.QueryBuilder1[T].ToList () [0x00052] in <1ad80a044fa54eefa0f1b8bdde9be481>:0
at NzbDrone.Core.Datastore.BasicRepository1[TModel].All () [0x0000b] in <b7a208fbd6d54c1594674021391c0aee>:0 at NzbDrone.Core.Tv.SeriesService.GetAllSeries () [0x00000] in <b7a208fbd6d54c1594674021391c0aee>:0 at NzbDrone.Core.HealthCheck.Checks.MountCheck.Check () [0x00000] in <b7a208fbd6d54c1594674021391c0aee>:0 at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__11_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <b7a208fbd6d54c1594674021391c0aee>:0 at System.Linq.Enumerable+SelectArrayIterator2[TSource,TResult].ToList () [0x00014] in <26aedeede9534b948c539f8734c8492d>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <26aedeede9534b948c539f8734c8492d>:0 at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (NzbDrone.Core.HealthCheck.IProvideHealthCheck[] healthChecks) [0x00025] in <b7a208fbd6d54c1594674021391c0aee>:0 at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in <b7a208fbd6d54c1594674021391c0aee>:0 at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass4_21[TEvent].b__1 () [0x00035] in :0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9bc402929dff445999ba28b84751d284>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <9bc402929dff445999ba28b84751d284>:0

Raspberry pi3. As far as I can tell it still running in the background. Files are comming into transmission and downloading, plex updated…etc.

ITs just the WWW thats failing.

You removed this DB file /home/pi/.config/NzbDrone/nzbdrone.db? Or was it under a different user?
If the DB was empty nothing would be stored in the ratings field.

With mine, I downgraded back to a more stable 4.2.x mono. It seems to have fixed the crashing I was getting.

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