I’m now a step further
To eliminate any behavior with docker running on a synology I have setup a notebook with debian 13 similar to the productive system
the migration succed for the export.json
But there are still no data in the mailboxes
what I have done
Old docker-compose points /opt/stalwart to /var/lib/stalwart/data
volumes:
- “/var/lib/stalwart15:/opt/stalwart”
and under var/lib/stalwart15/data are 3 subfolders
data, etc and logs. Below data are no subfolder blobs
The folders and datas are copied to the new folder for stalwart16
I start then the recovery mode
sudo docker run -d --name stalwart-recovery
-e STALWART_RECOVERY_MODE=1
-e STALWART_RECOVERY_ADMIN=admin:somepwd
-p 8080:8080
-v /var/lib/stalwart16/etc:/etc/stalwart
-v /var/lib/stalwart16/data:/var/lib/stalwart
stalwartlabs/stalwart:v0.16.18
this is the result of the logtrace
2026-08-20T09:16:19Z WARN Server started in recovery mode (server.recovery-mode) details = “Port 8080 is open for troubleshooting and recovery.”, hostname = “adbe5ede0540”, version = “0.16.18”
2026-08-20T09:16:20Z INFO Application resource updated (resource.application-updated) url = “https://github.com/stalwartlabs/webui/releases/latest/download/webui.zip”, details = “Stalwart Web Interface”
2026-08-20T09:16:20Z INFO Network listener started (network.listen-start) listenerId = “http-recovery”, localIp = ::, localPort = 8080, tls = false
and I can import with stalwart-cli the export.json
In recoverymode I can now login into the webui and see all accounts, domains etc. and can create the new admin account.
But, the mailboxes are all still empty and the usage shows even after “Perform account maintenance operations” 0kb usage
What are I doing wrong?
Before I forget, the system is using the rockdb