Sonarr will not load UI

Sonarr version (exact version): 2.0.0.5252
Mono version (if Sonarr is not running on Windows):
OS: Unraid docker
Debug logs:
Description of issue: I keep trying to load the UI but I cannot…I have tried twice to delete my docker image and deleted containers…but it keeps telling me that I have a malformed database. I have no clue what to do with this. Please help.

`2018-12-29 20:44:16.320619 [info] System information Linux 274ad1805b3d 4.18.20-unRAID #1 SMP Fri Nov 23 11:38:16 PST 2018 x86_64 GNU/Linux

2018-12-29 20:44:16.344070 [info] PUID defined as ‘99’
2018-12-29 20:44:16.804602 [info] PGID defined as ‘100’
2018-12-29 20:44:17.379855 [info] UMASK defined as ‘000’
2018-12-29 20:44:17.401945 [info] Setting permissions recursively on volume mappings…
2018-12-29 20:44:20.063533 [info] Starting Supervisor…
2018-12-29 20:44:20,366 INFO Included extra file “/etc/supervisor/conf.d/sonarr.conf” during parsing
2018-12-29 20:44:20,366 INFO Set uid to user 0 succeeded
2018-12-29 20:44:20,368 INFO supervisord started with pid 8
2018-12-29 20:44:21,370 INFO spawned: ‘sonarr’ with pid 50
2018-12-29 20:44:21,371 INFO reaped unknown pid 9
2018-12-29 20:44:21,623 DEBG ‘sonarr’ stdout output:
[Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/NzbDrone.exe - Version 2.0.0.5252

2018-12-29 20:44:21,973 DEBG ‘sonarr’ stdout output:
[Info] AppFolderInfo: Data directory is being overridden to [/config]

2018-12-29 20:44:22,061 DEBG ‘sonarr’ stdout output:
[Info] Router: Application mode: Interactive

2018-12-29 20:44:22,185 DEBG ‘sonarr’ stdout output:
[Info] MigrationLogger: *** Migrating data source=/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***

2018-12-29 20:44:22,283 DEBG ‘sonarr’ stdout output:

2018-12-29 20:44:22,813 DEBG ‘sonarr’ stdout output:
[Fatal] ConsoleApp: EPIC FAIL!

[v2.0.0.5252] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /config/nzbdrone.db is corrupt, restore from backup if available. See: https://github.com/Sonarr/Sonarr/wiki/FAQ#i-am-getting-an-error-database-disk-image-is-malformed —> System.Data.SQLite.SQLiteException: disk I/O error

disk I/O error

at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader…ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader…ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader (System.Data.CommandBehavior behavior) [0x00000] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader () [0x00000] in /build/mono/src/mono/external/corefx/src/System.Data.Common/src/System/Data/Common/DbCommand.cs:112
at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Exists (System.String template, System.Object[] args) [0x0001f] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\SQLite\SQLiteProcessor.cs:81
at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.TableExists (System.String schemaName, System.String tableName) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\SQLite\SQLiteProcessor.cs:47
at FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionTable () [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:124
at FluentMigrator.Runner.VersionLoader.LoadVersionInfo () [0x00028] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:160
at FluentMigrator.Runner.VersionLoader…ctor (FluentMigrator.Runner.IMigrationRunner runner, FluentMigrator.Infrastructure.IAssemblyCollection assemblies, FluentMigrator.IMigrationConventions conventions) [0x00077] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:50
at FluentMigrator.Runner.MigrationRunner…ctor (FluentMigrator.Infrastructure.IAssemblyCollection assemblies, FluentMigrator.Runner.Initialization.IRunnerContext runnerContext, FluentMigrator.IMigrationProcessor processor) [0x00167] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\MigrationRunner.cs:102
at FluentMigrator.Runner.MigrationRunner…ctor (System.Reflection.Assembly assembly, FluentMigrator.Runner.Initialization.IRunnerContext runnerContext, FluentMigrator.IMigrationProcessor processor) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\MigrationRunner.cs:72
at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000b5] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:58
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00048] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:94
— End of inner exception stack trace —
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00121] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:126
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:66
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:46
at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\ApplicationServer.cs:60
at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007b] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Router.cs:47
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:78
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:41
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00029] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Console\ConsoleApp.cs:37

2018-12-29 20:44:22,813 INFO success: sonarr entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-12-29 20:44:22,824 DEBG ‘sonarr’ stdout output:
Press enter to exit…
`

the database (nzbdrone.db) is not in docker. it will be in the /config path you mapped so check there and delete/rename it, then start the container

This was a brand new install and recreation of the appdata/config folders…so it is all a fresh install…still not working…

I did as you suggested…not working…anything else I can try?

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