Advertisement
Guest User

Untitled

a guest
Apr 14th, 2024
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.90 KB | None | 0 0
  1. ErrorWarningSystemArrayLogin
  2.  
  3.  
  4. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3176
  5. at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry`1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105
  6. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136
  7. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
  8. 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 541
  9. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 469
  10. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3661
  11. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3188
  12. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3471
  13. at DryIoc.Interpreter.<>c__DisplayClass5_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3370
  14. at DryIoc.Interpreter.<>c__DisplayClass9_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3481
  15. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  16. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  17. at System.Lazy`1.CreateValue()
  18. at System.Lazy`1.get_Value()
  19. 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, IEventAggregator eventAggregator, SonarrErrorPipeline errorHandler) in ./Sonarr.Host/Startup.cs:line 223
  20. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  21. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  22. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  23. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  24. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  25. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  26. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  27. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  28. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  29. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  30. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  31. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Sonarr.Host/Bootstrap.cs:line 80
  32. at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Sonarr.Console/ConsoleApp.cs:line 45
  33.  
  34.  
  35. 2024-04-02 04:01:27,966 DEBG 'sonarr' stdout output:
  36. Press enter to exit...
  37.  
  38. 2024-04-02 04:01:28,967 DEBG 'sonarr' stdout output:
  39. Non-recoverable failure, waiting for user intervention...
  40.  
  41. 2024-04-14 19:29:09,588 WARN received SIGTERM indicating exit request
  42. 2024-04-14 19:29:09,590 DEBG killing sonarr (pid 47) with signal SIGTERM
  43. 2024-04-14 19:29:09,590 INFO waiting for sonarr to die
  44. 2024-04-14 19:29:09,657 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22435137490384 for <Subprocess at 22435137407696 with name sonarr in state STOPPING> (stdout)>
  45. 2024-04-14 19:29:09,657 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22435137756176 for <Subprocess at 22435137407696 with name sonarr in state STOPPING> (stderr)>
  46. 2024-04-14 19:29:09,657 WARN stopped: sonarr (exit status 143)
  47. 2024-04-14 19:29:09,657 DEBG received SIGCHLD indicating a child quit
  48. Created by...
  49. ___. .__ .__
  50. \_ |__ |__| ____ | |__ ____ ___ ___
  51. | __ \| |/ \| | \_/ __ \\ \/ /
  52. | \_\ \ | | \ Y \ ___/ > <
  53. |___ /__|___| /___| /\___ >__/\_ \
  54. \/ \/ \/ \/ \/
  55. https://hub.docker.com/u/binhex/
  56.  
  57. 2024-04-14 19:29:10.291548 [info] Host is running unRAID
  58. 2024-04-14 19:29:10.311035 [info] System information Linux d23ad0251e2e 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux
  59. 2024-04-14 19:29:10.336121 [info] PUID defined as '99'
  60. 2024-04-14 19:29:10.362244 [info] PGID defined as '100'
  61. 2024-04-14 19:29:10.408442 [info] UMASK defined as '000'
  62. 2024-04-14 19:29:10.429980 [info] Permissions already set for '/config'
  63. 2024-04-14 19:29:10.455756 [info] Deleting files in /tmp (non recursive)...
  64. 2024-04-14 19:29:10.483251 [info] Starting Supervisor...
  65. 2024-04-14 19:29:10,712 INFO Included extra file "/etc/supervisor/conf.d/sonarr.conf" during parsing
  66. 2024-04-14 19:29:10,712 INFO Set uid to user 0 succeeded
  67. 2024-04-14 19:29:10,715 INFO supervisord started with pid 8
  68. 2024-04-14 19:29:11,716 INFO spawned: 'sonarr' with pid 47
  69. 2024-04-14 19:29:11,716 INFO reaped unknown pid 9 (exit status 0)
  70. 2024-04-14 19:29:12,717 INFO success: sonarr entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
  71. 2024-04-14 19:29:13,062 DEBG 'sonarr' stdout output:
  72. [Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/bin/Sonarr - Version 4.0.3.1413
  73.  
  74.  
  75. 2024-04-14 19:29:13,126 DEBG 'sonarr' stdout output:
  76. [Info] AppFolderInfo: Data directory is being overridden to [/config]
  77.  
  78. 2024-04-14 19:29:13,145 DEBG 'sonarr' stdout output:
  79. [Debug] Bootstrap: Console selected
  80.  
  81. 2024-04-14 19:29:13,147 DEBG 'sonarr' stdout output:
  82. [Info] AppFolderInfo: Data directory is being overridden to [/config]
  83.  
  84. 2024-04-14 19:29:13,405 DEBG 'sonarr' stdout output:
  85. [Info] AppFolderInfo: Data directory is being overridden to [/config]
  86.  
  87. 2024-04-14 19:29:13,487 DEBG 'sonarr' stdout output:
  88. [Info] MigrationController: *** Migrating data source=/config/sonarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
  89.  
  90.  
  91. 2024-04-14 19:29:13,583 DEBG 'sonarr' stdout output:
  92. [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
  93.  
  94. 2024-04-14 19:29:13,592 DEBG 'sonarr' stdout output:
  95. [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
  96.  
  97. 2024-04-14 19:29:13,592 DEBG 'sonarr' stdout output:
  98. [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
  99.  
  100. 2024-04-14 19:29:13,647 DEBG 'sonarr' stdout output:
  101. [Info] DatabaseEngineVersionCheck: SQLite 3.45.2
  102.  
  103. 2024-04-14 19:29:13,650 DEBG 'sonarr' stdout output:
  104. [Info] FluentMigrator.Runner.MigrationRunner: => 0.0554903s
  105.  
  106. 2024-04-14 19:29:13,650 DEBG 'sonarr' stdout output:
  107. [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
  108.  
  109. 2024-04-14 19:29:13,650 DEBG 'sonarr' stdout output:
  110. [Info] FluentMigrator.Runner.MigrationRunner: => 0.0580934s
  111.  
  112. 2024-04-14 19:29:13,678 DEBG 'sonarr' stdout output:
  113. [Debug] MigrationController: Took: 00:00:00.1910079
  114.  
  115. 2024-04-14 19:29:13,692 DEBG 'sonarr' stdout output:
  116. [Debug] Microsoft.Extensions.Hosting.Internal.Host: Hosting starting
  117.  
  118. 2024-04-14 19:29:13,752 DEBG 'sonarr' stdout output:
  119. [Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
  120.  
  121.  
  122. 2024-04-14 19:29:13,760 DEBG 'sonarr' stdout output:
  123. [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
  124.  
  125. 2024-04-14 19:29:13,760 DEBG 'sonarr' stdout output:
  126. [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
  127.  
  128. 2024-04-14 19:29:13,761 DEBG 'sonarr' stdout output:
  129. [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
  130.  
  131. 2024-04-14 19:29:13,766 DEBG 'sonarr' stdout output:
  132. [Info] DatabaseEngineVersionCheck: SQLite 3.45.2
  133.  
  134. 2024-04-14 19:29:13,766 DEBG 'sonarr' stdout output:
  135. [Info] FluentMigrator.Runner.MigrationRunner: => 0.0053003s
  136.  
  137. 2024-04-14 19:29:13,766 DEBG 'sonarr' stdout output:
  138. [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
  139.  
  140. 2024-04-14 19:29:13,767 DEBG 'sonarr' stdout output:
  141. [Info] FluentMigrator.Runner.MigrationRunner: => 0.0056462s
  142.  
  143. 2024-04-14 19:29:13,770 DEBG 'sonarr' stdout output:
  144. [Info] FluentMigrator.Runner.MigrationRunner: 188: postgres_update_timestamp_columns_to_with_timezone migrating
  145.  
  146. 2024-04-14 19:29:13,771 DEBG 'sonarr' stdout output:
  147. [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction
  148.  
  149. 2024-04-14 19:29:13,772 DEBG 'sonarr' stdout output:
  150. [Info] postgres_update_timestamp_columns_to_with_timezone: Starting migration of Log DB to 188
  151.  
  152. 2024-04-14 19:29:13,777 DEBG 'sonarr' stdout output:
  153. [Info] FluentMigrator.Runner.MigrationRunner: AlterTable Logs
  154.  
  155. 2024-04-14 19:29:13,777 DEBG 'sonarr' stdout output:
  156. [Info] FluentMigrator.Runner.MigrationRunner: => 0.0002892s
  157.  
  158. 2024-04-14 19:29:13,778 DEBG 'sonarr' stdout output:
  159. [Info] FluentMigrator.Runner.MigrationRunner: AlterColumn Logs Time DateTimeOffset
  160.  
  161. 2024-04-14 19:29:13,796 DEBG 'sonarr' stdout output:
  162. [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE TABLE "Logs_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Message" TEXT NOT NULL, "Time" DATETIME NOT NULL, "Logger" TEXT NOT NULL, "Exception" TEXT, "ExceptionType" TEXT, "Level" TEXT NOT NULL)
  163.  
  164. 2024-04-14 19:29:13,815 DEBG 'sonarr' stdout output:
  165. [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs"
  166.  
  167. 2024-04-14 19:29:13,986 DEBG 'sonarr' stdout output:
  168. [Error] FluentMigrator.Runner.MigrationRunner: constraint failed
  169.  
  170. 2024-04-14 19:29:13,986 DEBG 'sonarr' stdout output:
  171.  
  172. UNIQUE constraint failed: Logs_temp.Id
  173.  
  174. While Processing:
  175. "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
  176.  
  177. [v4.0.3.1413] System.Exception: constraint failed
  178.  
  179. UNIQUE constraint failed: Logs_temp.Id
  180.  
  181. While Processing:
  182. "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
  183. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  184.  
  185. UNIQUE constraint failed: Logs_temp.Id
  186.  
  187. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  188. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  189. at System.Data.SQLite.SQLiteDataReader.NextResult()
  190. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  191. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  192. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  193. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  194. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  195. --- End of inner exception stack trace ---
  196. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  197. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  198. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 137
  199. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 45
  200. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  201. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  202. at FluentMigrator.Runner.StopWatch.Time(Action action)
  203. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  204.  
  205.  
  206. 2024-04-14 19:29:13,988 DEBG 'sonarr' stdout output:
  207. [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Rolling back transaction
  208.  
  209. 2024-04-14 19:29:13,997 DEBG 'sonarr' stdout output:
  210. [Fatal] Microsoft.AspNetCore.Hosting.Diagnostics: Application startup exception
  211.  
  212. [v4.0.3.1413] NzbDrone.Common.Exceptions.SonarrStartupException: Sonarr failed to start: Error creating log database
  213.  
  214. ---> System.Exception: constraint failed
  215.  
  216. UNIQUE constraint failed: Logs_temp.Id
  217.  
  218. While Processing:
  219. "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
  220. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  221.  
  222. UNIQUE constraint failed: Logs_temp.Id
  223.  
  224. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  225. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  226. at System.Data.SQLite.SQLiteDataReader.NextResult()
  227. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  228. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  229. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  230. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  231. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  232. --- End of inner exception stack trace ---
  233. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  234. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  235. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 137
  236. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 45
  237. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  238.  
  239. 2024-04-14 19:29:13,997 DEBG 'sonarr' stdout output:
  240. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  241. at FluentMigrator.Runner.StopWatch.Time(Action action)
  242. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  243. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  244. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  245. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  246. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  247. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  248. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/Migration/Framework/MigrationController.cs:line 80
  249. at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 172
  250. --- End of inner exception stack trace ---
  251. at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 196
  252. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in ./Sonarr.Core/Datastore/DbFactory.cs:line 79
  253. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 59
  254. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_1(IDbFactory f) in ./Sonarr.Core/Datastore/Extensions/CompositionExtensions.cs:line 11
  255. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 8067
  256. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3727
  257. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3525
  258. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3176
  259. at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry`1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105
  260. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136
  261. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
  262. 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 541
  263. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 469
  264. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3661
  265. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3188
  266. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3471
  267. at DryIoc.Interpreter.<>c__DisplayClass5_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3370
  268. at DryIoc.Interpreter.<>c__DisplayClass9_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3481
  269. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  270. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  271. at System.Lazy`1.CreateValue()
  272. at System.Lazy`1.get_Value()
  273. 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, IEventAggregator eventAggregator, SonarrErrorPipeline errorHandler) in ./Sonarr.Host/Startup.cs:line 223
  274. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  275. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  276. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  277. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  278. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  279. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  280. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  281.  
  282.  
  283. 2024-04-14 19:29:14,012 DEBG 'sonarr' stdout output:
  284.  
  285.  
  286.  
  287. 2024-04-14 19:29:14,025 DEBG 'sonarr' stdout output:
  288. [Fatal] ConsoleApp: EPIC FAIL!
  289.  
  290. [v4.0.3.1413] NzbDrone.Common.Exceptions.SonarrStartupException: Sonarr failed to start: Error creating log database
  291.  
  292. ---> System.Exception: constraint failed
  293.  
  294. UNIQUE constraint failed: Logs_temp.Id
  295.  
  296. While Processing:
  297. "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
  298. ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
  299.  
  300. UNIQUE constraint failed: Logs_temp.Id
  301.  
  302. at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  303. at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  304. at System.Data.SQLite.SQLiteDataReader.NextResult()
  305. at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  306.  
  307. 2024-04-14 19:29:14,025 DEBG 'sonarr' stdout output:
  308. at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  309. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
  310. at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
  311. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  312. --- End of inner exception stack trace ---
  313. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
  314. at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
  315. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 137
  316. at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 45
  317. at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
  318. at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
  319. at FluentMigrator.Runner.StopWatch.Time(Action action)
  320. at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
  321. at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
  322. at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
  323. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
  324. at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
  325. at FluentMigrator.Runner.MigrationRunner.MigrateUp()
  326. at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/Migration/Framework/MigrationController.cs:line 80
  327. at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 172
  328. --- End of inner exception stack trace ---
  329. at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 196
  330. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in ./Sonarr.Core/Datastore/DbFactory.cs:line 79
  331. at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 59
  332. at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_1(IDbFactory f) in ./Sonarr.Core/Datastore/Extensions/CompositionExtensions.cs:line 11
  333. at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 8067
  334. at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3727
  335. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3525
  336. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3176
  337. at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry`1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105
  338. at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136
  339. at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
  340. 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 541
  341. at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 469
  342. at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3661
  343. at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3188
  344. at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3471
  345. at DryIoc.Interpreter.<>c__DisplayClass5_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3370
  346. at DryIoc.Interpreter.<>c__DisplayClass9_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3481
  347. at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
  348. at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
  349. at System.Lazy`1.CreateValue()
  350. at System.Lazy`1.get_Value()
  351. 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, IEventAggregator eventAggregator, SonarrErrorPipeline errorHandler) in ./Sonarr.Host/Startup.cs:line 223
  352. at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  353. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  354. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
  355. at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
  356. at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
  357. at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
  358. at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  359. at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  360. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  361. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
  362. at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
  363. at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Sonarr.Host/Bootstrap.cs:line 80
  364. at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Sonarr.Console/ConsoleApp.cs:line 45
  365.  
  366.  
  367. 2024-04-14 19:29:14,041 DEBG 'sonarr' stdout output:
  368. Press enter to exit...
  369.  
  370. 2024-04-14 19:29:15,041 DEBG 'sonarr' stdout output:
  371. Non-recoverable failure, waiting for user intervention...
  372.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement