V0.8.1- No longer be able to receive and send mails #508
europacafe
started this conversation in
General
Replies: 1 comment 4 replies
-
That error seems to indicate that you were running version 0.7.x before and you upgraded to 0.8.x without migrating your data first. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been on 0.8.1 for a few days without any problem sending and receiving mails. Suddenly I can't receive and send mails. My snappymail webmail cllient is still able to view current inbox mail.
Stalwart admin login after entering username and password produced error "Operation failed
Invalid response code 500: Internal Server Error ."
Sending mails from Gmail and yahoo mail to my mailbox, but they are all lost, and no unsent return mails.
I don't know what had happened. I traced the log file and found the incident happened yesterday. The log part that started to throw errors is below:
2024-06-01T14:48:49.401745Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=30117}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T15:02:50.765391Z INFO session{instance="smtp" protocol=Smtp remote.ip="64.62.197.169" remote.port=22445}: common::listener::listen: context="tls" event="handshake" version=TLSv1_2 cipher=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 2024-06-01T15:03:49.527035Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=8072}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T17:00:00.033380Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=6 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T17:00:00.033649Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=1 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T17:00:00.033778Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=4 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T17:00:00.033892Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=5 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T17:00:00.034013Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=0 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T17:00:00.034217Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=3 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T17:00:00.034360Z ERROR jmap::email::delete: Failed to lock account. event="error" context="email_purge_account" account_id=2 error=InternalError("RocksDB error: Invalid argument: merge_operator is not properly initialized.") 2024-06-01T19:35:41.907591Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.215.176" remote.port=46289}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T19:35:43.276445Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T19:36:19.948623Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.215.176" remote.port=46289}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-01T19:43:16.904837Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.219.44" remote.port=47497}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T19:43:17.433075Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T19:43:46.055218Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.219.44" remote.port=47497}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-01T20:00:00.001664Z ERROR jmap::services::housekeeper: Failed to purge data store rocksdb: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. 2024-06-01T20:04:10.293398Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.219.48" remote.port=46332}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T20:04:10.925738Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T20:04:42.643986Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.219.48" remote.port=46332}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-01T20:31:55.505733Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.221.178" remote.port=46359}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T20:31:56.214996Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T20:32:35.387218Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.221.178" remote.port=46359}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-01T21:00:00.008382Z ERROR jmap::services::housekeeper: Failed to purge blob store rocksdb: Internal Error: Failed to delete blob: Invalid argument: merge_operator is not properly initialized. 2024-06-01T21:20:08.484594Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.222.54" remote.port=47186}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T21:20:09.167317Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T21:20:39.716396Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.222.54" remote.port=47186}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-01T22:00:00.001969Z ERROR jmap::services::housekeeper: Failed to purge lookup store rocksdb: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. 2024-06-01T22:22:12.733261Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.222.177" remote.port=46457}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T22:22:13.812512Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T22:22:51.640565Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.222.177" remote.port=46457}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-01T23:51:03.027458Z INFO session{instance="smtp" protocol=Smtp remote.ip="209.85.221.171" remote.port=46125}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-01T23:51:04.234488Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-01T23:51:43.918445Z ERROR session{instance="smtp" protocol=Smtp remote.ip="209.85.221.171" remote.port=46125}: smtp::queue::spool: Failed to write to data store: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error"
below is the log when I restart stalwart container:
2024-06-02T13:44:41.133667Z INFO utils: Shutting down Stalwart Mail Server v0.8.1... 2024-06-02T13:44:48.714078Z INFO common::manager::boot: Starting Stalwart Mail Server v0.8.1... 2024-06-02T13:44:49.046306Z ERROR smtp::reporting::scheduler: Lock busy: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-02T13:44:49.046556Z ERROR smtp::reporting::scheduler: Lock busy: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-02T13:44:49.046796Z ERROR smtp::reporting::scheduler: Lock busy: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-02T13:44:49.107468Z INFO common::listener::listen: Starting listener id="http" protocol=Http bind.ip="::" bind.port=8080 tls=false 2024-06-02T13:44:49.107559Z INFO common::listener::listen: Starting listener id="https" protocol=Http bind.ip="::" bind.port=443 tls=true 2024-06-02T13:44:49.107582Z INFO common::listener::listen: Starting listener id="imap" protocol=Imap bind.ip="::" bind.port=143 tls=false 2024-06-02T13:44:49.107613Z INFO common::listener::listen: Starting listener id="imaptls" protocol=Imap bind.ip="::" bind.port=993 tls=true 2024-06-02T13:44:49.107641Z INFO common::listener::listen: Starting listener id="sieve" protocol=ManageSieve bind.ip="::" bind.port=4190 tls=false 2024-06-02T13:44:49.107667Z INFO common::listener::listen: Starting listener id="smtp" protocol=Smtp bind.ip="::" bind.port=25 tls=false 2024-06-02T13:44:49.107692Z INFO common::listener::listen: Starting listener id="submission" protocol=Smtp bind.ip="::" bind.port=587 tls=false 2024-06-02T13:44:49.107718Z INFO common::listener::listen: Starting listener id="submissions" protocol=Smtp bind.ip="::" bind.port=465 tls=true 2024-06-02T13:44:49.108296Z INFO common::listener::acme::order: Loaded certificate for domains ["*.mydomain.com"] context="acme" event="process-cert" valid_not_before=2024-04-21 05:08:19 UTC valid_not_after=2024-07-20 05:08:18 UTC renewal_date=2024-06-20T05:08:18Z domains=["*.mydomain.com"] 2024-06-02T13:46:33.451515Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=18632}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:33.842429Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=31230}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:34.307246Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=54503}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:35.222498Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=34051}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:40.298752Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=34942}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:41.154404Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=32983}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:41.587276Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=20328}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:42.484347Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=46820}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:44.785545Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=52280}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:45.575078Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=19703}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:45.902441Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=47383}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:46.861854Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=22704}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:50.534946Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=51267}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:50.888849Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=63755}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:46:51.841276Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=47988}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:50:13.073659Z INFO session{instance="smtp" protocol=Smtp remote.ip="74.6.128.82" remote.port=46868}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:50:17.296037Z ERROR smtp::reporting::dmarc: Failed to write DMARC report event: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="report" event="error" 2024-06-02T13:50:17.296454Z ERROR smtp::reporting::scheduler: Lock busy: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-02T13:50:17.296613Z ERROR smtp::reporting::scheduler: Lock busy: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-02T13:50:17.296778Z ERROR smtp::reporting::scheduler: Lock busy: Internal Error: RocksDB error: Invalid argument: merge_operator is not properly initialized. context="queue" event="error" 2024-06-02T13:50:20.324682Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=63182}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:50:25.836033Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=11148}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:50:29.520044Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=61401}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:50:31.613353Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=19033}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T13:50:37.657426Z INFO session{instance="imap" protocol=Imap remote.ip="192.168.2.1" remote.port=48718}: common::listener::listen: context="tls" event="handshake" version=TLSv1_3 cipher=TLS13_AES_256_GCM_SHA384 2024-06-02T1
Beta Was this translation helpful? Give feedback.
All reactions