I tried to update two of our Stalwart Docker systems from 0.16.27 to 1.0.0.
I used “migrate 1.0.1” for both, and the migration process (migrate → run --final) completed without errors. One uses a RoocksDB backend, and the other uses sqlite/file system.
After starting stalwart 1.0.0 I get the error:
ERROR Registry read error (registry.read-error) objectType = (null), id = (null), causedBy = Registry deserialization error (registry.deserialization-error) { causedBy = “crates/store/src/registry/get.rs:96”, id = 20080258862541, details = “NetworkListener”, value = base64:, causedBy = “crates/store/src/dispatch/store.rs:152”, causedBy = “crates/store/src/registry/get.rs:104” }
The base64 decode looks like some binarys and a edsa (dkim?) private key.
This error doesn’t occure if I start in recovery mode.
This error does not occur when I boot into recovery mode.
For now, I have rolled back to version 0.16.27 and will wait and see.
Expected Behavior
v.1.0.0 startes after successfull migration
Actual Behavior
stalwart web interface (and api) is not accessbile anymore
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
Rolling back was fine: 0.16 never touches the new store, so you can rerun the migration later from scratch.
The 1.0 server fails on a single registry record, the network listener with id 20080258862541. In 1.0 a listener only stores its name, bind addresses, protocol and socket and TLS options, so a private key inside that value means the record holds something other than a listener, and I need to find out where it came from. Please don’t paste the value here as it is.
What would help me:
The rows that stalwart-migrate report --state <your state dir> prints for listeners, certificates and DKIM keys (piping it through grep -E 'NetworkListener|Certificate|DkimSignature' is enough).
The decoded value with the key cut out: replace the -----BEGIN ... PRIVATE KEY----- block with <key removed> and keep everything around it, ideally as a hex dump (base64 -d | xxd).
Does the second server fail on the same listener id?
1 info changed - NetworkListener 312051506593403393 info: x:NetworkListener/ivfbgercaeqb maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312051506593403905 info: x:NetworkListener/ivfbgercafab maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312051506595501569 info: x:NetworkListener/ivfbgereafqb maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312051506595502081 info: x:NetworkListener/ivfbgereagab maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312051506595502593 info: x:NetworkListener/ivfbgereagqb maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312051506595503105 info: x:NetworkListener/ivfbgereahab maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312051506595503617 info: x:NetworkListener/ivfbgereahqb maxConnections: v0.16 default 8192 replaced by the new default
1 info changed - NetworkListener 312056812039832576 info: x:NetworkListener/ivfgartwabaa maxConnections: v0.16 default 8192 replaced by the new default