Log Viewer

Showing 311 log entries
Timestamp (UTC) Labels Message
2026-03-13 23:47:31 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:47:31 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:47:05 [category=CTP.App.Middleware.RunnerTierMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMRTM]-UI access blocked on "DT" runner tier. Path: "/_framework/blazor.web.js" RemoteIp: "10.224.0.4"
2026-03-13 23:47:01 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:47:01 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:46:39 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:46:39 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:46:39 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:46:39 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.7776ms
2026-03-13 23:46:39 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 2.002ms
2026-03-13 23:46:39 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | 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:46:39 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:46:39 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:46:39 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-Unauthorized access to "/integration-groups" while system is SEALED. Redirecting to /setup.
2026-03-13 23:46:39 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:46:39 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:46:39 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:46:31 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:46:31 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:46:01 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:46:01 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:45:52 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:45:52 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:45:52 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:45:52 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:45:52 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 0.75ms
2026-03-13 23:45:52 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 10.5483ms
2026-03-13 23:45:52 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 9.6299ms
2026-03-13 23:45:51 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | 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:45:51 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:45:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:45:51 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-Unauthorized access to "/document-browser" while system is SEALED. Redirecting to /setup.
2026-03-13 23:45:51 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 23:45:51 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:45:51 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:45:31 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:45:31 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:45:01 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:45:01 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:44:31 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:44:31 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:44:01 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:44:01 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:43:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:43:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:43:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:43:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:42:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:42:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:42:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:42:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:41:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:41:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:41:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:41:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:40:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:40:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:40:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:40:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:39:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:39:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:39:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:39:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:38:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:38:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:38:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:38:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:37:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:37:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:37:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:37:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:36:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:36:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:36:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:36:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:35:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("3"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:35:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:35:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:35:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:34:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:34:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:34:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:34:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:33:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:33:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:33:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:33:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:32:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:32:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:31:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:31:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:31:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:30:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:30:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:29:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:28:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:28:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:28:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:27:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:27:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:27:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:26:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:25:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:25:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:24:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:24:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:24:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:23:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:23:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:23:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:23:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:22:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:22:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:22:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:22:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:21:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:21:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:21:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:20:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:20:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:20:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:20:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:19:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:19:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:18:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:18:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:18:04 [category=Services.TelemetryReportingService | job=ctpapp-dt | 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:04 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:04 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:18:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:17:40 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/config/flags" — using safe default
2026-03-13 23:17:40 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/config/flags" — possible API token issue. Check registration status.
2026-03-13 23:17:40 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 23:17:40 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 23:17:40 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 23:17:40 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 5.9399ms
2026-03-13 23:17:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:17:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:17:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:17:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:16:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:16:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:15:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:15:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:15:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:15:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:14:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:14:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:14:00 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:14:00 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:30 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:12:59 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:59 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:12:29 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:29 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:11:59 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:59 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:11:28 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:11:28 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:10:58 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:10:58 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:10:28 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:10:28 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:09:58 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:09:58 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:28 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:09:28 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:58 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:58 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:08:28 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:08:28 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:57 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:07:27 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:27 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:06:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:57 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:06:27 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:06:27 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:05:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:57 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:05:27 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:27 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:04:57 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:04:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:04:27 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:04:27 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:03:57 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:57 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:03:27 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:27 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:02:56 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:56 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:02:25 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:02:25 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:01:55 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"
2026-03-13 23:01:55 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:01:25 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:25 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:00:55 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:55 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 23:00:25 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:25 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:59:55 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:59:55 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:25 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:59:25 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:58:54 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:54 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:58:24 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:58:24 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:57:54 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:54 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:57:23 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:23 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:56:53 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:56:53 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:23 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:23 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:55:53 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:55:53 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:55:23 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:55:23 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:54:53 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:53 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:54:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:54:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:10 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 22:54:10 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 22:54:10 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:10 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 1.5486ms
2026-03-13 22:54:10 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 2.1526ms
2026-03-13 22:54:10 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | 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:10 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:10 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("5"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:10 [category=CTP.App.Middleware.RunnerTierMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMRTM]-UI access blocked on "DT" runner tier. Path: "/_framework/blazor.web.js" RemoteIp: "10.224.0.5"
2026-03-13 22:54:09 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 22:54:09 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 22:54:09 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:09 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 1.1243ms
2026-03-13 22:54:09 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 1.3777ms
2026-03-13 22:54:09 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | 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:09 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:09 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:09 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-Unauthorized access to "/" while system is SEALED. Redirecting to /setup.
2026-03-13 22:54:09 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:09 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:09 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:09 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Warning]
[SCHCHC]-No cached value for "/api/bulletins" — using safe default
2026-03-13 22:54:09 [category=Services.ControlHub.ControlHubClient | job=ctpapp-dt | level=Fatal]
[SCHCHC]-Control Hub returned 401 on "/api/bulletins" — possible API token issue. Check registration status.
2026-03-13 22:54:09 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:09 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 1.2241ms
2026-03-13 22:54:09 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 7.1711ms
2026-03-13 22:54:09 [category=Services.Vault.VaultClient | job=ctpapp-dt | level=Information]
[SVVC]-Secret not found at path: ""secret/data/control-hub/api-token""
2026-03-13 22:54:09 [category=Polly | job=ctpapp-dt | level=Information]
[P]-Execution attempt. Source: '"VaultClient-standard"/""/"Standard-Retry"', Operation Key: 'null', Result: '404', Handled: 'False', Attempt: '0', Execution Time: 7.5067ms
2026-03-13 22:54:09 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | 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:09 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:09 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:09 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-Unauthorized access to "/" while system is SEALED. Redirecting to /setup.
2026-03-13 22:54:09 [category=CTP.App.Middleware.BootstrapMiddleware | job=ctpapp-dt | level=Warning]
[CTPAMBM]-System unsealed check failed (Sealed state): "42P01: relation \"system_state\" does not exist

POSITION: 39"
2026-03-13 22:54:09 [category=Microsoft.EntityFrameworkCore.Query | job=ctpapp-dt | 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:09 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:53:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:53:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:53:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:53:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:52:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:52:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:52:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:51:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:51:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:51:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:51:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:50:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:50:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:49:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:49:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:49:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:48:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:48:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:48:22 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:48:22 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | 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:52 [category=CTP.App.Scheduling.SchedulerSyncService | job=ctpapp-dt | level=Warning]
[CTPASSSS]-SchedulerSyncService: 1 pending migration(s) detected — schema may be incomplete.
2026-03-13 22:47:52 [category=Microsoft.EntityFrameworkCore.Database.Command | job=ctpapp-dt | level=Error]
[MEFCDC]-Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT \"MigrationId\", \"ProductVersion\"
FROM \"__EFMigrationsHistory\"
ORDER BY \"MigrationId\";"

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.