// CONTENTS Part 01 · Install

// PART 01

Cloud/server install

Chapter 06 / 60 2 min read English Part 01 of 15

The server install is one binary and a bootstrap. botserver installs itself: it downloads the pinned components, initializes the data stores and starts the stack.

Step 1 — run the binary

./botserver

The bootstrap process automatically:

  1. Detects your system (OS/architecture).
  2. Creates the botserver-stack/ directory structure.
  3. Downloads the components pinned in botserver/3rdparty.toml — PostgreSQL, Valkey, OtterIO and oc, Qdrant, OpenBao, Zitadel, Caddy, Stalwart, llama.cpp (skipped when the wizard is given a hosted provider).
  4. Initializes database, object storage and secrets.
  5. Deploys the default bot.
  6. Starts the services.

First run takes 2–5 minutes. Every archive is checksum-verified against the SHA-256 in botserver/3rdparty.toml after download; a mismatch aborts.

Step 2 — point at your own services (optional)

The platform components are not configured in config.csv. Their endpoints and credentials live in Vault, one path per service, seeded on first boot:

Path Fields
secret/gbo/tables host, port, database, username, password, url
secret/gbo/drive host, port, accesskey, secret, bucket, backend
secret/gbo/cache host, port, password, url
secret/gbo/llm url, model, openai_key
secret/gbo/peer enabled, node-id, node-name, advertise-addr, data-dir, heartbeat-ttl-secs, token, signing-key

Point those at your own instances with vault kv put before the first start. Per-bot settings (server-port, llm-model, …) do go in the bot’s config.csv.

Step 3 — verify

# Component status (requires the component name — no bare `status`)
./botserver list
./botserver status tables

# API health — the endpoint that answers without a token
curl -s http://localhost:8080/health

# LLM (only when the local runtime was installed)
curl -s http://localhost:8081/v1/models

The component CLI is botserver list | status <component> | start | stop | restart | install <component> | remove <component> (plus rotate-secret, vault and security <fix|status>). start, stop and restart manage the four core components (tables, cache, drive, llm); the full registry also installs email, proxy, directory, alm, alm_ci, dns, meeting, remote_desktop, vector_db, timeseries_db, vault, observability, host and botmodels. Component logs land in botserver-stack/logs/.

Container variant

./botserver --container

Container mode creates {tenant}-{component} Incus instances instead of host processes (see Incus and gateway). Data still lives on host mounts under botserver-stack/, so deleting an instance does not delete data.

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move