docs: refresh persistence guidance

This commit is contained in:
Peter Steinberger
2026-04-04 10:44:55 +01:00
parent a2fa6e8b90
commit f39b5e86e5
5 changed files with 12 additions and 8 deletions

View File

@@ -326,7 +326,8 @@ fly ssh console --command "rm /data/openclaw.json"
### State Not Persisting
If you lose credentials or sessions after a restart, the state dir is writing to the container filesystem.
If you lose auth profiles, channel/provider state, or sessions after a restart,
the state dir is writing to the container filesystem.
**Fix:** Ensure `OPENCLAW_STATE_DIR=/data` is set in `fly.toml` and redeploy.

View File

@@ -158,7 +158,9 @@ The launch script and Quadlet bind-mount host state into the container:
- `OPENCLAW_CONFIG_DIR` -> `/home/node/.openclaw`
- `OPENCLAW_WORKSPACE_DIR` -> `/home/node/.openclaw/workspace`
By default those are host directories, not anonymous container state, so config and workspace survive container replacement.
By default those are host directories, not anonymous container state, so
`openclaw.json`, per-agent `auth-profiles.json`, channel/provider state,
sessions, and workspace survive container replacement.
The Podman setup also seeds `gateway.controlUi.allowedOrigins` for `127.0.0.1` and `localhost` on the published gateway port so the local dashboard works with the container's non-loopback bind.
Useful env vars for the manual launcher:

View File

@@ -68,8 +68,9 @@ Key Blueprint features used:
| Starter | Never | 1GB+ | Personal use, small teams |
| Standard+ | Never | 1GB+ | Production, multiple channels |
The Blueprint defaults to `starter`. To use free tier, change `plan: free` in your fork's
`render.yaml` (but note: no persistent disk means config resets on each deploy).
The Blueprint defaults to `starter`. To use free tier, change `plan: free` in
your fork's `render.yaml` (but note: no persistent disk means OpenClaw state
resets on each deploy).
## After deployment