-
-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Bug Description
I have these type of errors (bottom). It takes a long time before the login window appears and if i try to login I am redirected to the login screen.
Any hint where to search....
Marcel
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
[MailArchiver] 2026-02-02T20:57:56.223414990Z Failed to determine the https port for redirect.
[MailArchiver] 2026-02-02T20:58:19.227224463Z fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
[MailArchiver] 2026-02-02T20:58:19.227507305Z Failed executing DbCommand (11ms) [Parameters=[@tolower='?'], CommandType='Text', CommandTimeout='600']
[MailArchiver] 2026-02-02T20:58:19.227547724Z SELECT u."Id", u."CreatedAt", u."Email", u."IsActive", u."IsAdmin", u."IsSelfManager", u."IsTwoFactorEnabled", u."LastLoginAt", u."OAuthRemoteUserId", u."PasswordHash", u."RequiresApproval", u."TwoFactorBackupCodes", u."TwoFactorSecret", u."Username"
[MailArchiver] 2026-02-02T20:58:19.227594229Z FROM mail_archiver."Users" AS u
[MailArchiver] 2026-02-02T20:58:19.227640429Z WHERE lower(u."Username") = @tolower AND u."IsActive"
[MailArchiver] 2026-02-02T20:58:19.227666057Z LIMIT 1
[MailArchiver] 2026-02-02T20:58:19.240160288Z fail: Microsoft.EntityFrameworkCore.Query[10100]
[MailArchiver] 2026-02-02T20:58:19.240255953Z An exception occurred while iterating over the results of a query for context type 'MailArchiver.Data.MailArchiverDbContext'.
[MailArchiver] 2026-02-02T20:58:19.240298149Z Npgsql.PostgresException (0x80004005): 42703: column u.OAuthRemoteUserId does not exist
[MailArchiver] 2026-02-02T20:58:19.240336927Z
2026-02-02 20:58:19.213 UTC [10101] ERROR: column u.OAuthRemoteUserId does not exist at character 129
[MailArchiver-DB]
2026-02-02 20:58:19.213 UTC [10101] STATEMENT: SELECT u."Id", u."CreatedAt", u."Email", u."IsActive", u."IsAdmin", u."IsSelfManager", u."IsTwoFactorEnabled", u."LastLoginAt", u."OAuthRemoteUserId", u."PasswordHash", u."RequiresApproval", u."TwoFactorBackupCodes", u."TwoFactorSecret", u."Username"
[MailArchiver-DB]
FROM mail_archiver."Users" AS u
[MailArchiver-DB]
WHERE lower(u."Username") = $1 AND u."IsActive"
[MailArchiver-DB]
LIMIT 1
Steps to Reproduce
After restarting the same behaviour.
Application Version
2601.3
Installation Type
Docker
Management Tools
DockHand
Host System
Synology DSM latest version
Mail Provider
Exchange Online
Relevant Log Output
.