Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 21-9-27 21:41:12.3|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:41:12.5|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:41:12.5|Debug|ProcessProvider| - [20040] Sonarr
- 21-9-27 21:41:12.6|Info|Router|Application mode: Interactive
- 21-9-27 21:41:12.6|Debug|Router|Console selected
- 21-9-27 21:41:13.1|Info|DatabaseRestorationService|Restoring Database
- 21-9-27 21:41:13.1|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:41:13.7|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:41:13.7|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:41:13.7|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:41:13.7|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:41:13.7|Debug|MigrationLogger|
- 21-9-27 21:41:13.7|Debug|MigrationLogger|Took: 00:00:00.0013480
- 21-9-27 21:41:13.7|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:41:13.7|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:41:13.7|Debug|MigrationLogger|Took: 00:00:00.0191980
- 21-9-27 21:41:13.8|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:41:13.8|Debug|MigrationLogger|
- 21-9-27 21:41:13.8|Debug|MigrationLogger|Took: 00:00:00.0003550
- 21-9-27 21:41:13.8|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:41:13.8|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:41:13.8|Debug|MigrationLogger|Took: 00:00:00.0021810
- 21-9-27 21:41:13.8|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:41:13.8|Debug|MigrationLogger|
- 21-9-27 21:41:13.8|Debug|MigrationLogger|Took: 00:00:00.0003490
- 21-9-27 21:41:13.8|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:41:13.8|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:41:13.8|Debug|MigrationLogger|Took: 00:00:00.0020400
- 21-9-27 21:41:13.8|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:41:13.8|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:41:14.0|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:41:14.1|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:41:14.1|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:05.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:06.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:06.0|Debug|ProcessProvider| - [20111] Sonarr
- 21-9-27 21:45:06.0|Info|Router|Application mode: Interactive
- 21-9-27 21:45:06.0|Debug|Router|Console selected
- 21-9-27 21:45:06.6|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:07.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:07.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:07.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:07.1|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:07.1|Debug|MigrationLogger|
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Took: 00:00:00.0013730
- 21-9-27 21:45:07.1|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:07.1|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Took: 00:00:00.0192600
- 21-9-27 21:45:07.1|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:07.1|Debug|MigrationLogger|
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Took: 00:00:00.0003440
- 21-9-27 21:45:07.1|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:07.1|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Took: 00:00:00.0021260
- 21-9-27 21:45:07.1|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:07.1|Debug|MigrationLogger|
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Took: 00:00:00.0003550
- 21-9-27 21:45:07.1|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:07.1|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Took: 00:00:00.0020680
- 21-9-27 21:45:07.1|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:07.1|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:07.3|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:07.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:07.5|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:12.1|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:12.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:12.4|Debug|ProcessProvider| - [20128] Sonarr
- 21-9-27 21:45:12.5|Info|Router|Application mode: Interactive
- 21-9-27 21:45:12.5|Debug|Router|Console selected
- 21-9-27 21:45:13.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:13.4|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:13.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:13.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:13.5|Debug|MigrationLogger|
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Took: 00:00:00.0013980
- 21-9-27 21:45:13.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:13.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Took: 00:00:00.0191490
- 21-9-27 21:45:13.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:13.5|Debug|MigrationLogger|
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Took: 00:00:00.0003710
- 21-9-27 21:45:13.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:13.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Took: 00:00:00.0021430
- 21-9-27 21:45:13.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:13.5|Debug|MigrationLogger|
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Took: 00:00:00.0003650
- 21-9-27 21:45:13.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:13.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Took: 00:00:00.0021320
- 21-9-27 21:45:13.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:13.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:13.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:13.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:13.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:18.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:19.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:19.0|Debug|ProcessProvider| - [20142] Sonarr
- 21-9-27 21:45:19.0|Info|Router|Application mode: Interactive
- 21-9-27 21:45:19.0|Debug|Router|Console selected
- 21-9-27 21:45:19.6|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:20.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:20.1|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:20.1|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:20.1|Debug|MigrationLogger|
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Took: 00:00:00.0013910
- 21-9-27 21:45:20.1|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:20.1|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Took: 00:00:00.0192490
- 21-9-27 21:45:20.1|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:20.1|Debug|MigrationLogger|
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Took: 00:00:00.0003530
- 21-9-27 21:45:20.1|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:20.1|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Took: 00:00:00.0020620
- 21-9-27 21:45:20.1|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:20.1|Debug|MigrationLogger|
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Took: 00:00:00.0003500
- 21-9-27 21:45:20.1|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:20.1|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Took: 00:00:00.0019940
- 21-9-27 21:45:20.1|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:20.1|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:20.4|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:20.5|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:20.5|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:25.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:25.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:25.4|Debug|ProcessProvider| - [20154] Sonarr
- 21-9-27 21:45:25.5|Info|Router|Application mode: Interactive
- 21-9-27 21:45:25.5|Debug|Router|Console selected
- 21-9-27 21:45:26.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:26.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:26.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:26.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:26.5|Debug|MigrationLogger|
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Took: 00:00:00.0013700
- 21-9-27 21:45:26.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:26.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Took: 00:00:00.0187700
- 21-9-27 21:45:26.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:26.5|Debug|MigrationLogger|
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Took: 00:00:00.0003540
- 21-9-27 21:45:26.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:26.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Took: 00:00:00.0020890
- 21-9-27 21:45:26.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:26.5|Debug|MigrationLogger|
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Took: 00:00:00.0003560
- 21-9-27 21:45:26.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:26.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Took: 00:00:00.0021530
- 21-9-27 21:45:26.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:26.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:26.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:26.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:26.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:31.4|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:31.7|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:31.7|Debug|ProcessProvider| - [20164] Sonarr
- 21-9-27 21:45:31.7|Info|Router|Application mode: Interactive
- 21-9-27 21:45:31.7|Debug|Router|Console selected
- 21-9-27 21:45:32.2|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:32.7|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:32.7|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:32.7|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:32.7|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:32.7|Debug|MigrationLogger|
- 21-9-27 21:45:32.7|Debug|MigrationLogger|Took: 00:00:00.0014810
- 21-9-27 21:45:32.7|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:32.8|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:32.8|Debug|MigrationLogger|Took: 00:00:00.0190020
- 21-9-27 21:45:32.8|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:32.8|Debug|MigrationLogger|
- 21-9-27 21:45:32.8|Debug|MigrationLogger|Took: 00:00:00.0003480
- 21-9-27 21:45:32.8|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:32.8|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:32.8|Debug|MigrationLogger|Took: 00:00:00.0020780
- 21-9-27 21:45:32.8|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:32.8|Debug|MigrationLogger|
- 21-9-27 21:45:32.8|Debug|MigrationLogger|Took: 00:00:00.0003390
- 21-9-27 21:45:32.8|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:32.8|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:32.8|Debug|MigrationLogger|Took: 00:00:00.0023140
- 21-9-27 21:45:32.8|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:32.8|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:33.0|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:33.1|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:33.1|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:38.5|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:38.7|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:38.7|Debug|ProcessProvider| - [20183] Sonarr
- 21-9-27 21:45:38.8|Info|Router|Application mode: Interactive
- 21-9-27 21:45:38.8|Debug|Router|Console selected
- 21-9-27 21:45:39.3|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:39.8|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:39.8|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:39.8|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:39.8|Debug|MigrationLogger|
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Took: 00:00:00.0014490
- 21-9-27 21:45:39.8|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:39.8|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Took: 00:00:00.0189260
- 21-9-27 21:45:39.8|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:39.8|Debug|MigrationLogger|
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Took: 00:00:00.0003550
- 21-9-27 21:45:39.8|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:39.8|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Took: 00:00:00.0021210
- 21-9-27 21:45:39.8|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:39.8|Debug|MigrationLogger|
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Took: 00:00:00.0003590
- 21-9-27 21:45:39.8|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:39.8|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Took: 00:00:00.0023660
- 21-9-27 21:45:39.8|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:39.8|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:40.1|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:40.2|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:40.2|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:44.9|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:45.2|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:45.2|Debug|ProcessProvider| - [20197] Sonarr
- 21-9-27 21:45:45.2|Info|Router|Application mode: Interactive
- 21-9-27 21:45:45.2|Debug|Router|Console selected
- 21-9-27 21:45:45.7|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:46.2|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:46.2|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:46.2|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:46.2|Debug|MigrationLogger|
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Took: 00:00:00.0014230
- 21-9-27 21:45:46.2|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:46.2|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Took: 00:00:00.0190020
- 21-9-27 21:45:46.2|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:46.2|Debug|MigrationLogger|
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Took: 00:00:00.0003570
- 21-9-27 21:45:46.2|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:46.2|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Took: 00:00:00.0022920
- 21-9-27 21:45:46.2|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:46.2|Debug|MigrationLogger|
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Took: 00:00:00.0003500
- 21-9-27 21:45:46.2|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:46.2|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Took: 00:00:00.0020640
- 21-9-27 21:45:46.2|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:46.2|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:46.5|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:46.6|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:46.6|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:51.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:51.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:51.4|Debug|ProcessProvider| - [20207] Sonarr
- 21-9-27 21:45:51.5|Info|Router|Application mode: Interactive
- 21-9-27 21:45:51.5|Debug|Router|Console selected
- 21-9-27 21:45:52.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:52.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:52.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:52.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:52.5|Debug|MigrationLogger|
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Took: 00:00:00.0013710
- 21-9-27 21:45:52.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:52.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Took: 00:00:00.0190050
- 21-9-27 21:45:52.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:52.5|Debug|MigrationLogger|
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Took: 00:00:00.0003480
- 21-9-27 21:45:52.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:52.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Took: 00:00:00.0021230
- 21-9-27 21:45:52.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:52.5|Debug|MigrationLogger|
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Took: 00:00:00.0003530
- 21-9-27 21:45:52.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:52.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Took: 00:00:00.0024080
- 21-9-27 21:45:52.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:52.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:52.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:52.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:52.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:45:57.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:45:58.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:45:58.0|Debug|ProcessProvider| - [20218] Sonarr
- 21-9-27 21:45:58.0|Info|Router|Application mode: Interactive
- 21-9-27 21:45:58.0|Debug|Router|Console selected
- 21-9-27 21:45:58.6|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:45:59.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:45:59.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:45:59.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:45:59.0|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:45:59.1|Debug|MigrationLogger|
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Took: 00:00:00.0013990
- 21-9-27 21:45:59.1|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:45:59.1|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Took: 00:00:00.0193590
- 21-9-27 21:45:59.1|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:45:59.1|Debug|MigrationLogger|
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Took: 00:00:00.0003530
- 21-9-27 21:45:59.1|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:45:59.1|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Took: 00:00:00.0021090
- 21-9-27 21:45:59.1|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:45:59.1|Debug|MigrationLogger|
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Took: 00:00:00.0003510
- 21-9-27 21:45:59.1|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:45:59.1|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Took: 00:00:00.0020820
- 21-9-27 21:45:59.1|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:45:59.1|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:45:59.3|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:45:59.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:45:59.5|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:04.1|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:04.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:04.4|Debug|ProcessProvider| - [20228] Sonarr
- 21-9-27 21:46:04.4|Info|Router|Application mode: Interactive
- 21-9-27 21:46:04.4|Debug|Router|Console selected
- 21-9-27 21:46:05.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:05.4|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:05.4|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:05.4|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:05.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:05.5|Debug|MigrationLogger|
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Took: 00:00:00.0013570
- 21-9-27 21:46:05.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:05.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Took: 00:00:00.0190800
- 21-9-27 21:46:05.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:05.5|Debug|MigrationLogger|
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Took: 00:00:00.0003630
- 21-9-27 21:46:05.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:05.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Took: 00:00:00.0021780
- 21-9-27 21:46:05.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:05.5|Debug|MigrationLogger|
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Took: 00:00:00.0003510
- 21-9-27 21:46:05.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:05.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Took: 00:00:00.0020210
- 21-9-27 21:46:05.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:05.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:05.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:05.8|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:05.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:10.4|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:10.7|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:10.7|Debug|ProcessProvider| - [20239] Sonarr
- 21-9-27 21:46:10.8|Info|Router|Application mode: Interactive
- 21-9-27 21:46:10.8|Debug|Router|Console selected
- 21-9-27 21:46:11.3|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:11.8|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:11.8|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:11.8|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:11.8|Debug|MigrationLogger|
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Took: 00:00:00.0013850
- 21-9-27 21:46:11.8|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:11.8|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Took: 00:00:00.0188840
- 21-9-27 21:46:11.8|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:11.8|Debug|MigrationLogger|
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Took: 00:00:00.0003600
- 21-9-27 21:46:11.8|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:11.8|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Took: 00:00:00.0021310
- 21-9-27 21:46:11.8|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:11.8|Debug|MigrationLogger|
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Took: 00:00:00.0003530
- 21-9-27 21:46:11.8|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:11.8|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Took: 00:00:00.0021010
- 21-9-27 21:46:11.8|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:11.8|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:12.1|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:12.2|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:12.2|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:17.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:17.5|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:17.5|Debug|ProcessProvider| - [20251] Sonarr
- 21-9-27 21:46:17.5|Info|Router|Application mode: Interactive
- 21-9-27 21:46:17.5|Debug|Router|Console selected
- 21-9-27 21:46:18.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:18.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:18.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:18.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:18.5|Debug|MigrationLogger|
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Took: 00:00:00.0014300
- 21-9-27 21:46:18.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:18.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Took: 00:00:00.0190590
- 21-9-27 21:46:18.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:18.5|Debug|MigrationLogger|
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Took: 00:00:00.0003670
- 21-9-27 21:46:18.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:18.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Took: 00:00:00.0024250
- 21-9-27 21:46:18.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:18.5|Debug|MigrationLogger|
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Took: 00:00:00.0003600
- 21-9-27 21:46:18.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:18.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Took: 00:00:00.0021780
- 21-9-27 21:46:18.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:18.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:18.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:18.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:18.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:23.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:24.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:24.0|Debug|ProcessProvider| - [20262] Sonarr
- 21-9-27 21:46:24.0|Info|Router|Application mode: Interactive
- 21-9-27 21:46:24.0|Debug|Router|Console selected
- 21-9-27 21:46:24.5|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:25.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:25.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:25.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:25.0|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:25.0|Debug|MigrationLogger|
- 21-9-27 21:46:25.0|Debug|MigrationLogger|Took: 00:00:00.0014040
- 21-9-27 21:46:25.0|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:25.0|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:25.1|Debug|MigrationLogger|Took: 00:00:00.0189670
- 21-9-27 21:46:25.1|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:25.1|Debug|MigrationLogger|
- 21-9-27 21:46:25.1|Debug|MigrationLogger|Took: 00:00:00.0003770
- 21-9-27 21:46:25.1|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:25.1|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:25.1|Debug|MigrationLogger|Took: 00:00:00.0020520
- 21-9-27 21:46:25.1|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:25.1|Debug|MigrationLogger|
- 21-9-27 21:46:25.1|Debug|MigrationLogger|Took: 00:00:00.0003520
- 21-9-27 21:46:25.1|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:25.1|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:25.1|Debug|MigrationLogger|Took: 00:00:00.0020370
- 21-9-27 21:46:25.1|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:25.1|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:25.3|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:25.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:25.4|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:30.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:30.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:30.4|Debug|ProcessProvider| - [20273] Sonarr
- 21-9-27 21:46:30.5|Info|Router|Application mode: Interactive
- 21-9-27 21:46:30.5|Debug|Router|Console selected
- 21-9-27 21:46:31.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:31.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:31.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:31.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:31.5|Debug|MigrationLogger|
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Took: 00:00:00.0013760
- 21-9-27 21:46:31.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:31.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Took: 00:00:00.0188840
- 21-9-27 21:46:31.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:31.5|Debug|MigrationLogger|
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Took: 00:00:00.0003510
- 21-9-27 21:46:31.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:31.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Took: 00:00:00.0023130
- 21-9-27 21:46:31.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:31.5|Debug|MigrationLogger|
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Took: 00:00:00.0003890
- 21-9-27 21:46:31.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:31.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Took: 00:00:00.0022030
- 21-9-27 21:46:31.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:31.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:31.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:31.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:31.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:36.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:37.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:37.0|Debug|ProcessProvider| - [20284] Sonarr
- 21-9-27 21:46:37.0|Info|Router|Application mode: Interactive
- 21-9-27 21:46:37.0|Debug|Router|Console selected
- 21-9-27 21:46:37.5|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:38.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:38.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:38.0|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:38.0|Debug|MigrationLogger|
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Took: 00:00:00.0013970
- 21-9-27 21:46:38.0|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:38.0|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Took: 00:00:00.0193380
- 21-9-27 21:46:38.0|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:38.0|Debug|MigrationLogger|
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Took: 00:00:00.0003510
- 21-9-27 21:46:38.0|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:38.0|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Took: 00:00:00.0020870
- 21-9-27 21:46:38.0|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:38.0|Debug|MigrationLogger|
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Took: 00:00:00.0003460
- 21-9-27 21:46:38.0|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:38.0|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Took: 00:00:00.0020290
- 21-9-27 21:46:38.0|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:38.0|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:38.3|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:38.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:38.4|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:43.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:43.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:43.4|Debug|ProcessProvider| - [20298] Sonarr
- 21-9-27 21:46:43.5|Info|Router|Application mode: Interactive
- 21-9-27 21:46:43.5|Debug|Router|Console selected
- 21-9-27 21:46:44.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:44.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:44.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:44.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:44.5|Debug|MigrationLogger|
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Took: 00:00:00.0013830
- 21-9-27 21:46:44.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:44.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Took: 00:00:00.0192980
- 21-9-27 21:46:44.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:44.5|Debug|MigrationLogger|
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Took: 00:00:00.0003650
- 21-9-27 21:46:44.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:44.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Took: 00:00:00.0021160
- 21-9-27 21:46:44.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:44.5|Debug|MigrationLogger|
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Took: 00:00:00.0003660
- 21-9-27 21:46:44.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:44.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Took: 00:00:00.0020380
- 21-9-27 21:46:44.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:44.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:44.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:44.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:44.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:49.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:50.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:50.0|Debug|ProcessProvider| - [20308] Sonarr
- 21-9-27 21:46:50.0|Info|Router|Application mode: Interactive
- 21-9-27 21:46:50.0|Debug|Router|Console selected
- 21-9-27 21:46:50.6|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:51.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:51.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:51.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:51.1|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:51.1|Debug|MigrationLogger|
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Took: 00:00:00.0015270
- 21-9-27 21:46:51.1|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:51.1|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Took: 00:00:00.0197290
- 21-9-27 21:46:51.1|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:51.1|Debug|MigrationLogger|
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Took: 00:00:00.0003630
- 21-9-27 21:46:51.1|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:51.1|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Took: 00:00:00.0021840
- 21-9-27 21:46:51.1|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:51.1|Debug|MigrationLogger|
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Took: 00:00:00.0003560
- 21-9-27 21:46:51.1|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:51.1|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Took: 00:00:00.0022460
- 21-9-27 21:46:51.1|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:51.1|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:51.4|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:51.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:51.5|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:46:56.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:46:56.5|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:46:56.5|Debug|ProcessProvider| - [20320] Sonarr
- 21-9-27 21:46:56.5|Info|Router|Application mode: Interactive
- 21-9-27 21:46:56.5|Debug|Router|Console selected
- 21-9-27 21:46:57.1|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:46:57.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:46:57.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:46:57.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:46:57.6|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:46:57.6|Debug|MigrationLogger|
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Took: 00:00:00.0016800
- 21-9-27 21:46:57.6|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:46:57.6|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Took: 00:00:00.0190140
- 21-9-27 21:46:57.6|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:46:57.6|Debug|MigrationLogger|
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Took: 00:00:00.0003710
- 21-9-27 21:46:57.6|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:46:57.6|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Took: 00:00:00.0020870
- 21-9-27 21:46:57.6|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:46:57.6|Debug|MigrationLogger|
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Took: 00:00:00.0003520
- 21-9-27 21:46:57.6|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:46:57.6|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Took: 00:00:00.0020920
- 21-9-27 21:46:57.6|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:46:57.6|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:46:57.9|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:46:57.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:46:58.0|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:47:02.7|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:47:03.0|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:47:03.0|Debug|ProcessProvider| - [20330] Sonarr
- 21-9-27 21:47:03.0|Info|Router|Application mode: Interactive
- 21-9-27 21:47:03.0|Debug|Router|Console selected
- 21-9-27 21:47:03.5|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:47:04.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:47:04.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:47:04.0|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:47:04.0|Debug|MigrationLogger|
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Took: 00:00:00.0014600
- 21-9-27 21:47:04.0|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:47:04.0|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Took: 00:00:00.0193900
- 21-9-27 21:47:04.0|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:47:04.0|Debug|MigrationLogger|
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Took: 00:00:00.0003730
- 21-9-27 21:47:04.0|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:47:04.0|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Took: 00:00:00.0021010
- 21-9-27 21:47:04.0|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:47:04.0|Debug|MigrationLogger|
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Took: 00:00:00.0003530
- 21-9-27 21:47:04.0|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:47:04.0|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Took: 00:00:00.0020340
- 21-9-27 21:47:04.0|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:47:04.0|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:47:04.3|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:47:04.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:47:04.4|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:47:09.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:47:09.5|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:47:09.5|Debug|ProcessProvider| - [20340] Sonarr
- 21-9-27 21:47:09.5|Info|Router|Application mode: Interactive
- 21-9-27 21:47:09.5|Debug|Router|Console selected
- 21-9-27 21:47:10.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:47:10.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:47:10.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:47:10.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:47:10.5|Debug|MigrationLogger|
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Took: 00:00:00.0014030
- 21-9-27 21:47:10.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:47:10.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Took: 00:00:00.0195900
- 21-9-27 21:47:10.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:47:10.5|Debug|MigrationLogger|
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Took: 00:00:00.0003870
- 21-9-27 21:47:10.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:47:10.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Took: 00:00:00.0021390
- 21-9-27 21:47:10.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:47:10.5|Debug|MigrationLogger|
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Took: 00:00:00.0003570
- 21-9-27 21:47:10.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:47:10.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:10.5|Debug|MigrationLogger|Took: 00:00:00.0021030
- 21-9-27 21:47:10.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:47:10.6|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:47:10.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:47:10.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:47:10.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:47:15.6|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:47:15.9|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:47:15.9|Debug|ProcessProvider| - [20353] Sonarr
- 21-9-27 21:47:16.0|Info|Router|Application mode: Interactive
- 21-9-27 21:47:16.0|Debug|Router|Console selected
- 21-9-27 21:47:16.5|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:47:17.0|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:47:17.0|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:47:17.0|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:47:17.0|Debug|MigrationLogger|
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Took: 00:00:00.0017340
- 21-9-27 21:47:17.0|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:47:17.0|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Took: 00:00:00.0191140
- 21-9-27 21:47:17.0|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:47:17.0|Debug|MigrationLogger|
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Took: 00:00:00.0003650
- 21-9-27 21:47:17.0|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:47:17.0|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Took: 00:00:00.0021680
- 21-9-27 21:47:17.0|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:47:17.0|Debug|MigrationLogger|
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Took: 00:00:00.0003590
- 21-9-27 21:47:17.0|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:47:17.0|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Took: 00:00:00.0020450
- 21-9-27 21:47:17.0|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:47:17.0|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:47:17.3|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:47:17.4|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:47:17.4|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:47:22.2|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:47:22.4|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:47:22.4|Debug|ProcessProvider| - [20367] Sonarr
- 21-9-27 21:47:22.5|Info|Router|Application mode: Interactive
- 21-9-27 21:47:22.5|Debug|Router|Console selected
- 21-9-27 21:47:23.0|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:47:23.5|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:47:23.5|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:47:23.5|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:47:23.5|Debug|MigrationLogger|
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Took: 00:00:00.0013670
- 21-9-27 21:47:23.5|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:47:23.5|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Took: 00:00:00.0189650
- 21-9-27 21:47:23.5|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:47:23.5|Debug|MigrationLogger|
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Took: 00:00:00.0003600
- 21-9-27 21:47:23.5|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:47:23.5|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Took: 00:00:00.0021440
- 21-9-27 21:47:23.5|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:47:23.5|Debug|MigrationLogger|
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Took: 00:00:00.0003520
- 21-9-27 21:47:23.5|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:47:23.5|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Took: 00:00:00.0023670
- 21-9-27 21:47:23.5|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:47:23.5|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:47:23.8|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:47:23.9|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:47:23.9|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
- 21-9-27 21:47:28.5|Debug|ProcessProvider|Found 0 processes with the name: Sonarr.Console
- 21-9-27 21:47:28.7|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
- 21-9-27 21:47:28.7|Debug|ProcessProvider| - [20386] Sonarr
- 21-9-27 21:47:28.8|Info|Router|Application mode: Interactive
- 21-9-27 21:47:28.8|Debug|Router|Console selected
- 21-9-27 21:47:29.3|Info|MigrationLogger|*** Checking database for required migrations data source=/var/lib/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
- 21-9-27 21:47:29.8|Info|MigrationLogger|*** 102: add_language_to_episodeFiles_history_and_blacklist migrating ***
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Beginning Transaction
- 21-9-27 21:47:29.8|Info|add_language_to_episodeFiles_history_and_blacklist|Starting migration to 102
- 21-9-27 21:47:29.8|Debug|MigrationLogger|AlterTable EpisodeFiles
- 21-9-27 21:47:29.8|Debug|MigrationLogger|
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Took: 00:00:00.0013800
- 21-9-27 21:47:29.8|Debug|MigrationLogger|CreateColumn EpisodeFiles Language Int32
- 21-9-27 21:47:29.8|Debug|MigrationLogger|ALTER TABLE "EpisodeFiles" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Took: 00:00:00.0193490
- 21-9-27 21:47:29.8|Debug|MigrationLogger|AlterTable History
- 21-9-27 21:47:29.8|Debug|MigrationLogger|
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Took: 00:00:00.0003750
- 21-9-27 21:47:29.8|Debug|MigrationLogger|CreateColumn History Language Int32
- 21-9-27 21:47:29.8|Debug|MigrationLogger|ALTER TABLE "History" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Took: 00:00:00.0022920
- 21-9-27 21:47:29.8|Debug|MigrationLogger|AlterTable Blacklist
- 21-9-27 21:47:29.8|Debug|MigrationLogger|
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Took: 00:00:00.0003550
- 21-9-27 21:47:29.8|Debug|MigrationLogger|CreateColumn Blacklist Language Int32
- 21-9-27 21:47:29.8|Debug|MigrationLogger|ALTER TABLE "Blacklist" ADD COLUMN "Language" INTEGER NOT NULL DEFAULT 0
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Took: 00:00:00.0021070
- 21-9-27 21:47:29.8|Debug|MigrationLogger|PerformDBOperation
- 21-9-27 21:47:29.8|Debug|MigrationLogger|Performing DB Operation
- 21-9-27 21:47:30.1|Error|MigrationLogger|System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- [v3.0.6.1196] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x0006c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- 21-9-27 21:47:30.2|Debug|MigrationLogger|Rolling back transaction
- 21-9-27 21:47:30.2|Fatal|ConsoleApp|EPIC FAIL!
- [v3.0.6.1196] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /var/lib/sonarr/sonarr.db is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed
- database disk image is malformed
- at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
- at NzbDrone.Core.Datastore.Migration.add_language_to_episodeFiles_history_and_blacklist.UpdateLanguage (System.Data.IDbConnection conn, System.Data.IDbTransaction tran) [0x001e7] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\102_add_language_to_episodeFiles_history_and_blacklist.cs:87
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process (FluentMigrator.Builders.Execute.PerformDBOperationExpression expression) [0x00038] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Builders.Execute.PerformDBOperationExpression.ExecuteWith (FluentMigrator.IMigrationProcessor processor) [0x00000] in <c16130ff2bfb4746b4fb36de17115e3e>:0
- at FluentMigrator.Runner.MigrationRunner+<>c__DisplayClass72_0.<ExecuteExpressions>b__1 () [0x00011] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.StopWatch.Time (System.Action action) [0x00006] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.AnnounceTime (System.String message, System.Action action) [0x0000c] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions (System.Collections.Generic.ICollection`1[T] expressions) [0x000a5] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration (FluentMigrator.IMigration migration, System.Action`2[T1,T2] getExpressions) [0x0005a] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp (FluentMigrator.Infrastructure.IMigrationInfo migrationInfo, System.Boolean useTransaction) [0x0010f] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at FluentMigrator.Runner.MigrationRunner.MigrateUp (System.Boolean useAutomaticTransactionManagement) [0x000af] in <137fb96feee44f379d6a8fba4e172d1c>:0
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000c0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:60
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0000b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:117
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateMain (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00045] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:128
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:82
- at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:70
- at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Datastore\DbFactory.cs:48
- at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:60
- at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
- at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
- at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
Add Comment
Please, Sign In to add comment