Skip to content

Install

Admin guide · Install runbook

🟢 Supported · ⚠️ host-level commands · images images:ubuntu/24.04

When to use Before you start Steps Verify Roll back
New host or fresh local stack Incus on the host, incus-admin membership Prepare, boot, wait for bootstrap Health 200, ports listening Snapshot copy, new instance

When to use

You are bringing up a machine that will run General Bots, or recreating a local development stack. Everything runs on Incus (incus CLI); the legacy container tooling is not a supported layer.

Before you start

  • A Linux host with Incus. Add your user to incus-admin and log out and back in, or every incus command fails on socket permissions (container deployment).
  • Base image images:ubuntu/24.04 (repository AGENTS.md).
  • Product version 7.1.2 (Cargo.toml). The installer fetches components from botserver/3rdparty.toml; the core versions are listed below.
  • Never install a release build for local work: debug builds are the rule; the only --release path is the desktop packaging pipeline.

Steps

## 1. Prepare the host (run on the host, not inside a container)
sudo apt install incus
sudo incus admin init --auto
sudo usermod -aG incus-admin "$USER"   # then log out and back in
## 2. Take a pre-change snapshot of any instance you will touch
sudo incus snapshot create <container> pre-install-$(date +%Y%m%d%H%M%S)
## 3. Bring up the local stack and wait for bootstrap (up to 5 minutes)
nohup ./restart.sh > /tmp/restart.log 2>&1 &
curl -s http://localhost:8080/health

The bootstrap starts Vault, PostgreSQL, Valkey, OtterIO, Zitadel and the LLM components. If it stalls at "Waiting for BotServer to bootstrap", check botserver.log for Bootstrap process completed! (repository AGENTS.md).

Verify

Check Command Pass condition
API curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/health 200
Suite / cloud / login visit http://localhost:3000, :4000, :5000/login pages load
Containers sudo incus list --format csv bot, tables, cache, drive, vault, proxy are up
Listening ports sudo incus exec <container> -- ss -tlnp 5432, 6379, 8200, 8080
Errors grep -E "ERROR|WARN" botserver.log \| tail -20 none after boot

Core component versions, from botserver/3rdparty.toml:

Component Pinned version
PostgreSQL (tables) 18.6.1
Valkey (cache) 9.1.3
OtterIO (drive) RELEASE.2026-11-25T20-30-00Z
OpenBao (vault component id, bao binary) 2.7.3
Zitadel (directory) 4.20.1
Qdrant (vectordb) 1.20.0
Caddy (proxy) 2.11.9

Ports are the ones in the repository AGENTS.md: 8080 API, 3000 suite, 4000 cloud, 5000 login. Login and signup are served only on the login host.

Roll back

🔴 Incus has no in-place restore for a running instance. Copy the pre-change snapshot into a new instance and swap names after verifying it:

sudo incus snapshot list <container>
sudo incus copy <container>/<snapshot> <container>-restored
sudo incus start <container>-restored
sudo incus stop <container>

Data lives on host mounts, so deleting or replacing an instance does not delete the data. Re-run the verification table after the swap.

See also configuration, containers and supported platforms.