jackmeat

full log

Nov 20th, 2022
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 155.42 KB | Music | 0 0
  1. 2022-11-21 07:59:07.1|Info|InstallUpdateService|Downloading update 1.1.2.2815
  2. 2022-11-21 07:59:42.4|Info|InstallUpdateService|Verifying update package
  3. 2022-11-21 07:59:42.6|Info|InstallUpdateService|Update package verified successfully
  4. 2022-11-21 07:59:42.6|Info|InstallUpdateService|Extracting Update package
  5. 2022-11-21 07:59:49.0|Info|InstallUpdateService|Update package extracted successfully
  6. 2022-11-21 07:59:49.0|Info|BackupService|Starting Backup
  7. 2022-11-21 08:00:36.2|Info|InstallUpdateService|Preparing client
  8. 2022-11-21 08:00:38.4|Info|InstallUpdateService|Starting update client C:\Users\(removed)\AppData\Local\Temp\lidarr_update\Lidarr.Update.exe
  9. 2022-11-21 08:00:38.4|Info|InstallUpdateService|Lidarr will restart shortly.
  10. 2022-11-21 08:00:38.4|Info|InstallUpdateService|Updater Arguments: 17524 C:\Users\(removed)\AppData\Local\Temp\lidarr_update C:\ProgramData\Lidarr\bin\Lidarr.exe
  11. 2022-11-21 08:00:52.3|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  12. 2022-11-21 08:00:53.3|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  13. 2022-11-21 08:00:53.5|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  14. 2022-11-21 08:00:53.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  15. 2022-11-21 08:00:53.5|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  16. 2022-11-21 08:00:53.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  17. 2022-11-21 08:00:53.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0002968s
  18. 2022-11-21 08:00:53.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  19. 2022-11-21 08:00:53.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  20. 2022-11-21 08:00:53.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  21. 2022-11-21 08:00:53.5|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  22. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  23. While Processing:
  24. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  25.  
  26. [v1.1.2.2815] System.Exception: constraint failed
  27. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  28. While Processing:
  29. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  30. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  31. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  32. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  33. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  34. at System.Data.SQLite.SQLiteDataReader.NextResult()
  35. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  36. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  37. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  38. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  39. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  40. --- End of inner exception stack trace ---
  41. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  42. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  43. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  44. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  45. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  46. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  47. at FluentMigrator.Runner.StopWatch.Time(Action action)
  48. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  49.  
  50.  
  51. 2022-11-21 08:00:53.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  52. 2022-11-21 08:00:53.7|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  53.  
  54. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  55. ---> System.Exception: constraint failed
  56. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  57. While Processing:
  58. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  59. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  60. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  61. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  62. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  63. at System.Data.SQLite.SQLiteDataReader.NextResult()
  64. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  65. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  66. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  67. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  68. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  69. --- End of inner exception stack trace ---
  70. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  71. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  72. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  73. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  74. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  75. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  76. at FluentMigrator.Runner.StopWatch.Time(Action action)
  77. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  78. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  79. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  80. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  81. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  82. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  83. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  84. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  85. --- End of inner exception stack trace ---
  86. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  87. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  88. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  89. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  90. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  91. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  92. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  93. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  94. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  95. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  96. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  97. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  98. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  99. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  100. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  101. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  102. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  103. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  104. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  105. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  106. at System.Lazy`1.CreateValue()
  107. at System.Lazy`1.get_Value()
  108. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  109. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  110. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  111. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  112. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  113. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  114. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  115. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  116.  
  117.  
  118. 2022-11-21 08:00:53.8|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  119.  
  120. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  121. ---> System.Exception: constraint failed
  122. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  123. While Processing:
  124. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  125. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  126. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  127. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  128. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  129. at System.Data.SQLite.SQLiteDataReader.NextResult()
  130. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  131. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  132. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  133. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  134. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  135. --- End of inner exception stack trace ---
  136. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  137. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  138. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  139. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  140. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  141. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  142. at FluentMigrator.Runner.StopWatch.Time(Action action)
  143. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  144. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  145. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  146. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  147. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  148. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  149. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  150. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  151. --- End of inner exception stack trace ---
  152. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  153. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  154. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  155. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  156. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  157. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  158. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  159. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  160. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  161. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  162. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  163. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  164. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  165. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  166. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  167. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  168. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  169. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  170. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  171. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  172. at System.Lazy`1.CreateValue()
  173. at System.Lazy`1.get_Value()
  174. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  175. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  176. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  177. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  178. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  179. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  180. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  181. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  182. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  183. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  184. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  185. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  186. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  187. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  188.  
  189.  
  190. 2022-11-21 10:00:07.0|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  191. 2022-11-21 10:00:07.7|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  192. 2022-11-21 10:00:07.8|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  193. 2022-11-21 10:00:07.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  194. 2022-11-21 10:00:07.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  195. 2022-11-21 10:00:07.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  196. 2022-11-21 10:00:07.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0003066s
  197. 2022-11-21 10:00:07.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  198. 2022-11-21 10:00:07.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  199. 2022-11-21 10:00:07.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  200. 2022-11-21 10:00:07.9|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  201. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  202. While Processing:
  203. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  204.  
  205. [v1.1.2.2815] System.Exception: constraint failed
  206. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  207. While Processing:
  208. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  209. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  210. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  211. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  212. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  213. at System.Data.SQLite.SQLiteDataReader.NextResult()
  214. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  215. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  216. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  217. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  218. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  219. --- End of inner exception stack trace ---
  220. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  221. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  222. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  223. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  224. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  225. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  226. at FluentMigrator.Runner.StopWatch.Time(Action action)
  227. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  228.  
  229.  
  230. 2022-11-21 10:00:08.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  231. 2022-11-21 10:00:08.0|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  232.  
  233. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  234. ---> System.Exception: constraint failed
  235. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  236. While Processing:
  237. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  238. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  239. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  240. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  241. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  242. at System.Data.SQLite.SQLiteDataReader.NextResult()
  243. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  244. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  245. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  246. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  247. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  248. --- End of inner exception stack trace ---
  249. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  250. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  251. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  252. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  253. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  254. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  255. at FluentMigrator.Runner.StopWatch.Time(Action action)
  256. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  257. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  258. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  259. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  260. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  261. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  262. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  263. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  264. --- End of inner exception stack trace ---
  265. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  266. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  267. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  268. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  269. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  270. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  271. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  272. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  273. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  274. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  275. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  276. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  277. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  278. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  279. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  280. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  281. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  282. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  283. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  284. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  285. at System.Lazy`1.CreateValue()
  286. at System.Lazy`1.get_Value()
  287. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  288. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  289. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  290. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  291. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  292. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  293. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  294. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  295.  
  296.  
  297. 2022-11-21 10:00:08.1|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  298.  
  299. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  300. ---> System.Exception: constraint failed
  301. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  302. While Processing:
  303. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  304. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  305. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  306. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  307. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  308. at System.Data.SQLite.SQLiteDataReader.NextResult()
  309. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  310. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  311. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  312. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  313. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  314. --- End of inner exception stack trace ---
  315. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  316. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  317. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  318. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  319. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  320. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  321. at FluentMigrator.Runner.StopWatch.Time(Action action)
  322. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  323. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  324. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  325. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  326. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  327. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  328. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  329. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  330. --- End of inner exception stack trace ---
  331. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  332. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  333. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  334. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  335. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  336. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  337. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  338. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  339. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  340. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  341. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  342. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  343. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  344. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  345. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  346. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  347. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  348. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  349. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  350. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  351. at System.Lazy`1.CreateValue()
  352. at System.Lazy`1.get_Value()
  353. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  354. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  355. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  356. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  357. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  358. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  359. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  360. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  361. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  362. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  363. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  364. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  365. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  366. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  367.  
  368.  
  369. 2022-11-21 10:09:51.5|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  370. 2022-11-21 10:09:54.9|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  371. 2022-11-21 10:09:55.4|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  372. 2022-11-21 10:09:55.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  373. 2022-11-21 10:09:55.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  374. 2022-11-21 10:09:55.5|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  375. 2022-11-21 10:09:55.5|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004431s
  376. 2022-11-21 10:09:55.5|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  377. 2022-11-21 10:09:55.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  378. 2022-11-21 10:09:55.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  379. 2022-11-21 10:09:55.6|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  380. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  381. While Processing:
  382. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  383.  
  384. [v1.1.2.2815] System.Exception: constraint failed
  385. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  386. While Processing:
  387. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  388. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  389. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  390. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  391. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  392. at System.Data.SQLite.SQLiteDataReader.NextResult()
  393. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  394. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  395. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  396. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  397. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  398. --- End of inner exception stack trace ---
  399. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  400. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  401. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  402. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  403. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  404. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  405. at FluentMigrator.Runner.StopWatch.Time(Action action)
  406. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  407.  
  408.  
  409. 2022-11-21 10:09:56.0|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  410. 2022-11-21 10:09:56.0|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  411.  
  412. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  413. ---> System.Exception: constraint failed
  414. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  415. While Processing:
  416. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  417. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  418. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  419. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  420. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  421. at System.Data.SQLite.SQLiteDataReader.NextResult()
  422. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  423. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  424. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  425. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  426. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  427. --- End of inner exception stack trace ---
  428. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  429. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  430. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  431. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  432. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  433. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  434. at FluentMigrator.Runner.StopWatch.Time(Action action)
  435. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  436. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  437. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  438. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  439. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  440. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  441. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  442. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  443. --- End of inner exception stack trace ---
  444. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  445. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  446. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  447. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  448. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  449. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  450. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  451. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  452. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  453. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  454. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  455. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  456. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  457. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  458. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  459. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  460. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  461. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  462. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  463. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  464. at System.Lazy`1.CreateValue()
  465. at System.Lazy`1.get_Value()
  466. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  467. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  468. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  469. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  470. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  471. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  472. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  473. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  474.  
  475.  
  476. 2022-11-21 10:09:56.2|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  477.  
  478. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  479. ---> System.Exception: constraint failed
  480. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  481. While Processing:
  482. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  483. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  484. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  485. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  486. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  487. at System.Data.SQLite.SQLiteDataReader.NextResult()
  488. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  489. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  490. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  491. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  492. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  493. --- End of inner exception stack trace ---
  494. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  495. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  496. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  497. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  498. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  499. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  500. at FluentMigrator.Runner.StopWatch.Time(Action action)
  501. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  502. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  503. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  504. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  505. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  506. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  507. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  508. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  509. --- End of inner exception stack trace ---
  510. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  511. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  512. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  513. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  514. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  515. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  516. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  517. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  518. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  519. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  520. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  521. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  522. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  523. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  524. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  525. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  526. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  527. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  528. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  529. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  530. at System.Lazy`1.CreateValue()
  531. at System.Lazy`1.get_Value()
  532. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  533. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  534. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  535. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  536. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  537. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  538. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  539. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  540. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  541. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  542. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  543. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  544. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  545. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  546.  
  547.  
  548. 2022-11-21 10:44:20.9|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  549. 2022-11-21 10:44:22.1|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  550. 2022-11-21 10:44:22.3|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  551. 2022-11-21 10:44:22.3|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  552. 2022-11-21 10:44:22.3|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  553. 2022-11-21 10:44:22.3|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  554. 2022-11-21 10:44:22.3|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004072s
  555. 2022-11-21 10:44:22.3|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  556. 2022-11-21 10:44:22.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  557. 2022-11-21 10:44:22.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  558. 2022-11-21 10:44:22.4|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  559. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  560. While Processing:
  561. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  562.  
  563. [v1.1.2.2815] System.Exception: constraint failed
  564. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  565. While Processing:
  566. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  567. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  568. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  569. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  570. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  571. at System.Data.SQLite.SQLiteDataReader.NextResult()
  572. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  573. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  574. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  575. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  576. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  577. --- End of inner exception stack trace ---
  578. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  579. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  580. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  581. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  582. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  583. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  584. at FluentMigrator.Runner.StopWatch.Time(Action action)
  585. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  586.  
  587.  
  588. 2022-11-21 10:44:22.5|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  589. 2022-11-21 10:44:22.5|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  590.  
  591. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  592. ---> System.Exception: constraint failed
  593. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  594. While Processing:
  595. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  596. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  597. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  598. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  599. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  600. at System.Data.SQLite.SQLiteDataReader.NextResult()
  601. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  602. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  603. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  604. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  605. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  606. --- End of inner exception stack trace ---
  607. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  608. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  609. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  610. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  611. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  612. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  613. at FluentMigrator.Runner.StopWatch.Time(Action action)
  614. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  615. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  616. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  617. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  618. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  619. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  620. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  621. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  622. --- End of inner exception stack trace ---
  623. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  624. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  625. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  626. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  627. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  628. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  629. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  630. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  631. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  632. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  633. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  634. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  635. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  636. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  637. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  638. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  639. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  640. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  641. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  642. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  643. at System.Lazy`1.CreateValue()
  644. at System.Lazy`1.get_Value()
  645. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  646. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  647. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  648. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  649. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  650. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  651. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  652. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  653.  
  654.  
  655. 2022-11-21 10:44:22.6|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  656.  
  657. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  658. ---> System.Exception: constraint failed
  659. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  660. While Processing:
  661. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  662. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  663. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  664. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  665. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  666. at System.Data.SQLite.SQLiteDataReader.NextResult()
  667. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  668. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  669. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  670. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  671. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  672. --- End of inner exception stack trace ---
  673. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  674. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  675. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  676. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  677. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  678. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  679. at FluentMigrator.Runner.StopWatch.Time(Action action)
  680. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  681. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  682. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  683. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  684. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  685. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  686. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  687. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  688. --- End of inner exception stack trace ---
  689. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  690. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  691. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  692. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  693. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  694. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  695. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  696. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  697. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  698. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  699. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  700. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  701. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  702. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  703. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  704. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  705. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  706. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  707. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  708. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  709. at System.Lazy`1.CreateValue()
  710. at System.Lazy`1.get_Value()
  711. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  712. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  713. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  714. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  715. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  716. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  717. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  718. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  719. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  720. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  721. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  722. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  723. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  724. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  725.  
  726.  
  727. 2022-11-21 10:47:41.8|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  728. 2022-11-21 10:47:42.3|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  729. 2022-11-21 10:47:42.4|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  730. 2022-11-21 10:47:42.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  731. 2022-11-21 10:47:42.4|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  732. 2022-11-21 10:47:42.4|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  733. 2022-11-21 10:47:42.4|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000269s
  734. 2022-11-21 10:47:42.4|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  735. 2022-11-21 10:47:42.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  736. 2022-11-21 10:47:42.4|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  737. 2022-11-21 10:47:42.4|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  738. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  739. While Processing:
  740. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  741.  
  742. [v1.1.2.2815] System.Exception: constraint failed
  743. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  744. While Processing:
  745. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  746. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  747. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  748. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  749. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  750. at System.Data.SQLite.SQLiteDataReader.NextResult()
  751. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  752. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  753. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  754. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  755. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  756. --- End of inner exception stack trace ---
  757. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  758. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  759. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  760. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  761. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  762. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  763. at FluentMigrator.Runner.StopWatch.Time(Action action)
  764. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  765.  
  766.  
  767. 2022-11-21 10:47:42.6|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  768. 2022-11-21 10:47:42.6|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  769.  
  770. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  771. ---> System.Exception: constraint failed
  772. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  773. While Processing:
  774. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  775. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  776. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  777. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  778. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  779. at System.Data.SQLite.SQLiteDataReader.NextResult()
  780. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  781. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  782. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  783. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  784. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  785. --- End of inner exception stack trace ---
  786. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  787. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  788. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  789. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  790. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  791. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  792. at FluentMigrator.Runner.StopWatch.Time(Action action)
  793. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  794. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  795. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  796. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  797. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  798. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  799. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  800. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  801. --- End of inner exception stack trace ---
  802. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  803. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  804. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  805. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  806. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  807. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  808. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  809. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  810. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  811. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  812. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  813. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  814. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  815. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  816. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  817. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  818. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  819. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  820. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  821. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  822. at System.Lazy`1.CreateValue()
  823. at System.Lazy`1.get_Value()
  824. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  825. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  826. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  827. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  828. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  829. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  830. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  831. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  832.  
  833.  
  834. 2022-11-21 10:47:42.6|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  835.  
  836. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  837. ---> System.Exception: constraint failed
  838. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  839. While Processing:
  840. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  841. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  842. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  843. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  844. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  845. at System.Data.SQLite.SQLiteDataReader.NextResult()
  846. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  847. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  848. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  849. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  850. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  851. --- End of inner exception stack trace ---
  852. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  853. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  854. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  855. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  856. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  857. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  858. at FluentMigrator.Runner.StopWatch.Time(Action action)
  859. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  860. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  861. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  862. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  863. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  864. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  865. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  866. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  867. --- End of inner exception stack trace ---
  868. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  869. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  870. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  871. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  872. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  873. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  874. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  875. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  876. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  877. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  878. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  879. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  880. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  881. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  882. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  883. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  884. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  885. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  886. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  887. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  888. at System.Lazy`1.CreateValue()
  889. at System.Lazy`1.get_Value()
  890. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  891. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  892. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  893. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  894. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  895. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  896. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  897. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  898. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  899. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  900. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  901. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  902. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  903. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  904.  
  905.  
  906. 2022-11-21 10:51:02.1|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  907. 2022-11-21 10:51:02.6|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  908. 2022-11-21 10:51:02.7|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  909. 2022-11-21 10:51:02.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  910. 2022-11-21 10:51:02.7|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  911. 2022-11-21 10:51:02.7|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  912. 2022-11-21 10:51:02.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0004875s
  913. 2022-11-21 10:51:02.7|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  914. 2022-11-21 10:51:02.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  915. 2022-11-21 10:51:02.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  916. 2022-11-21 10:51:02.7|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  917. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  918. While Processing:
  919. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  920.  
  921. [v1.1.2.2815] System.Exception: constraint failed
  922. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  923. While Processing:
  924. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  925. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  926. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  927. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  928. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  929. at System.Data.SQLite.SQLiteDataReader.NextResult()
  930. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  931. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  932. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  933. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  934. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  935. --- End of inner exception stack trace ---
  936. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  937. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  938. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  939. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  940. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  941. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  942. at FluentMigrator.Runner.StopWatch.Time(Action action)
  943. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  944.  
  945.  
  946. 2022-11-21 10:51:02.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  947. 2022-11-21 10:51:02.9|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  948.  
  949. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  950. ---> System.Exception: constraint failed
  951. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  952. While Processing:
  953. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  954. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  955. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  956. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  957. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  958. at System.Data.SQLite.SQLiteDataReader.NextResult()
  959. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  960. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  961. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  962. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  963. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  964. --- End of inner exception stack trace ---
  965. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  966. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  967. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  968. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  969. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  970. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  971. at FluentMigrator.Runner.StopWatch.Time(Action action)
  972. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  973. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  974. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  975. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  976. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  977. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  978. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  979. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  980. --- End of inner exception stack trace ---
  981. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  982. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  983. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  984. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  985. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  986. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  987. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  988. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  989. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  990. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  991. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  992. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  993. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  994. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  995. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  996. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  997. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  998. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  999. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  1000. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  1001. at System.Lazy`1.CreateValue()
  1002. at System.Lazy`1.get_Value()
  1003. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  1004. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  1005. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  1006. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  1007. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  1008. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  1009. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  1010. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  1011.  
  1012.  
  1013. 2022-11-21 10:51:02.9|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  1014.  
  1015. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  1016. ---> System.Exception: constraint failed
  1017. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1018. While Processing:
  1019. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  1020. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  1021. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1022. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  1023. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  1024. at System.Data.SQLite.SQLiteDataReader.NextResult()
  1025. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  1026. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  1027. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  1028. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  1029. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1030. --- End of inner exception stack trace ---
  1031. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1032. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  1033. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  1034. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  1035. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  1036. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  1037. at FluentMigrator.Runner.StopWatch.Time(Action action)
  1038. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  1039. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  1040. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  1041. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  1042. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  1043. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  1044. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  1045. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  1046. --- End of inner exception stack trace ---
  1047. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  1048. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  1049. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  1050. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  1051. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  1052. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  1053. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  1054. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  1055. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  1056. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  1057. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  1058. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  1059. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  1060. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  1061. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  1062. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  1063. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  1064. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  1065. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  1066. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  1067. at System.Lazy`1.CreateValue()
  1068. at System.Lazy`1.get_Value()
  1069. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  1070. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  1071. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  1072. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  1073. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  1074. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  1075. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  1076. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  1077. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  1078. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  1079. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  1080. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  1081. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  1082. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  1083.  
  1084.  
  1085. 2022-11-21 10:52:03.1|Info|Bootstrap|Starting Lidarr - C:\ProgramData\Lidarr\bin\Lidarr.dll - Version 1.1.2.2815
  1086. 2022-11-21 10:52:03.6|Info|MigrationController|*** Migrating data source=C:\ProgramData\Lidarr\lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
  1087. 2022-11-21 10:52:03.7|Info|FluentMigrator.Runner.MigrationRunner|60: update_audio_types migrating
  1088. 2022-11-21 10:52:03.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  1089. 2022-11-21 10:52:03.7|Info|update_audio_types|Starting migration of Main DB to 60
  1090. 2022-11-21 10:52:03.7|Info|FluentMigrator.Runner.MigrationRunner|PerformDBOperation
  1091. 2022-11-21 10:52:03.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Performing DB Operation
  1092. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0505952s
  1093. 2022-11-21 10:52:03.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (60, '2022-11-20T23:52:03', 'update_audio_types')
  1094. 2022-11-21 10:52:03.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Committing Transaction
  1095. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|60: update_audio_types migrated
  1096. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0739764s
  1097. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|61: postgres_update_timestamp_columns_to_with_timezone migrating
  1098. 2022-11-21 10:52:03.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Beginning Transaction
  1099. 2022-11-21 10:52:03.8|Info|postgres_update_timestamp_columns_to_with_timezone|Starting migration of Main DB to 61
  1100. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|AlterTable AlbumReleases
  1101. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|=> 0.000109s
  1102. 2022-11-21 10:52:03.8|Info|FluentMigrator.Runner.MigrationRunner|AlterColumn AlbumReleases ReleaseDate DateTimeOffset
  1103. 2022-11-21 10:52:03.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|CREATE TABLE "AlbumReleases_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "ForeignReleaseId" TEXT NOT NULL, "AlbumId" INTEGER NOT NULL, "Title" TEXT NOT NULL, "Status" TEXT NOT NULL, "Duration" INTEGER NOT NULL, "Label" TEXT, "Disambiguation" TEXT, "Country" TEXT, "ReleaseDate" DATETIME NOT NULL, "Media" TEXT, "TrackCount" INTEGER, "Monitored" INTEGER NOT NULL, "OldForeignReleaseIds" TEXT NOT NULL)
  1104. 2022-11-21 10:52:03.8|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases"
  1105. 2022-11-21 10:52:03.8|Error|FluentMigrator.Runner.MigrationRunner|constraint failed
  1106. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1107. While Processing:
  1108. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  1109.  
  1110. [v1.1.2.2815] System.Exception: constraint failed
  1111. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1112. While Processing:
  1113. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  1114. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  1115. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1116. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  1117. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  1118. at System.Data.SQLite.SQLiteDataReader.NextResult()
  1119. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  1120. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  1121. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  1122. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  1123. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1124. --- End of inner exception stack trace ---
  1125. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1126. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  1127. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  1128. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  1129. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  1130. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  1131. at FluentMigrator.Runner.StopWatch.Time(Action action)
  1132. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  1133.  
  1134.  
  1135. 2022-11-21 10:52:03.9|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Rolling back transaction
  1136. 2022-11-21 10:52:03.9|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
  1137.  
  1138. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  1139. ---> System.Exception: constraint failed
  1140. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1141. While Processing:
  1142. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  1143. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  1144. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1145. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  1146. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  1147. at System.Data.SQLite.SQLiteDataReader.NextResult()
  1148. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  1149. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  1150. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  1151. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  1152. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1153. --- End of inner exception stack trace ---
  1154. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1155. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  1156. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  1157. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  1158. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  1159. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  1160. at FluentMigrator.Runner.StopWatch.Time(Action action)
  1161. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  1162. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  1163. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  1164. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  1165. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  1166. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  1167. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  1168. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  1169. --- End of inner exception stack trace ---
  1170. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  1171. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  1172. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  1173. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  1174. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  1175. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  1176. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  1177. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  1178. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  1179. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  1180. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  1181. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  1182. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  1183. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  1184. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  1185. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  1186. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  1187. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  1188. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  1189. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  1190. at System.Lazy`1.CreateValue()
  1191. at System.Lazy`1.get_Value()
  1192. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  1193. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  1194. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  1195. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  1196. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  1197. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  1198. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  1199. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  1200.  
  1201.  
  1202. 2022-11-21 10:52:04.0|Fatal|WindowsApp|EPIC FAIL: Lidarr failed to start: Error creating main database
  1203.  
  1204. [v1.1.2.2815] NzbDrone.Common.Exceptions.LidarrStartupException: Lidarr failed to start: Error creating main database
  1205. ---> System.Exception: constraint failed
  1206. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1207. While Processing:
  1208. "INSERT INTO "AlbumReleases_temp" ("Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds") SELECT "Id", "ForeignReleaseId", "AlbumId", "Title", "Status", "Duration", "Label", "Disambiguation", "Country", "ReleaseDate", "Media", "TrackCount", "Monitored", "OldForeignReleaseIds" FROM "AlbumReleases""
  1209. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  1210. NOT NULL constraint failed: AlbumReleases_temp.ReleaseDate
  1211. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  1212. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  1213. at System.Data.SQLite.SQLiteDataReader.NextResult()
  1214. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  1215. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  1216. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  1217. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  1218. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1219. --- End of inner exception stack trace ---
  1220. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  1221. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  1222. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 137
  1223. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSQLiteProcessor.cs:line 45
  1224. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  1225. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  1226. at FluentMigrator.Runner.StopWatch.Time(Action action)
  1227. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  1228. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  1229. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  1230. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  1231. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  1232. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  1233. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:line 79
  1234. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 115
  1235. --- End of inner exception stack trace ---
  1236. at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 161
  1237. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 70
  1238. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in D:\a\1\s\src\NzbDrone.Core\Datastore\DbFactory.cs:line 58
  1239. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in D:\a\1\s\src\NzbDrone.Core\Datastore\Extensions\CompositionExtensions.cs:line 10
  1240. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 7862
  1241. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3619
  1242. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3417
  1243. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3073
  1244. at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3007
  1245. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 10888
  1246. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 10807
  1247. at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 531
  1248. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 459
  1249. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3553
  1250. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3082
  1251. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3363
  1252. at DryIoc.Interpreter.<>c__DisplayClass3_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3262
  1253. at DryIoc.Interpreter.<>c__DisplayClass7_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3373
  1254. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  1255. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  1256. at System.Lazy`1.CreateValue()
  1257. at System.Lazy`1.get_Value()
  1258. at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, LidarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 229
  1259. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  1260. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  1261. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  1262. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  1263. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  1264. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  1265. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  1266. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  1267. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  1268. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  1269. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  1270. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 78
  1271. at NzbDrone.WindowsApp.Main(String[] args) in D:\a\1\s\src\NzbDrone\WindowsApp.cs:line 29
  1272.  
  1273.  
  1274.  
Tags: Lidarr
Advertisement
Add Comment
Please, Sign In to add comment