Updating and rollback
Move to a new release without losing volumes or the Tailscale node.
Update
Back up and read the notes. Request an instance backup and check that it uploaded. Then read the version notes for every release between yours and the new one.
Point at the new version.
- Dokploy: copy
PANEL_IMAGEandBACKUP_IMAGEfrom the new release'sdokploy.env.exampleinto the Environment. If the release changedcompose.dokploy.yml, paste the new file too. - Docker Compose from source: check out the release tag, for example
git checkout v1.0.1. - Docker Compose with prebuilt images: set
PANEL_IMAGEandBACKUP_IMAGEto the release's digests, set both pull policies toalways, and log the host in to GHCR if the packages are private. Never uselatest.
Make any environment change the version notes ask for.
Recreate the whole stack, so every service that shares the Tailscale network namespace starts again together.
Choose Deploy. The command from Create the service
already has --force-recreate --wait.
For an existing server, use compose.existing.yml and its own
project name. Only the panel image changes there.
Check. All containers are healthy, both portals open, an owner can sign in, a test note syncs, and the monitors are green. A running process does not mean CouchDB is ready, so wait for the health checks.
Never run down --volumes against production. Keep the same project or Dokploy app name, because
it prefixes the persistent volumes.
Version notes
Releases that need an action list it in an Upgrade notes section of the changelog. Read every section between your version and the new one before you update.
Rollback
Roll back to the previous digests only if the releases in between did not change the registry schema. Their changelog entries say so when they do. Otherwise, restore the backup from before the upgrade on an isolated server first, and follow the release's migration notes.
Do not roll back to an image without the quota gateway while the write guards are installed. The
old direct endpoint would fail every write, and removing the guards removes the quota checks. To
recover interrupted quota writes, use the
QUOTA_RECOVER_PENDING procedure instead.