Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ErrorWarningSystemArrayLogin
- at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3176
- at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry`1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105
- at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136
- at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
- 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
- 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
- at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3661
- at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3188
- at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3471
- at DryIoc.Interpreter.<>c__DisplayClass5_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3370
- at DryIoc.Interpreter.<>c__DisplayClass9_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3481
- at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
- at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
- at System.Lazy`1.CreateValue()
- at System.Lazy`1.get_Value()
- 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
- at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
- at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
- at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
- at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Sonarr.Host/Bootstrap.cs:line 80
- at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Sonarr.Console/ConsoleApp.cs:line 45
- 2024-04-02 04:01:27,966 DEBG 'sonarr' stdout output:
- Press enter to exit...
- 2024-04-02 04:01:28,967 DEBG 'sonarr' stdout output:
- Non-recoverable failure, waiting for user intervention...
- 2024-04-14 19:29:09,588 WARN received SIGTERM indicating exit request
- 2024-04-14 19:29:09,590 DEBG killing sonarr (pid 47) with signal SIGTERM
- 2024-04-14 19:29:09,590 INFO waiting for sonarr to die
- 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)>
- 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)>
- 2024-04-14 19:29:09,657 WARN stopped: sonarr (exit status 143)
- 2024-04-14 19:29:09,657 DEBG received SIGCHLD indicating a child quit
- Created by...
- ___. .__ .__
- \_ |__ |__| ____ | |__ ____ ___ ___
- | __ \| |/ \| | \_/ __ \\ \/ /
- | \_\ \ | | \ Y \ ___/ > <
- |___ /__|___| /___| /\___ >__/\_ \
- \/ \/ \/ \/ \/
- https://hub.docker.com/u/binhex/
- 2024-04-14 19:29:10.291548 [info] Host is running unRAID
- 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
- 2024-04-14 19:29:10.336121 [info] PUID defined as '99'
- 2024-04-14 19:29:10.362244 [info] PGID defined as '100'
- 2024-04-14 19:29:10.408442 [info] UMASK defined as '000'
- 2024-04-14 19:29:10.429980 [info] Permissions already set for '/config'
- 2024-04-14 19:29:10.455756 [info] Deleting files in /tmp (non recursive)...
- 2024-04-14 19:29:10.483251 [info] Starting Supervisor...
- 2024-04-14 19:29:10,712 INFO Included extra file "/etc/supervisor/conf.d/sonarr.conf" during parsing
- 2024-04-14 19:29:10,712 INFO Set uid to user 0 succeeded
- 2024-04-14 19:29:10,715 INFO supervisord started with pid 8
- 2024-04-14 19:29:11,716 INFO spawned: 'sonarr' with pid 47
- 2024-04-14 19:29:11,716 INFO reaped unknown pid 9 (exit status 0)
- 2024-04-14 19:29:12,717 INFO success: sonarr entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
- 2024-04-14 19:29:13,062 DEBG 'sonarr' stdout output:
- [Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/bin/Sonarr - Version 4.0.3.1413
- 2024-04-14 19:29:13,126 DEBG 'sonarr' stdout output:
- [Info] AppFolderInfo: Data directory is being overridden to [/config]
- 2024-04-14 19:29:13,145 DEBG 'sonarr' stdout output:
- [Debug] Bootstrap: Console selected
- 2024-04-14 19:29:13,147 DEBG 'sonarr' stdout output:
- [Info] AppFolderInfo: Data directory is being overridden to [/config]
- 2024-04-14 19:29:13,405 DEBG 'sonarr' stdout output:
- [Info] AppFolderInfo: Data directory is being overridden to [/config]
- 2024-04-14 19:29:13,487 DEBG 'sonarr' stdout output:
- [Info] MigrationController: *** Migrating data source=/config/sonarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
- 2024-04-14 19:29:13,583 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
- 2024-04-14 19:29:13,592 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
- 2024-04-14 19:29:13,592 DEBG 'sonarr' stdout output:
- [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
- 2024-04-14 19:29:13,647 DEBG 'sonarr' stdout output:
- [Info] DatabaseEngineVersionCheck: SQLite 3.45.2
- 2024-04-14 19:29:13,650 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: => 0.0554903s
- 2024-04-14 19:29:13,650 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
- 2024-04-14 19:29:13,650 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: => 0.0580934s
- 2024-04-14 19:29:13,678 DEBG 'sonarr' stdout output:
- [Debug] MigrationController: Took: 00:00:00.1910079
- 2024-04-14 19:29:13,692 DEBG 'sonarr' stdout output:
- [Debug] Microsoft.Extensions.Hosting.Internal.Host: Hosting starting
- 2024-04-14 19:29:13,752 DEBG 'sonarr' stdout output:
- [Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
- 2024-04-14 19:29:13,760 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
- 2024-04-14 19:29:13,760 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
- 2024-04-14 19:29:13,761 DEBG 'sonarr' stdout output:
- [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
- 2024-04-14 19:29:13,766 DEBG 'sonarr' stdout output:
- [Info] DatabaseEngineVersionCheck: SQLite 3.45.2
- 2024-04-14 19:29:13,766 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: => 0.0053003s
- 2024-04-14 19:29:13,766 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
- 2024-04-14 19:29:13,767 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: => 0.0056462s
- 2024-04-14 19:29:13,770 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: 188: postgres_update_timestamp_columns_to_with_timezone migrating
- 2024-04-14 19:29:13,771 DEBG 'sonarr' stdout output:
- [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction
- 2024-04-14 19:29:13,772 DEBG 'sonarr' stdout output:
- [Info] postgres_update_timestamp_columns_to_with_timezone: Starting migration of Log DB to 188
- 2024-04-14 19:29:13,777 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: AlterTable Logs
- 2024-04-14 19:29:13,777 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: => 0.0002892s
- 2024-04-14 19:29:13,778 DEBG 'sonarr' stdout output:
- [Info] FluentMigrator.Runner.MigrationRunner: AlterColumn Logs Time DateTimeOffset
- 2024-04-14 19:29:13,796 DEBG 'sonarr' stdout output:
- [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)
- 2024-04-14 19:29:13,815 DEBG 'sonarr' stdout output:
- [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"
- 2024-04-14 19:29:13,986 DEBG 'sonarr' stdout output:
- [Error] FluentMigrator.Runner.MigrationRunner: constraint failed
- 2024-04-14 19:29:13,986 DEBG 'sonarr' stdout output:
- UNIQUE constraint failed: Logs_temp.Id
- While Processing:
- "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
- [v4.0.3.1413] System.Exception: constraint failed
- UNIQUE constraint failed: Logs_temp.Id
- While Processing:
- "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
- ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
- UNIQUE constraint failed: Logs_temp.Id
- at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
- at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
- at System.Data.SQLite.SQLiteDataReader.NextResult()
- at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
- --- End of inner exception stack trace ---
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
- at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 137
- at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 45
- at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
- at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
- at FluentMigrator.Runner.StopWatch.Time(Action action)
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
- 2024-04-14 19:29:13,988 DEBG 'sonarr' stdout output:
- [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Rolling back transaction
- 2024-04-14 19:29:13,997 DEBG 'sonarr' stdout output:
- [Fatal] Microsoft.AspNetCore.Hosting.Diagnostics: Application startup exception
- [v4.0.3.1413] NzbDrone.Common.Exceptions.SonarrStartupException: Sonarr failed to start: Error creating log database
- ---> System.Exception: constraint failed
- UNIQUE constraint failed: Logs_temp.Id
- While Processing:
- "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
- ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
- UNIQUE constraint failed: Logs_temp.Id
- at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
- at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
- at System.Data.SQLite.SQLiteDataReader.NextResult()
- at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
- at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
- --- End of inner exception stack trace ---
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
- at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 137
- at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 45
- at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
- 2024-04-14 19:29:13,997 DEBG 'sonarr' stdout output:
- at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
- at FluentMigrator.Runner.StopWatch.Time(Action action)
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
- at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
- at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
- at FluentMigrator.Runner.MigrationRunner.MigrateUp()
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/Migration/Framework/MigrationController.cs:line 80
- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 172
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 196
- at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in ./Sonarr.Core/Datastore/DbFactory.cs:line 79
- at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 59
- at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_1(IDbFactory f) in ./Sonarr.Core/Datastore/Extensions/CompositionExtensions.cs:line 11
- at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 8067
- at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3727
- at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3525
- at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3176
- at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry`1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105
- at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136
- at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
- 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
- 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
- at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3661
- at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3188
- at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3471
- at DryIoc.Interpreter.<>c__DisplayClass5_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3370
- at DryIoc.Interpreter.<>c__DisplayClass9_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3481
- at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
- at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
- at System.Lazy`1.CreateValue()
- at System.Lazy`1.get_Value()
- 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
- at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
- at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
- at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
- 2024-04-14 19:29:14,012 DEBG 'sonarr' stdout output:
- 2024-04-14 19:29:14,025 DEBG 'sonarr' stdout output:
- [Fatal] ConsoleApp: EPIC FAIL!
- [v4.0.3.1413] NzbDrone.Common.Exceptions.SonarrStartupException: Sonarr failed to start: Error creating log database
- ---> System.Exception: constraint failed
- UNIQUE constraint failed: Logs_temp.Id
- While Processing:
- "INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs""
- ---> code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed
- UNIQUE constraint failed: Logs_temp.Id
- at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
- at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
- at System.Data.SQLite.SQLiteDataReader.NextResult()
- at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
- 2024-04-14 19:29:14,025 DEBG 'sonarr' stdout output:
- at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
- at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
- --- End of inner exception stack trace ---
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.ExecuteNonQuery(String sql)
- at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(String sql)
- at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.ProcessAlterTable(TableDefinition tableDefinition, List`1 oldColumnDefinitions) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 137
- at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor.Process(AlterColumnExpression expression) in ./Sonarr.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs:line 45
- at FluentMigrator.Expressions.AlterColumnExpression.ExecuteWith(IMigrationProcessor processor)
- at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
- at FluentMigrator.Runner.StopWatch.Time(Action action)
- at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
- at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
- at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
- at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
- at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement)
- at FluentMigrator.Runner.MigrationRunner.MigrateUp()
- at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/Migration/Framework/MigrationController.cs:line 80
- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 172
- --- End of inner exception stack trace ---
- at NzbDrone.Core.Datastore.DbFactory.CreateLog(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 196
- at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in ./Sonarr.Core/Datastore/DbFactory.cs:line 79
- at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in ./Sonarr.Core/Datastore/DbFactory.cs:line 59
- at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_1(IDbFactory f) in ./Sonarr.Core/Datastore/Extensions/CompositionExtensions.cs:line 11
- at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func`2 f, Object d1) in /_/src/DryIoc/Container.cs:line 8067
- at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3727
- at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3525
- at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3176
- at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry`1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105
- at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136
- at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
- 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
- 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
- at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3661
- at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in /_/src/DryIoc/Container.cs:line 3188
- at DryIoc.Interpreter.TryInterpretNestedLambdaBodyAndUnwrapException(IResolverContext r, Expression bodyExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs) in /_/src/DryIoc/Container.cs:line 3471
- at DryIoc.Interpreter.<>c__DisplayClass5_0.<TryInterpretNestedLambda>b__0() in /_/src/DryIoc/Container.cs:line 3370
- at DryIoc.Interpreter.<>c__DisplayClass9_0`1.<ConvertFunc>b__0() in /_/src/DryIoc/Container.cs:line 3481
- at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
- at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
- at System.Lazy`1.CreateValue()
- at System.Lazy`1.get_Value()
- 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
- at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
- at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
- at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
- at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Sonarr.Host/Bootstrap.cs:line 80
- at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Sonarr.Console/ConsoleApp.cs:line 45
- 2024-04-14 19:29:14,041 DEBG 'sonarr' stdout output:
- Press enter to exit...
- 2024-04-14 19:29:15,041 DEBG 'sonarr' stdout output:
- Non-recoverable failure, waiting for user intervention...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement