Issue Description
Environment:
Ubuntu 24.04 (fresh installation)
Official Docker CE
Official image: Package stalwart · GitHub
Docker named volumes
No reverse proxy
No HTTPS
No DNS configuration
No custom environment variables
Compose file:
services:
stalwart:
image: Package stalwart · GitHub
container_name: stalwart
ports:
- “8080:8080”
volumes:
- etc:/etc/stalwart
- data:/var/lib/stalwart
volumes:
etc:
data:
Expected Behavior
After completing the setup wizard successfully, Stalwart should restart and start in normal mode instead of bootstrap mode.
Actual Behavior
The setup wizard finishes successfully and displays “Setup complete”.
After restarting the container, Stalwart enters bootstrap mode again.
The logs always contain:
Server started in bootstrap mode
No configuration file was found. Port 8080 is open for initial setup.
The temporary bootstrap administrator is generated again.
Reproduction Steps
Start a fresh container.
Open http://SERVER_IP:8080/admin
Sign in using the temporary bootstrap credentials.
Complete the setup wizard.
Wait until “Setup complete” is displayed.
Restart the container.
Stalwart starts in bootstrap mode again.
Relevant Log Output
2026-07-02T09:26:46Z WARN Server started in bootstrap mode (server.bootstrap-mode) hostname = “b400eae54602”, details = “No configuration file was found. Port 8080 is open for initial setup.”, version = “0.16.11”
2026-07-02T09:28:28Z INFO Authentication successful (auth.success) accountName = “admin”
2026-07-02T09:30:00Z INFO Shutting down Stalwart Server (server.shutdown) causedBy = “SIGTERM”
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
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