btcpayserver / app

MIT License
6 stars 1 forks source link

The wallet is not created with latest commit 2d8a7c5498f24e04c198aafff6fa991b1f9f2b88 #100

Open pavlenex opened 2 hours ago

pavlenex commented 2 hours ago

Running 2d8a7c5498f24e04c198aafff6fa991b1f9f2b88

  1. Nuked all folders and env and stareted pure from scratch
  2. Immediately I see this in logs
    info: Configuration:  Now listening on: https://0.0.0.0:14142
    fail: Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery: An exception was thrown while deserializing the token.
    Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
    ---> System.Security.Cryptography.CryptographicException: The key {6f7248df-ec8e-42e7-a6f7-62067bcb3510} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning
    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
    at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
    --- End of inner exception stack trace ---
    at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
    at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)
    this is on a pure deployment...
  3. I proceed. I create an admin on the server, create a hot on-chain wallet on the server.
  4. I go to the app, I create a new user from the app (create user account)
  5. I see this (this is pretty common error that should be investigated, whenever user registers through the app itself, not the invite, there's this error.Screenshot 2024-09-24 at 17 55 42
  6. I wait for a bit, click create a store, a store creates. Weird but okay. I see this error: Screenshot 2024-09-24 at 17 55 54
  7. I log that user out, obviosly the wallet hasn't been generated from some reason. I create a new user from the admin, and join via invite link, however again the wallet is not created.
  8. Screenshot 2024-09-24 at 17 58 25

pavlenex commented 2 hours ago

Logs App:

/Users/p/Downloads/pavlenex/app/BTCPayApp.Server/bin/Debug/net8.0/BTCPayApp.Server
info: BTCPayApp.Core.AppDatabaseMigrator[0]
      Applying 5 migrations
info: BTCPayApp.Core.AppDatabaseMigrator[0]
      Migrations applied: 20240627110659_Init, 20240726135741_triggers, 20240731112534_triggers2, 20240805085647_checkpoitnchannels, 20240820073346_channelpimp
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: WaitingForAuth from Init
info: BTCPayApp.Core.Attempt2.LightningNodeManager[0]
      Lightning node state changed: WaitingForConnection from Init
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from Init
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:7016
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:5259
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /Users/p/Downloads/pavlenex/app/BTCPayApp.Server
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: Connecting from WaitingForAuth
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: Syncing from Connecting
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerNode: 026a0027eb56464583c1b541492ec6e948e27d491e07e38419f470308dc681d1a5@127.0.0.1:30893
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyNetwork: RegTest
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from Syncing
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: user-store-added - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: store-created - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: user-store-added - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: store-updated - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: store-created - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: user-store-added - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: user-store-added - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: store-updated - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: app-created - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: WaitingForAuth from ConnectedAsMaster
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: WaitingForConnection from NotConfigured
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: Connecting from WaitingForAuth
warn: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Killing connection
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: Syncing from Connecting
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerNode: 026a0027eb56464583c1b541492ec6e948e27d491e07e38419f470308dc681d1a5@127.0.0.1:30893
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyNetwork: RegTest
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedFinishedInitialSync from Syncing
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      MasterUpdated: 3492200849697033535
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      Connection state changed: ConnectedAsMaster from ConnectedFinishedInitialSync
info: BTCPayApp.Core.Attempt2.OnChainWalletManager[0]
      Wallet state changed: NotConfigured from WaitingForConnection
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: store-created - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: user-store-added - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: user-store-added - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: store-updated - BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayAppServerClient[0]
      NotifyServerEvent: BTCPayApp.CommonServer.ServerEvent
info: BTCPayApp.Core.Attempt2.BTCPayConnectionManager[0]
      OnNotifyServerEvent: app-created - BTCPayApp.CommonServer.ServerEvent

Logs server

/Users/p/Downloads/pavlenex/app/submodules/btcpayserver/BTCPayServer/bin/Debug/net8.0/BTCPayServer
info: Configuration:  Data Directory: /Users/p/.btcpayserver/RegTest
info: Configuration:  Configuration File: /Users/p/.btcpayserver/RegTest/settings.config
info: Configuration:  Creating configuration file
info: BTCPayServer.Plugins.PluginManager: Loading plugins from /Users/p/.btcpayserver/Plugins
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.Shopify - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.PointOfSale - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.PayButton - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.NFC - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.Crowdfund - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.Bitcoin - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.Altcoins - 2.0.0.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPay.App - 2.0.0.0
info: Configuration:  Supported chains: BTC
info: Configuration:  BTC: Explorer url is http://127.0.0.1:32838/
info: Configuration:  BTC: Cookie file is /Users/p/.nbxplorer/RegTest/.cookie
warn: Configuration:  BTC: Using cookie auth against NBXplorer, but /Users/p/.nbxplorer/RegTest/.cookie is not found
info: Configuration:  Network: Regtest
info: Configuration:  LogFile: /Users/p/.btcpayserver/RegTest/debug.log
info: Configuration:  Log Level: Debug
info: BTCPayServer.Hosting.MigrationStartupTask: Running the migration scripts...
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20200225133433_AddApiKeyLabel'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20200402065615_AddApiKeyBlob'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20200413052418_PlannedTransactions'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20200507092343_AddArchivedToInvoice'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20200625064111_refundnotificationpullpayments'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20200901161733_AddInvoiceEventLogSeverity'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20201002145033_AddCreateDateToUser'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20201007090617_u2fDeviceCascade'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20201015151438_AddDisabledNotificationsToUser'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20201108054749_webhooks'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20201208054211_invoicesorderindex'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20201228225040_AddingInvoiceSearchesTable'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20210314092253_Fido2Credentials'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20211021085011_RemovePayoutDestinationConstraint'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20211125081400_AddUserBlob'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220115184620_AddCustodianAccountData'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220311135252_AddPayoutProcessors'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220414132313_AddLightningAddress'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220518061525_invoice_created_idx'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220523022603_remove_historical_addresses'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220610090843_AddSettingsToStore'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20220929132704_label'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20221128062447_jsonb'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230123062447_migrateoldratesource'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230125085242_AddForms'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230130040047_blob2'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230130062447_jsonb2'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230315062447_fixmaxlength'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230504125505_StoreRoles'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230529135505_WebhookDeliveriesCleanup'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20230906135844_AddArchivedFlagForStoresAndApps'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20231020135844_AddBoltcardsTable'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20231121031609_removecurrentrefund'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20231219031609_appssettingstojson'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20231219031609_translationsmigration'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240104155620_AddApprovalToApplicationUser'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240220000000_FixWalletObjectsWithEmptyWalletId'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240229000000_PayoutAndPullPaymentToJsonBlob'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240229092905_AddManagerAndEmployeeToStoreRoles'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240304003640_addinvoicecolumns'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240317024757_payments_refactor'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240325095923_RemoveCustodian'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240405004015_cleanup_invoice_events'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240405052858_cleanup_address_invoices'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240501015052_noperiod'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240508015052_fileid'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240726113051_AppStuff'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240826065950_removeinvoicecols'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240827034505_migratepayouts'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240904092905_UpdateStoreOwnerRole'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240906010127_renamecol'.
info: Microsoft.EntityFrameworkCore.Migrations: Applying migration '20240913034505_refactorpendinginvoicespayments'.
info: BTCPayServer.Hosting.MigrationStartupTask: All migration scripts ran successfully
info: Configuration:  Using HTTPS with the default certificate
info: Configuration:  Root Path: /
info: Configuration:  Connection to NBXplorer's database successful, dashboard and reporting features activated.
info: Configuration:  SSH settings detected, testing connection to root@127.0.0.1 on port 21622 ...
info: PayServer:      Checking if any payment arrived on lightning while the server was offline...
info: Configuration:  SSH connection succeeded
info: PayServer:      Processing lightning payments...
info: PayServer:      Starting listening NBXplorer (BTC)
info: PayServer:      Start watching invoices
info: PayServer:      Starting payment request expiration watcher
info: PayServer:      0 pending payment requests being checked since last run
info: BTCPayServer.HostedServices.InvoiceBlobMigratorHostedService: Migrating from the beginning
info: BTCPayServer.HostedServices.InvoiceBlobMigratorHostedService: Migration completed
info: BTCPayServer.HostedServices.InvoiceBlobMigratorHostedService: Post-migration VACUUM (ANALYZE)
info: BTCPayServer.HostedServices.InvoiceBlobMigratorHostedService: Post-migration VACUUM (ANALYZE) finished
info: PayServer:      BTC: Checking if any pending invoice got paid while offline...
info: PayServer:      BTC: 0 payments happened while offline
info: PayServer:      Connected to WebSocket of NBXplorer (BTC)
info: Configuration:  Now listening on: https://0.0.0.0:14142
fail: Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery: An exception was thrown while deserializing the token.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
 ---> System.Security.Cryptography.CryptographicException: The key {6f7248df-ec8e-42e7-a6f7-62067bcb3510} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
   at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
   at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)
info: PayServer:      New admin admin@btcpayserver.org registered
info: PayServer:      User admin@btcpayserver.org logged in
info: PayServer:      New user user@btcpayserver.org registered
info: PayServer:      User user@btcpayserver.org logged in
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with device identifier 3492200849697033535
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with same active state
info: PayServer:      New user user2@btcpayserver.org invited by admin@btcpayserver.org
info: PayServer:      User user2@btcpayserver.org accepted the invite
info: PayServer:      User user2@btcpayserver.org logged in
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with device identifier 3492200849697033535
info: BTCPayServer.Controllers.BTCPayAppState: DeviceMasterSignal called with active state