Issue Description
I upgraded from stalwart 0.15.5 to 0.16.5 following the upgrade guide. All my accounts and domains successfully migrated, however all existing email is lost.
Expected Behavior
Existing email should still be available.
Actual Behavior
All existing emails are lost.
Reproduction Steps
I followed the upgrade guide. stalwart-cli apply failed the first time, because DKIMSignatures could not be imported. The secret referenced a file %{file:/opt/stalwart/etc/dkim/example.com.ed25519-2025-06.key}%, which failed validation. I removed the DKIMSignatures from the import, retried the import, but it failed again, because some parts were already applied. I followed the steps in Recovering from a partial apply. Afterwards, the import was successful. However, I fear that
stalwart-cli query Account --json | jq -r '.id' \
| stalwart-cli delete Account --stdin
might still have removed all email?
Maybe step 4 in the docker upgrade guide failed, because I did not see any log scrolling. It just showed that the HTTP endpoint is listening immediately.
Wait until the logs stop scrolling and settle on the message indicating the HTTP endpoint is listening.
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
PostgreSQL
Blob Storage
PostgreSQL
Search Engine
PostgreSQL
Directory Backend
Internal
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.
on