2022-08-31 21:47:27.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-08-31 21:47:28.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-08-31 21:47:28.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-08-31 21:47:28.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-08-31 21:47:28.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-08-31 21:47:28.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-08-31 21:47:28.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000873s 2022-08-31 21:47:28.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-08-31 21:47:28.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-08-31 21:47:28.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-08-31 21:51:31.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-08-31 21:51:31.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-08-31 21:51:31.4|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-08-31 22:51:40.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-08-31 22:51:41.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-08-31 22:51:41.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-08-31 22:51:41.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-08-31 22:51:41.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-08-31 22:51:41.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-08-31 22:51:41.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-08-31 22:51:41.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-08-31 22:51:42.0|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-08-31 22:51:42.0|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000493s 2022-08-31 22:51:42.0|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-08-31 22:51:42.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-08-31 22:51:42.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-08-31 22:55:03.3|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-08-31 22:55:03.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-08-31 22:55:03.8|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-08-31 23:55:13.8|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-08-31 23:55:13.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-08-31 23:55:14.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-08-31 23:55:14.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-08-31 23:55:14.7|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-08-31 23:55:14.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-08-31 23:55:14.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-08-31 23:55:14.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-08-31 23:55:14.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-08-31 23:55:14.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0006549s 2022-08-31 23:55:14.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-08-31 23:55:14.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-08-31 23:55:15.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 00:00:17.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 00:00:18.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 00:00:18.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 01:00:25.4|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 01:00:25.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 01:00:26.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 01:00:26.2|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 01:00:26.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 01:00:26.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 01:00:26.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 01:00:26.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 01:00:26.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 01:00:26.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004862s 2022-09-01 01:00:26.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 01:00:26.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 01:00:26.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 01:04:19.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 01:04:19.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 01:04:19.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 02:04:29.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 02:04:29.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 02:04:29.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 02:04:29.9|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 02:04:30.2|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 02:04:30.4|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 02:04:30.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 02:04:30.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 02:04:30.4|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 02:04:30.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004792s 2022-09-01 02:04:30.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 02:04:30.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 02:04:30.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 02:08:10.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 02:08:10.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 02:08:10.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 03:08:17.4|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 03:08:17.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 03:08:17.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 03:08:18.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 03:08:18.4|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 03:08:18.6|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 03:08:18.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 03:08:18.6|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 03:08:18.6|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 03:08:18.6|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0007808s 2022-09-01 03:08:18.6|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 03:08:18.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 03:08:18.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 03:12:06.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 03:12:06.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 03:12:06.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 04:12:13.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 04:12:14.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 04:12:14.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 04:12:14.5|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 04:12:15.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 04:12:15.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 04:12:15.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 04:12:15.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 04:12:15.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 04:12:15.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005329s 2022-09-01 04:12:15.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 04:12:15.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 04:12:15.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 04:16:25.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 04:16:25.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 04:16:25.7|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 05:16:32.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 05:16:33.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 05:16:33.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 05:16:33.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 05:16:34.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 05:16:34.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 05:16:34.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 05:16:34.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 05:16:34.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 05:16:34.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0012251s 2022-09-01 05:16:34.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 05:16:34.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 05:16:34.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 05:20:45.8|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 05:20:46.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 05:20:46.4|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 06:20:54.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 06:20:54.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 06:20:54.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 06:20:54.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 06:20:54.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 06:20:55.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 06:20:55.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 06:20:55.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 06:20:55.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 06:20:55.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005021s 2022-09-01 06:20:55.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 06:20:55.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 06:20:55.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 06:25:17.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 06:25:17.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 06:25:17.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 07:25:28.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 07:25:28.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 07:25:28.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 07:25:28.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 07:25:29.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 07:25:29.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 07:25:29.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 07:25:29.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 07:25:29.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 07:25:29.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000455s 2022-09-01 07:25:29.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 07:25:29.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 07:25:29.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 07:29:12.8|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 07:29:13.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 07:29:13.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 08:29:22.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 08:29:22.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 08:29:23.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 08:29:23.2|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 08:29:23.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 08:29:23.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 08:29:23.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 08:29:23.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 08:29:23.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 08:29:23.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005453s 2022-09-01 08:29:23.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 08:29:23.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 08:29:23.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 08:34:08.6|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 08:34:09.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 08:34:09.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 09:34:19.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 09:34:19.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 09:34:20.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 09:34:20.1|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 09:34:20.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 09:34:20.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 09:34:20.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 09:34:20.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 09:34:20.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 09:34:20.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0009421s 2022-09-01 09:34:20.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 09:34:20.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 09:34:20.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 09:38:24.0|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 09:38:24.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 09:38:24.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 10:38:32.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 10:38:32.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 10:38:32.7|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 10:38:32.8|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 10:38:33.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 10:38:33.3|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 10:38:33.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 10:38:33.3|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 10:38:33.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 10:38:33.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005287s 2022-09-01 10:38:33.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 10:38:33.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 10:38:33.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 10:43:54.7|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 10:43:55.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 10:43:55.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 11:44:05.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 11:44:05.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 11:44:06.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 11:44:06.3|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 11:44:06.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 11:44:07.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 11:44:07.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 11:44:07.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 11:44:07.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 11:44:07.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0009077s 2022-09-01 11:44:07.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 11:44:07.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 11:44:07.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 11:47:43.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 11:47:43.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 11:47:43.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 12:47:51.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 12:47:51.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 12:47:51.7|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 12:47:51.8|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 12:47:52.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 12:47:52.3|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 12:47:52.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 12:47:52.3|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 12:47:52.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 12:47:52.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004951s 2022-09-01 12:47:52.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 12:47:52.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 12:47:52.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 12:51:35.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 12:51:35.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 12:51:35.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 13:51:44.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 13:51:44.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 13:51:44.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 13:51:44.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 13:51:45.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 13:51:45.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 13:51:45.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 13:51:45.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 13:51:45.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 13:51:45.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0006411s 2022-09-01 13:51:45.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 13:51:45.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 13:51:45.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 13:55:13.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 13:55:13.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 13:55:13.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 14:55:23.8|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 14:55:23.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 14:55:24.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 14:55:24.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 14:55:24.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 14:55:25.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 14:55:25.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 14:55:25.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 14:55:25.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 14:55:25.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005093s 2022-09-01 14:55:25.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 14:55:25.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 14:55:25.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 14:59:23.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 14:59:24.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 14:59:24.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 15:59:33.6|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 15:59:33.7|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 15:59:34.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 15:59:34.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 15:59:34.7|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 15:59:34.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 15:59:34.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 15:59:34.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 15:59:34.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 15:59:34.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005144s 2022-09-01 15:59:34.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 15:59:34.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 15:59:35.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 16:03:35.6|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 16:03:36.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 16:03:36.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 17:03:43.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 17:03:44.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 17:03:44.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 17:03:44.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 17:03:44.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 17:03:44.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 17:03:44.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 17:03:44.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 17:03:44.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 17:03:44.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004736s 2022-09-01 17:03:44.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 17:03:45.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 17:03:45.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 17:07:34.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 17:07:34.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 17:07:34.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 18:07:44.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 18:07:44.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 18:07:44.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 18:07:44.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 18:07:45.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 18:07:45.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 18:07:45.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 18:07:45.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 18:07:45.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 18:07:45.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000432s 2022-09-01 18:07:45.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 18:07:45.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 18:07:45.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 18:11:52.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 18:11:53.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 18:11:53.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 19:12:05.5|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 19:12:05.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 19:12:05.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 19:12:06.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 19:12:06.3|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 19:12:06.5|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 19:12:06.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 19:12:06.5|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 19:12:06.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 19:12:06.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004599s 2022-09-01 19:12:06.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 19:12:06.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 19:12:06.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 19:16:45.8|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 19:16:46.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 19:16:46.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 20:16:55.5|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 20:16:55.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 20:16:55.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 20:16:56.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 20:16:56.4|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 20:16:56.5|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 20:16:56.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 20:16:56.5|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 20:16:56.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 20:16:56.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005037s 2022-09-01 20:16:56.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 20:16:56.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 20:16:56.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 20:20:50.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 20:20:51.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 20:20:51.2|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 21:21:00.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 21:21:00.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 21:21:01.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 21:21:01.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 21:21:01.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 21:21:02.0|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 21:21:02.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 21:21:02.0|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 21:21:02.0|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 21:21:02.0|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004453s 2022-09-01 21:21:02.0|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 21:21:02.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 21:21:02.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 21:25:08.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 21:25:09.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 21:25:09.2|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 22:25:18.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 22:25:18.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 22:25:19.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 22:25:19.2|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 22:25:19.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 22:25:19.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 22:25:19.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 22:25:19.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 22:25:19.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 22:25:19.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0007768s 2022-09-01 22:25:19.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 22:25:19.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 22:25:19.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 22:30:11.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 22:30:11.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 22:30:11.8|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-01 23:30:24.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-01 23:30:24.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 23:30:25.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-01 23:30:26.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 23:30:26.4|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-01 23:30:26.6|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-01 23:30:26.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-01 23:30:26.6|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-01 23:30:26.6|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-01 23:30:26.6|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0008664s 2022-09-01 23:30:26.6|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-01 23:30:26.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-01 23:30:26.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-01 23:34:11.7|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-01 23:34:11.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-01 23:34:11.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 00:34:19.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 00:34:19.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 00:34:19.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 00:34:19.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 00:34:19.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 00:34:20.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 00:34:20.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 00:34:20.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 00:34:20.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 00:34:20.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005874s 2022-09-02 00:34:20.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 00:34:20.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 00:34:20.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 00:38:28.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 00:38:28.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 00:38:28.4|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 01:38:36.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 01:38:36.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 01:38:36.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 01:38:36.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 01:38:37.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 01:38:37.3|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 01:38:37.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 01:38:37.3|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 01:38:37.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 01:38:37.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004838s 2022-09-02 01:38:37.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 01:38:37.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 01:38:37.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 01:42:21.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 01:42:21.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 01:42:21.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 02:42:29.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 02:42:29.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 02:42:29.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 02:42:29.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 02:42:30.2|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 02:42:30.3|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 02:42:30.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 02:42:30.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 02:42:30.4|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 02:42:30.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0006212s 2022-09-02 02:42:30.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 02:42:30.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 02:42:30.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 02:45:51.6|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 02:45:51.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 02:45:51.8|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 03:46:01.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 03:46:01.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 03:46:01.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 03:46:01.5|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 03:46:01.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 03:46:01.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 03:46:02.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 03:46:02.0|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 03:46:02.0|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 03:46:02.0|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005917s 2022-09-02 03:46:02.0|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 03:46:02.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 03:46:02.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 03:49:32.8|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 03:49:33.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 03:49:33.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 04:49:44.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 04:49:44.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 04:49:44.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 04:49:44.9|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 04:49:45.2|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 04:49:45.4|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 04:49:45.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 04:49:45.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 04:49:45.4|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 04:49:45.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0007016s 2022-09-02 04:49:45.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 04:49:45.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 04:49:45.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 04:53:53.6|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 04:53:54.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 04:53:54.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 05:54:04.6|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 05:54:04.7|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 05:54:05.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 05:54:05.3|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 05:54:05.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 05:54:05.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 05:54:05.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 05:54:05.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 05:54:05.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 05:54:05.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005274s 2022-09-02 05:54:05.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 05:54:05.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 05:54:05.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 05:59:25.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 05:59:26.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 05:59:26.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 06:59:38.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 06:59:38.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 06:59:38.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 06:59:38.8|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 06:59:39.3|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 06:59:39.4|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 06:59:39.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 06:59:39.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 06:59:39.4|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 06:59:39.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004927s 2022-09-02 06:59:39.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 06:59:39.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 06:59:39.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 07:03:42.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 07:03:43.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 07:03:43.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 08:03:52.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 08:03:52.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 08:03:53.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 08:03:53.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 08:03:53.7|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 08:03:53.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 08:03:53.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 08:03:53.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 08:03:53.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 08:03:53.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005847s 2022-09-02 08:03:53.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 08:03:53.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 08:03:53.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 08:08:15.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 08:08:15.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 08:08:15.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 09:08:23.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 09:08:23.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 09:08:23.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 09:08:24.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 09:08:24.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 09:08:24.6|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 09:08:24.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 09:08:24.6|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 09:08:24.6|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 09:08:24.6|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005536s 2022-09-02 09:08:24.6|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 09:08:24.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 09:08:24.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 09:12:55.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 09:12:55.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 09:12:55.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 10:13:03.6|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 10:13:03.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 10:13:04.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 10:13:04.3|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 10:13:04.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 10:13:04.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 10:13:04.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 10:13:04.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 10:13:04.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 10:13:04.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005356s 2022-09-02 10:13:04.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 10:13:04.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 10:13:04.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 10:19:13.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 10:19:13.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 10:19:13.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 11:19:21.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 11:19:21.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 11:19:22.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 11:19:22.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 11:19:23.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 11:19:23.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 11:19:23.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 11:19:23.3|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 11:19:23.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 11:19:23.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005185s 2022-09-02 11:19:23.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 11:19:23.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 11:19:23.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 11:24:39.3|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 11:24:39.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 11:24:39.7|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 12:24:49.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 12:24:49.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 12:24:49.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 12:24:49.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 12:24:50.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 12:24:50.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 12:24:50.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 12:24:50.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 12:24:50.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 12:24:50.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005757s 2022-09-02 12:24:50.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 12:24:50.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 12:24:50.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 12:30:53.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 12:30:54.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 12:30:54.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 13:31:05.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 13:31:05.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 13:31:05.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 13:31:05.9|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 13:31:06.2|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 13:31:06.4|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 13:31:06.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 13:31:06.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 13:31:06.4|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 13:31:06.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000467s 2022-09-02 13:31:06.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 13:31:06.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 13:31:06.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 13:35:49.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 13:35:49.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 13:35:49.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 14:35:57.4|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 14:35:57.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 14:35:58.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 14:35:58.1|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 14:35:58.4|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 14:35:58.6|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 14:35:58.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 14:35:58.6|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 14:35:58.6|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 14:35:58.6|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005967s 2022-09-02 14:35:58.6|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 14:35:58.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 14:35:58.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 14:39:35.0|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 14:39:35.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 14:39:35.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 15:39:42.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 15:39:43.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 15:39:43.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 15:39:43.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 15:39:43.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 15:39:43.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 15:39:43.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 15:39:43.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 15:39:43.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 15:39:43.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004605s 2022-09-02 15:39:43.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 15:39:44.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 15:39:44.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 15:43:43.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 15:43:43.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 15:43:43.4|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 16:43:51.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 16:43:51.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 16:43:52.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 16:43:52.2|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 16:43:52.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 16:43:52.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 16:43:52.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 16:43:52.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 16:43:52.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 16:43:52.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005078s 2022-09-02 16:43:52.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 16:43:52.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 16:43:52.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 16:51:05.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 16:51:05.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 16:51:05.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 17:51:13.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 17:51:13.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 17:51:13.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 17:51:13.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 17:51:14.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 17:51:14.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 17:51:14.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 17:51:14.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 17:51:14.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 17:51:14.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004784s 2022-09-02 17:51:14.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 17:51:14.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 17:51:14.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 17:55:57.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 17:55:57.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 17:55:57.2|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 18:56:04.5|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 18:56:04.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 18:56:05.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 18:56:05.1|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 18:56:05.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 18:56:05.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 18:56:05.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 18:56:05.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 18:56:05.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 18:56:05.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005587s 2022-09-02 18:56:05.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 18:56:05.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 18:56:05.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 18:58:41.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 18:58:41.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 18:58:41.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 19:58:48.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 19:58:48.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 19:58:49.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 19:58:49.2|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 19:58:49.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 19:58:49.6|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 19:58:49.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 19:58:49.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 19:58:49.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 19:58:49.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005239s 2022-09-02 19:58:49.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 19:58:49.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 19:58:49.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 20:01:52.3|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 20:01:52.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 20:01:52.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 21:01:59.8|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 21:01:59.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 21:02:00.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 21:02:00.3|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 21:02:00.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 21:02:00.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 21:02:00.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 21:02:00.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 21:02:00.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 21:02:00.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005959s 2022-09-02 21:02:00.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 21:02:00.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 21:02:00.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 21:05:00.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 21:05:01.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 21:05:01.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 22:05:08.6|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 22:05:08.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 22:05:09.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 22:05:09.3|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 22:05:09.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 22:05:09.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 22:05:09.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 22:05:09.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 22:05:09.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 22:05:09.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0007427s 2022-09-02 22:05:09.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 22:05:09.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 22:05:09.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 22:08:19.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 22:08:20.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 22:08:20.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-02 23:08:31.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-02 23:08:31.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 23:08:31.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-02 23:08:31.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 23:08:31.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-02 23:08:32.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-02 23:08:32.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-02 23:08:32.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-02 23:08:32.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-02 23:08:32.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0011381s 2022-09-02 23:08:32.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-02 23:08:32.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-02 23:08:32.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-02 23:12:49.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-02 23:12:50.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-02 23:12:50.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 00:12:59.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 00:12:59.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 00:12:59.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 00:12:59.9|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 00:13:00.3|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 00:13:00.5|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 00:13:00.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 00:13:00.5|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 00:13:00.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 00:13:00.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005992s 2022-09-03 00:13:00.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 00:13:00.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 00:13:00.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 00:16:16.3|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 00:16:16.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 00:16:16.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 01:16:25.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 01:16:26.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 01:16:26.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 01:16:26.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 01:16:26.7|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 01:16:26.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 01:16:26.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 01:16:26.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 01:16:26.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 01:16:26.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005538s 2022-09-03 01:16:26.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 01:16:26.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 01:16:27.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 01:20:15.7|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 01:20:16.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 01:20:16.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 02:20:28.4|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 02:20:28.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 02:20:29.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 02:20:29.1|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 02:20:29.4|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 02:20:29.6|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 02:20:29.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 02:20:29.6|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 02:20:29.6|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 02:20:29.6|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000556s 2022-09-03 02:20:29.6|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 02:20:29.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 02:20:29.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 02:27:57.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 02:27:57.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 02:27:57.7|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 03:28:05.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 03:28:05.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 03:28:05.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 03:28:05.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 03:28:05.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 03:28:06.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 03:28:06.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 03:28:06.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 03:28:06.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 03:28:06.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0008692s 2022-09-03 03:28:06.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 03:28:06.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 03:28:06.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 03:34:16.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 03:34:17.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 03:34:17.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 04:34:24.8|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 04:34:24.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 04:34:25.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 04:34:25.3|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 04:34:25.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 04:34:25.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 04:34:25.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 04:34:25.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 04:34:25.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 04:34:25.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005582s 2022-09-03 04:34:25.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 04:34:25.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 04:34:25.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 04:37:59.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 04:37:59.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 04:37:59.8|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 05:38:07.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 05:38:07.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 05:38:07.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 05:38:07.8|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 05:38:08.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 05:38:08.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 05:38:08.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 05:38:08.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 05:38:08.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 05:38:08.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004931s 2022-09-03 05:38:08.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 05:38:08.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 05:38:08.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 05:42:42.6|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 05:42:43.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 05:42:43.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 06:42:50.8|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 06:42:50.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 06:42:51.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 06:42:51.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 06:42:51.7|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 06:42:51.8|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 06:42:51.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 06:42:51.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 06:42:51.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 06:42:51.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005407s 2022-09-03 06:42:51.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 06:42:51.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 06:42:51.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 06:46:19.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 06:46:19.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 06:46:19.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 07:46:27.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 07:46:27.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 07:46:27.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 07:46:27.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 07:46:28.0|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 07:46:28.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 07:46:28.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 07:46:28.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 07:46:28.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 07:46:28.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0006286s 2022-09-03 07:46:28.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 07:46:28.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 07:46:28.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 07:50:16.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 07:50:17.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 07:50:17.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 08:50:24.4|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 08:50:24.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 08:50:24.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 08:50:25.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 08:50:25.3|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 08:50:25.5|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 08:50:25.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 08:50:25.5|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 08:50:25.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 08:50:25.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004551s 2022-09-03 08:50:25.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 08:50:25.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 08:50:25.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 08:54:07.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 08:54:07.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 08:54:07.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 09:54:16.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 09:54:16.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 09:54:16.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 09:54:16.7|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 09:54:17.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 09:54:17.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 09:54:17.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 09:54:17.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 09:54:17.2|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 09:54:17.2|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0006923s 2022-09-03 09:54:17.2|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 09:54:17.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 09:54:17.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 09:58:09.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 09:58:10.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 09:58:10.4|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 10:58:17.7|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 10:58:17.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 10:58:18.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 10:58:18.5|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 10:58:19.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 10:58:19.2|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 10:58:19.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 10:58:19.2|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 10:58:19.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 10:58:19.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0008302s 2022-09-03 10:58:19.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 10:58:19.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 10:58:19.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 11:06:39.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 11:06:39.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 11:06:39.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 12:06:47.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 12:06:47.5|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 12:06:47.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 12:06:48.1|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 12:06:48.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 12:06:48.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 12:06:48.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 12:06:48.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 12:06:48.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 12:06:48.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0006101s 2022-09-03 12:06:48.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 12:06:48.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 12:06:48.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 12:13:02.5|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 12:13:03.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 12:13:03.1|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 13:13:10.3|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 13:13:10.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 13:13:10.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 13:13:10.9|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 13:13:11.4|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 13:13:11.5|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 13:13:11.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 13:13:11.5|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 13:13:11.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 13:13:11.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004493s 2022-09-03 13:13:11.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 13:13:11.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 13:13:11.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 13:17:37.6|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 13:17:37.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 13:17:38.0|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 14:17:45.5|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 14:17:45.6|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 14:17:46.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 14:17:46.1|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 14:17:46.6|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 14:17:46.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 14:17:46.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 14:17:46.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 14:17:46.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 14:17:46.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005581s 2022-09-03 14:17:46.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 14:17:46.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 14:17:46.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 14:21:28.7|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 14:21:28.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 14:21:28.9|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 15:21:39.2|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 15:21:39.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 15:21:39.9|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 15:21:40.0|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 15:21:40.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 15:21:40.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 15:21:40.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 15:21:40.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 15:21:40.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 15:21:40.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0007674s 2022-09-03 15:21:40.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 15:21:40.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 15:21:40.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 15:25:21.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 15:25:21.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 15:25:21.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 16:25:28.5|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 16:25:28.7|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 16:25:29.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 16:25:29.2|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 16:25:29.5|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 16:25:29.7|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 16:25:29.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 16:25:29.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 16:25:29.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 16:25:29.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005353s 2022-09-03 16:25:29.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 16:25:29.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 16:25:29.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 16:29:03.4|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 16:29:03.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 16:29:03.7|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 17:29:14.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 17:29:14.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 17:29:14.4|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 17:29:14.6|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 17:29:14.9|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 17:29:15.1|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 17:29:15.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 17:29:15.1|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 17:29:15.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 17:29:15.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005053s 2022-09-03 17:29:15.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 17:29:15.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 17:29:15.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 17:32:41.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 17:32:42.2|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 17:32:42.2|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 18:32:49.6|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 18:32:49.8|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 18:32:50.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 18:32:50.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 18:32:50.8|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 18:32:51.0|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 18:32:51.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 18:32:51.0|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 18:32:51.1|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 18:32:51.1|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0005506s 2022-09-03 18:32:51.1|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 18:32:51.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 18:32:51.1|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 18:36:13.1|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 18:36:13.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 18:36:13.6|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 19:36:21.1|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 19:36:21.2|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 19:36:21.7|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 19:36:21.8|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 19:36:22.1|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 19:36:22.3|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 19:36:22.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 19:36:22.3|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 19:36:22.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 19:36:22.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004491s 2022-09-03 19:36:22.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 19:36:22.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 19:36:22.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 19:40:35.9|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 19:40:36.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 19:40:36.3|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 20:40:43.9|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 20:40:44.0|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 20:40:44.3|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 20:40:44.4|Info|MigrationController|*** Migrating data source=/config/readarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 20:40:44.7|Info|MigrationController|*** Migrating data source=/config/cache.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 2022-09-03 20:40:44.9|Info|FluentMigrator.Runner.MigrationRunner|23: postgres_update_timestamp_columns_to_with_timezone migrating 2022-09-03 20:40:44.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction 2022-09-03 20:40:44.9|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration to 23 2022-09-03 20:40:44.9|Info|FluentMigrator.Runner.MigrationRunner|AlterTable HttpResponse 2022-09-03 20:40:44.9|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004517s 2022-09-03 20:40:44.9|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn HttpResponse LastRefresh DateTimeOffset 2022-09-03 20:40:45.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "HttpResponse_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Url" TEXT NOT NULL, "LastRefresh" DATETIME, "Expiry" DATETIME NOT NULL, "Value" TEXT NOT NULL, "StatusCode" INTEGER NOT NULL) 2022-09-03 20:40:45.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse" 2022-09-03 20:44:26.2|Error|FluentMigrator.Runner.MigrationRunner|database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" [v0.1.1.1409] System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) 2022-09-03 20:44:26.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction 2022-09-03 20:44:26.5|Fatal|ConsoleApp|EPIC FAIL! [v0.1.1.1409] NzbDrone.Common.Exceptions.ReadarrStartupException: Readarr failed to start: Error creating log database ---> System.Exception: database disk image is malformed database disk image is malformed While Processing: "INSERT INTO "HttpResponse_temp" ("Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode") SELECT "Id", "Url", "LastRefresh", "Expiry", "Value", "StatusCode" FROM "HttpResponse"" ---> code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed database disk image is malformed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) --- End of inner exception stack trace --- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql) at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql) at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137 at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45 at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor) at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.b__1() at FluentMigrator.Runner.StopWatch.Time(Action action) at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions) at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions) at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) at FluentMigrator.Runner.MigrationRunner.MigrateUp() at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79 at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 144 --- End of inner exception stack trace --- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 168 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 84 at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 56 at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.b__0_2(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 12 at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7898 at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3623 at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3421 at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3077 at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3011 at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10939 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10858 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11851 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.WrappersSupport.GetArrayExpression(Request request) in /_/src/DryIoc/Container.cs:line 5073 at DryIoc.WrappersSupport.<>c.b__9_0(Request r) in /_/src/DryIoc/Container.cs:line 4913 at DryIoc.ExpressionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12318 at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10841 at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 420 at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 338 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices[T](IServiceProvider provider) at NzbDrone.Common.ServiceFactory.BuildAll[T]() in D:\a\1\s\src\NzbDrone.Common\ServiceFactory.cs:line 36 at NzbDrone.Core.Messaging.Events.EventAggregator.EventSubscribers`1..ctor(IServiceFactory serviceFactory) in D:\a\1\s\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 34 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.b__1(IContainer c) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 139 at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.b__0(HostBuilderContext context, TContainerBuilder builder) at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 79 at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43 2022-09-03 21:44:36.0|Info|Bootstrap|Starting Readarr - /app/bin/Readarr.dll - Version 0.1.1.1409 2022-09-03 21:44:36.1|Info|AppFolderInfo|Data directory is being overridden to [/config] 2022-09-03 21:44:36.5|Info|AppFolderInfo|Data directory is being overridden to [/config]