Deployments, rollbacks and live logs
How a LogiStack deployment goes from queued to ready, with live build logs, rolling updates, release commands, cancel, rollback and Review changes.
A deployment is one attempt to bring a service to a new version: it clones and builds the source (or pulls the image), runs any release command, and rolls the new image out replica by replica. Every deployment keeps its log, so you can follow a build live, see why one failed, and roll back to an earlier image without rebuilding.
Start a deployment
Deployments start from:
| Trigger | When |
|---|---|
| Manual | You select Deploy in the service header |
| Push | A Git push, tag or release matches the service's deploy triggers |
| Webhook | Your CI calls the deploy webhook. See Git webhooks |
| Rollback | You select Roll back to this on an earlier deployment |
| Schedule | A schedule runs a deploy. See Schedules |
| API | The REST API or MCP server. See REST API |
Open the service
Open the project and select the service.
Select Deploy
Select Deploy in the header. The Deployments tab opens on the new deployment and follows its log.

Deployment statuses
A deployment moves through these statuses. The list on the left of the Deployments tab shows each one with its commit, trigger, reason and duration; Current marks the one that is live.
| Status | Meaning |
|---|---|
| Waiting for checks | Held until the commit's CI checks pass |
| Queued | Waiting for the worker |
| Cloning | Checking out the exact commit |
| Building | BuildKit builds the image |
| Pushing | The image goes to the registry |
| Releasing | The pre-deploy command runs |
| Deploying | Swarm replaces the replicas |
| Ready | Every new replica is healthy |
| Failed | A step failed; the error shows above the log |
| Cancelled | You cancelled it |
| Superseded | A newer deployment was queued before this one started |
| Skipped | A trigger held it back, for example [skip ci] or failed checks |
One deployment runs per service at a time. When several are queued, only the newest runs and the older ones become Superseded, so a burst of pushes builds once.
Follow the live log
The log on the right streams as the deployment runs. While it runs, the footer reads Replayed from the start, following live; once it ends, Complete log.
- Search output filters the lines.
- Follow keeps the view at the newest line.
- The copy button copies the whole log.
Lines starting with ==> are LogiStack's own steps, for example:
==> cloning https://github.com/acme-retail/storefront#main
==> commit 8f3c2a1 Gift card balance on checkout summary
==> building registry.example.com/acme/web:dep_rtstor for linux/amd64 (dockerfile)
==> pushing registry.example.com/acme/web:dep_rtstor
==> deploying registry.example.com/acme/web:dep_rtstor
==> healthyFor the runtime output of the running containers, use the Logs tab. See Logs and terminal.
How a rollout works
LogiStack replaces replicas one at a time:
- Start-first for stateless services: the new replica starts, passes its health check, takes traffic, then the old one stops. No request is dropped.
- Stop-first for services with a volume or a port published on the node: the old replica stops before the new one starts, because they can't share the data or the port. Expect a short gap.
- Swarm watches each new replica for 30 seconds. If one fails, the rollout rolls back automatically and the deployment is Failed; the previous version keeps running.
- A replica being replaced gets the Drain timeout (10 seconds by default) after
SIGTERMto finish in-flight requests.
Set the health check and drain timeout under Settings › Healthcheck and drain. See Service settings.
Release commands
Release commands run once on the new image, with the service's variables and networks, around each rollout. Set them under Settings › Release commands, or when you create the service.
- Pre-deploy command: runs before any replica is replaced. If it fails, the deployment fails and the current version keeps running. Use it for database migrations.
- Post-deploy command: runs once the new replicas are healthy. If it fails, the deployment shows a warning and stays live.
- Timeout: seconds, 10 to 7200. Default 600.
Write one argument per line. The command runs without a shell:
bun
run
db:migrateTo use a shell, write sh, -c and the script on three lines:
sh
-c
npx prisma migrate deploy && npx prisma db seedReview changes before deploying
When you change settings, variables, domains or the image, the service doesn't change until the next deployment. The header then shows Review changes, and Deploy shows the number of pending changes.
Open the diff
Select Review changes. The dialog compares what the next deploy applies with the newest healthy deployment.
Read each change
Each line is Added, Removed or Changed: the image, an environment variable, a domain, CPU or memory, replicas, a mount, a config file, a port, the health check, a network or another Swarm setting. Secret values are never shown. Switch to JSON for the raw diff, and copy it with Copy the JSON diff.
Deploy
Select Deploy changes, or Close to keep editing.
Cancel a deployment
Select the deployment and select Cancel. You can cancel while it is Waiting for checks, Queued, Cloning, Building, Pushing or Releasing. Once it reaches Deploying, Swarm owns the rollout and it can't be cancelled; it either finishes or rolls back on its own.
Roll back
Pick an earlier deployment
On the Deployments tab, select a Ready deployment that isn't Current.
Roll back
Select Roll back to this, then Roll back in the dialog. A new Rollback deployment runs that deployment's image again, with no build. The current variables and settings apply.
A rollback restores the image, not the data. If a pre-deploy migration changed the database schema, roll the schema back yourself first. Rollbacks to images built on the local registry stop working if you delete its images. See Registries.
Restart, stop and start
- Restart replaces each replica on the current image, one at a time, with the new one started first. No build runs. It needs one healthy deployment first.
- Stop scales the service to zero replicas and removes its domains from the proxy. Data, volumes and configuration stay.
- Start brings a stopped service back.
Common problems
- Failed in Building: read the log above the error. A missing file usually means a wrong Build context or Root directory.
- Failed in Deploying with a health check error: the app didn't answer on the check's port or path in time. Check the Container port and the health check path.
- Failed with "the image has no /bin/sh": an HTTP or TCP check can't run in a distroless or
scratchimage. Use a Command check. See Images without a shell. - Skipped: "Commit message contains [skip ci]": expected. Push another commit, or select Deploy.
- Deployed, but … The new version stays live: the post-deploy command failed. The new version is live; fix the command and redeploy if needed.
Run a game or voice server
Deploy Minecraft Java or Bedrock, Counter-Strike 2, TeamSpeak 3 or Mumble on LogiStack with published ports, an RCON console and DNS records.
Secrets and environment variables
Store secrets encrypted and versioned at the organization, folder, project, environment or service level, reference them from services, and share plain variables across scopes.