info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:8000 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: F:\Pokemon Database\1-DATABASE\Vault LocalWebServer build for http://localhost:59601 LocalWebServer Startup - Configure services Setup services - DB Setup services - Main Setup services - Actions Setup services - Loaders Setup services - Finished Photino.NET: "Photino".SetTitle(PKVault) Photino.NET: "PKVault".SetUseOsDefaultSize(True) Photino.NET: "PKVault".SetSize(1360, 800) Photino.NET: "PKVault".Center() Photino.NET: "PKVault".SetResizable(True) Photino.NET: "PKVault".SetIconFile(C:\Users\Usuario\AppData\Local\Temp\pkvault-icon.png) Photino.NET: "PKVault".Load(http://localhost:8000/index.html?server=http://localhost:59601) Photino.NET: "PKVault".Load(http://localhost:8000/index.html?server=http://localhost:59601) CREATED LocalWebServer start for http://localhost:59601 Memory checks: initial=65 MB setuped=64 MB diff=-1 MB LocalWebServer Startup - Configure app builder Session no created - Start new one ⏱️ Starting new session ... info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:59601 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: F:\Pokemon Database\1-DATABASE\Vault info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/index.html?server=http://localhost:59601 - - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/index.html?server=http://localhost:59601 - 200 - text/html 71.4298ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/assets/index-BFZ0M9hf.css - - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/assets/compiler-runtime-Dcw1A0Hx.js - - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/assets/path-line-Btk6qJim.css - - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/assets/path-line-Yu8RvoJL.js - - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/assets/index-BFZ0M9hf.css - 200 - text/css 2.1049ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/assets/index-Bsnb-cCz.js - - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/assets/path-line-Btk6qJim.css - 200 - text/css 2.5767ms info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/assets/compiler-runtime-Dcw1A0Hx.js - 200 - text/javascript 2.9475ms info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/assets/path-line-Yu8RvoJL.js - 200 - text/javascript 13.7542ms info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/assets/index-Bsnb-cCz.js - 200 - text/javascript 13.1075ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/fonts/pokemon-emerald/font-face.css - - - info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/fonts/pixel-operator/font-face.css - - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/fonts/pokemon-emerald/font-face.css - 200 - text/css 0.1448ms info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/fonts/pixel-operator/font-face.css - 200 - text/css 0.1431ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8000/logo.svg - - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint '{**catchAll}' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint '{**catchAll}' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8000/logo.svg - 200 - image/svg+xml 0.1483ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:59601/api/settings - - - info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4] CORS policy execution successful. info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint 'PKVault.Backend.settings.routes.SettingsController.Get (PKVault.Backend)' info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102] Route matched with {action = "Get", controller = "Settings"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[SettingsDTO]] Get() on controller PKVault.Backend.settings.routes.SettingsController (PKVault.Backend). warn: 3/30/2026 17:44:52.607 CoreEventId.SensitiveDataLoggingEnabledWarning[10400] (Microsoft.EntityFrameworkCore.Infrastructure) Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development. DB session deleted=True/False ⏱️ Data Migration + Clean + Seeding ... 9 pending migrations 20260128223806_InitialCreate 20260203021248_AddDexLanguages 20260206121645_RemoveCascadeDelete 20260307174237_UpdateToPKHeX260306 20260307230359_AddDexFormContext 20260311211548_AddExternalFlags 20260318143740_AddVariantContext 20260319132911_AddMetaTable 20260326011036_AddAlphaFlags ⏱️ DB seeding ... ⏱️ Seed PKM files migration ... ⏱️ Seed PKM files migration done in 00:00:00.2134254 ⏱️ DB seeding done in 00:00:00.2170538 9 applied migrations ⏱️ Data Migration + Clean + Seeding done in 00:00:01.2620400 Save 29693 29693 29693 - G1 - Version RD - play-time 169ː42ː24 Save 54487 54487 54487 - G1 - Version GN - play-time 255ː00ː00 6EAC (timed check done - memory used: 128 MB) ⏱️ Apply action - DataNormalizeAction ... ⏱️ Data normalize - json legacy migration ... ⏱️ Pkm normalize: CleanData remove pkms with no pkmVersions ... ⏱️ Pkm normalize: CleanData remove pkms with no pkmVersions done in 00:00:00.0369988 ⏱️ PkmVersion normalize: CleanData rename pk filename if needed ... ⏱️ PkmVersion normalize: CleanData rename pk filename if needed done in 00:00:00.2525545 ⏱️ Pkm normalize: MigrateV0ToV1 ... ⏱️ Pkm normalize: MigrateV0ToV1 done in 00:00:00.0691507 ⏱️ Pkm normalize: MigrateV1ToV2 ... ⏱️ Pkm normalize: MigrateV1ToV2 done in 00:00:00.0275118 ⏱️ Pkm normalize: MigrateV2ToV3 ... ⏱️ Pkm normalize: MigrateV2ToV3 done in 00:00:00.0286234 ⏱️ PkmVersion normalize: MigrateV0ToV1 ... ⏱️ PkmVersion normalize: MigrateV0ToV1 done in 00:00:00.0009013 Json migration inserts: - 2 banks - 13 boxes - 659 pkmVersions - 0 dex ⏱️ Data normalize - json legacy migration done in 00:00:00.4518585 ⏱️ Apply action - DataNormalizeAction done in 00:00:00.7403513 System.InvalidOperationException: The instance of entity type 'BankEntity' cannot be tracked because another instance with the key value '{Id: 0}' is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.ThrowIdentityConflict(InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NullableKeyIdentityMap`1.Add(InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking(InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.OnStateChanging(EntityState newState) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntryBase.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityStateAsync(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintActionAsync(EntityEntryGraphNode`1 node, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraphAsync[TState](EntityEntryGraphNode`1 node, Func`3 handleNode, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.AttachGraphAsync(InternalEntityEntry rootEntry, EntityState targetState, EntityState storeGeneratedWithKeySetTargetState, Boolean forceStateWhenUnknownKey, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.AddRangeAsync(IEnumerable`1 entities, CancellationToken cancellationToken) at EntityLoader`2.AddEntities(IEnumerable`1 entities) at DataNormalizeAction.MigrateJSONLegacyData() at DataNormalizeAction.MigrateJSONLegacyData() at DataNormalizeAction.MigrateJSONLegacyData() at DataNormalizeAction.UpdateVersion() at DataNormalizeAction.Execute(DataNormalizeActionInput input, DataUpdateFlags flags) at DataAction`1.ExecuteWithPayload(I input, DataUpdateFlags flags) at ActionService.<>c__DisplayClass30_0`1.<g__applyFn|0>d.MoveNext() --- End of stack trace from previous location --- at ActionService.ApplyAction(IServiceScope scope, Func`3 actionFn, DataUpdateFlags flags) at ActionService.AddActionInner(IServiceScope scope, Func`3 actionFn, DataUpdateFlags flags) at ActionService.AddAction[I](IServiceScope scope, Func`2 getScopedAction, I input) ⏱️ Starting new session ... DB session deleted=True/False ⏱️ Data Migration + Clean + Seeding ... 9 pending migrations 20260128223806_InitialCreate 20260203021248_AddDexLanguages 20260206121645_RemoveCascadeDelete 20260307174237_UpdateToPKHeX260306 20260307230359_AddDexFormContext 20260311211548_AddExternalFlags 20260318143740_AddVariantContext 20260319132911_AddMetaTable 20260326011036_AddAlphaFlags ⏱️ DB seeding ... ⏱️ Seed PKM files migration ... ⏱️ Seed PKM files migration done in 00:00:00.0013223 ⏱️ DB seeding done in 00:00:00.0016008 9 applied migrations ⏱️ Data Migration + Clean + Seeding done in 00:00:00.7153535 Save 29693 29693 29693 - G1 - Version RD - play-time 169ː42ː24 Save 54487 54487 54487 - G1 - Version GN - play-time 255ː00ː00 6EAC (timed check done - memory used: 177 MB) ⏱️ Starting new session done in 00:00:00.8278709 ⏱️ Starting new session done in 00:00:04.4041286 info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105] Executed action PKVault.Backend.settings.routes.SettingsController.Get (PKVault.Backend) in 3605.8507ms info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint 'PKVault.Backend.settings.routes.SettingsController.Get (PKVault.Backend)' System.InvalidOperationException: The instance of entity type 'BankEntity' cannot be tracked because another instance with the key value '{Id: 0}' is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.ThrowIdentityConflict(InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NullableKeyIdentityMap`1.Add(InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking(InternalEntityEntry entry) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.OnStateChanging(EntityState newState) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntryBase.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityStateAsync(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintActionAsync(EntityEntryGraphNode`1 node, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraphAsync[TState](EntityEntryGraphNode`1 node, Func`3 handleNode, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.AttachGraphAsync(InternalEntityEntry rootEntry, EntityState targetState, EntityState storeGeneratedWithKeySetTargetState, Boolean forceStateWhenUnknownKey, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.AddRangeAsync(IEnumerable`1 entities, CancellationToken cancellationToken) at EntityLoader`2.AddEntities(IEnumerable`1 entities) at DataNormalizeAction.MigrateJSONLegacyData() at DataNormalizeAction.MigrateJSONLegacyData() at DataNormalizeAction.MigrateJSONLegacyData() at DataNormalizeAction.UpdateVersion() at DataNormalizeAction.Execute(DataNormalizeActionInput input, DataUpdateFlags flags) at DataAction`1.ExecuteWithPayload(I input, DataUpdateFlags flags) at ActionService.<>c__DisplayClass30_0`1.<g__applyFn|0>d.MoveNext() --- End of stack trace from previous location --- at ActionService.ApplyAction(IServiceScope scope, Func`3 actionFn, DataUpdateFlags flags) at ActionService.AddActionInner(IServiceScope scope, Func`3 actionFn, DataUpdateFlags flags) at ActionService.AddAction[I](IServiceScope scope, Func`2 getScopedAction, I input) at ActionService.AddAction[I](IServiceScope scope, Func`2 getScopedAction, I input) at ActionService.DataNormalize(DataNormalizeActionInput input, IServiceScope scope) at SessionService.CheckDataToNormalize(IServiceScope scope) at SessionService.<>c__DisplayClass27_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at SessionService.EnsureSessionCreated(Nullable`1 byPassContextId) at SessionService.EnsureSessionCreated(Nullable`1 byPassContextId) at MetaLoader.GetDbSet() at MetaLoader.GetEntity(MetaKey key) at MetaLoader.GetUserId() at SettingsService.GetSettingsWithUserId() at PKVault.Backend.settings.routes.SettingsController.Get() at lambda_method31(Closure, Object) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger) at ExceptionHandlingMiddleware.Invoke(HttpContext context) info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:59601/api/settings - 403 - text/plain 3768.8611ms