Uninstalling
There is no uninstall script. Removal is a Compose command plus some manual cleanup.
Stop, keeping everything
Section titled “Stop, keeping everything”docker compose -f deploy/docker-compose.yml downContainers stop, volumes are untouched. Bring it back with the same deploy command and everything is as you left it.
This is what you want for maintenance.
Stop and destroy the state
Section titled “Stop and destroy the state”docker compose -f deploy/docker-compose.yml down -vDestroyed:
- The database. Every user, app, host, session and entitlement. Gone.
- The agent’s enrollment secret. The agent will re-enroll using the token.
- The TLS certificate. A new one is generated on next boot, with a new fingerprint, so every client re-trusts.
- The artwork cache. Re-fetched.
Not destroyed:
- User home directories, if you configured a host path. They are a bind
mount, not a Compose volume, so
down -vnever touches them. This is deliberate, and it is the reason a host path is the better storage choice. - Container images.
deploy/.env, secrets and all.
Full removal
Section titled “Full removal”-
Drain and stop additional agents using the agent-only packaging you installed on those machines. The shipped base Compose file is a complete stack, not a safe generic command for a second host.
-
Take a final backup if there is any chance you want the data. See Backup and restore.
-
Bring the stack down with volumes.
Terminal window docker compose -f deploy/docker-compose.yml down -v -
Remove the home directories. Resolve the effective root for every host under Admin, Fleet, Hosts and verify each exact path before removal. These are everyone’s save games; there is no universal path once per-host roots are in use.
Terminal window sudo rm -rf -- <verified-managed-home-root> -
Remove the images.
Terminal window docker image ls --filter reference='ghcr.io/accreleus/quasar/*'docker image rm <verified-image-id-or-digest>App images pulled or built by Quasar are also on the host. List them before removing, and be careful with a blanket prune if you have other things on this machine.
-
Remove the environment file.
Terminal window shred -u deploy/.env -
Remove the checkout. First leave it, print its absolute path, and verify that no backups or unrelated files were placed inside it. Delete that exact directory using your normal file-management tool.
Host changes to undo
Section titled “Host changes to undo”Quasar asks you to make three changes outside Docker. None are removed by any of the above.
The socket buffer sysctl:
sudo rm /etc/sysctl.d/99-quasar.confThe uinput module load, if you added it and nothing else needs it:
sudo rm /etc/modules-load.d/uinput.confAny TLS certificate you added to your machines’ trust stores.
Removing one host from a fleet
Section titled “Removing one host from a fleet”Do not tear down the whole deployment for this.
- Drain the host in Admin, Fleet, Hosts so it stops taking new sessions.
- Wait for its sessions to finish.
- Stop the agent on that machine.
- Forget the host in Admin, Fleet, Hosts.
Its home directories stay where they are. Move or delete them deliberately.