Log Viewer

Showing 357 log entries
Timestamp (UTC) Labels Message
2026-03-13 23:33:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:33:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:33:08 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:33:08 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:33:08 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:33:08 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.8712ms
2026-03-13 23:33:08 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.0767ms
2026-03-13 23:33:08 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:33:08 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/integrations" while system is SEALED. Redirecting to /setup.
2026-03-13 23:33:08 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:33:08 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:33:08 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:33:08 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:33:08 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.8615ms
2026-03-13 23:33:08 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.2196ms
2026-03-13 23:33:08 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:33:08 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/integration-groups" while system is SEALED. Redirecting to /setup.
2026-03-13 23:33:08 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:33:08 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:33:06 [category=CTP.App.Middleware.RunnerTierMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMRTM]-UI access blocked on "PROD" runner tier. Path: "/_framework/blazor.web.js" RemoteIp: "10.224.0.4"
2026-03-13 23:32:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:32:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:32:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:32:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:32:05 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:32:05 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:32:05 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:32:05 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.7975ms
2026-03-13 23:32:05 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.1081ms
2026-03-13 23:32:05 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:32:05 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:32:05 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:32:05 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/document-browser" while system is SEALED. Redirecting to /setup.
2026-03-13 23:32:05 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:32:05 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:32:05 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:32:05 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:32:05 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:32:05 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:32:05 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.8273ms
2026-03-13 23:32:05 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.236ms
2026-03-13 23:32:04 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:32:04 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:32:04 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:32:04 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/docs/integration-patterns" while system is SEALED. Redirecting to /setup.
2026-03-13 23:32:04 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:32:04 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:32:04 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:31:55 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:31:55 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:31:54 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:31:54 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.7732ms
2026-03-13 23:31:54 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 6.2483ms
2026-03-13 23:31:54 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:31:54 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 5.778ms
2026-03-13 23:31:54 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:31:54 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:31:54 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:31:54 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/replicator" while system is SEALED. Redirecting to /setup.
2026-03-13 23:31:54 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:31:54 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:31:54 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:31:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:31:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:31:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:31:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:30:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:30:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("4"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:30:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:30:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:29:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:29:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:29:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:29:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:28:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:28:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:28:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:28:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:27:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:27:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:27:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:27:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:26:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:26:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:26:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:26:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:25:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:25:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:25:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:25:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:24:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:24:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:24:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:24:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:23:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:23:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:23:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:23:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:22:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:22:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:22:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:22:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:21:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:21:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:21:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:21:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:20:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:20:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:20:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:20:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:19:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:19:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:19:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:19:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:18:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:18:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:18:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:18:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:18:02 [category=Services.TelemetryReportingService | job=ctpapp-prod | level=Warning]
[STRS]-Failed to send telemetry report.
Npgsql.PostgresException (0x80004005): 42P01: relation "replication_executions" does not exist

POSITION: 183
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Integrator.Coordination.IntegrationStats.GetExecutionsAsync(Nullable`1 integrationId, Int32 limit) in /home/vsts/work/1/s/Integrator/Coordination/IntegrationStats.cs:line 235
   at Services.TelemetryReportingService.ReportHealthAsync(CancellationToken ct) in /home/vsts/work/1/s/Services/TelemetryReportingService.cs:line 102
   at Services.TelemetryReportingService.ExecuteAsync(CancellationToken stoppingToken) in /home/vsts/work/1/s/Services/TelemetryReportingService.cs:line 58
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "replication_executions" does not exist
    Position: 183
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:18:02 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"replication_executions\" does not exist

POSITION: 183
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"replication_executions\" does not exist
    Position: 183
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "replication_executions" does not exist

POSITION: 183
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "replication_executions" does not exist
    Position: 183
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:18:02 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=["@__p_0='?' (DbType = Int32)"], CommandType='Text', CommandTimeout='30']"
""SELECT r.id, r.completed_at, r.duration_ms, r.error_message, r.executed_by, r.integration_id, r.records_failed, r.records_processed, r.records_succeeded, r.started_at, r.status
FROM replication_executions AS r
ORDER BY r.started_at DESC
LIMIT @__p_0"
2026-03-13 23:17:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:17:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:17:38 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/config/flags" — using safe default
2026-03-13 23:17:38 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/config/flags" — possible API token issue. Check registration status.
2026-03-13 23:17:38 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:17:38 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:17:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:17:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:16:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:16:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:16:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:16:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:15:58 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:15:58 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:15:58 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:15:58 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.843ms
2026-03-13 23:15:58 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 856.7531ms
2026-03-13 23:15:58 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:15:58 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 798.9807ms
2026-03-13 23:15:57 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:15:57 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:15:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:15:57 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/" while system is SEALED. Redirecting to /setup.
2026-03-13 23:15:57 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:15:57 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 23:15:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 23:15:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:15:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:15:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:15:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:14:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:14:51 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:14:21 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:14:21 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:13:50 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:13:50 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:13:20 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:13:20 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:12:50 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:12:50 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:12:20 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:12:20 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:11:50 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:11:50 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:11:20 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:11:20 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:10:50 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:10:50 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:10:20 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:10:20 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:09:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:09:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:09:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:09:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:08:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:08:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:08:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:08:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:07:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:07:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:07:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:07:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:06:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:06:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:06:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:06:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:05:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:05:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:05:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:05:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:04:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:04:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:04:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:04:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:03:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:03:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:03:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:03:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:02:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:02:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:02:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:02:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:01:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:01:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:01:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:01:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:00:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:00:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:00:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:00:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:59:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:59:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:59:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:59:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:58:49 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:58:49 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:58:19 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("971"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:58:19 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:57:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:57:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:57:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:57:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:56:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:56:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:56:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:56:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:55:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:55:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:55:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:55:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:54:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:54:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:54:25 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 22:54:25 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 22:54:25 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:25 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.8099ms
2026-03-13 22:54:25 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.1341ms
2026-03-13 22:54:25 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:25 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 22:54:25 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 22:54:24 [category=CTP.App.Middleware.RunnerTierMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMRTM]-UI access blocked on "PROD" runner tier. Path: "/_framework/blazor.web.js" RemoteIp: "10.224.0.5"
2026-03-13 22:54:24 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 22:54:24 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 22:54:24 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:24 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.8568ms
2026-03-13 22:54:24 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.2494ms
2026-03-13 22:54:24 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:24 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 22:54:24 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 22:54:24 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/" while system is SEALED. Redirecting to /setup.
2026-03-13 22:54:24 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:24 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 22:54:24 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 22:54:24 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 22:54:24 [category=Services.ControlHub.ControlHubClient | job=ctpapp-prod | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 22:54:23 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:23 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 1.688ms
2026-03-13 22:54:23 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 150.6881ms
2026-03-13 22:54:23 [category=Services.Vault.VaultClient | job=ctpapp-prod | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:23 [category=Polly | job=ctpapp-prod | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 6.6419ms
2026-03-13 22:54:23 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Setup check failed (DB likely unsealed or not migrated): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:23 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 22:54:23 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 22:54:22 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-Unauthorized access to "/" while system is SEALED. Redirecting to /setup.
2026-03-13 22:54:22 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-prod | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:22 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-prod | level=Error]
[MEFCQ]-An exception occurred while iterating over the results of a query for context type '"DataAccess.Entities.CtpDbContext"'."
""Npgsql.PostgresException (0x80004005): 42P01: relation \"system_state\" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation \"system_state\" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable"
Npgsql.PostgresException (0x80004005): 42P01: relation "system_state" does not exist

POSITION: 39
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
  Exception data:
    Severity: ERROR
    SqlState: 42P01
    MessageText: relation "system_state" does not exist
    Position: 39
    File: parse_relation.c
    Line: 1392
    Routine: parserOpenTable
2026-03-13 22:54:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT EXISTS (
    SELECT 1
    FROM system_state AS s
    WHERE s.is_system_unsealed)"
2026-03-13 22:54:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:54:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:53:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:53:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:53:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:53:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:52:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:52:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:52:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:52:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:51:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:51:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:51:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:51:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:50:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:50:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:50:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:50:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:49:48 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:49:48 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:49:18 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:49:18 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:48:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:48:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:48:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:48:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:47:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:47:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:47:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:47:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:46:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:46:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:46:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:46:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:45:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:45:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:45:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:45:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:44:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:44:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:44:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:44:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:43:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:43:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:43:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:43:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:42:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:42:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:42:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:42:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:41:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:41:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:41:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:41:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:40:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:40:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:40:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:40:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:39:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:39:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:39:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:39:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:38:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:38:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:38:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:38:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:37:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:37:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:37:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:37:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:36:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:36:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:36:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:36:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:35:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:35:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:35:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:35:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:34:47 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("0"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:34:47 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:34:17 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-prod | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 22:34:17 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-prod | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.

Local serilog.txt

Reads a local serilog.txt file from the server/container file system. Click to load latest lines.
No serilog.txt found or file is empty.