// CONTENTS Part 05 · Services

// PART 05

Object storage

Chapter 23 / 60 2 min read English Part 05 of 15

OtterIO is the default S3-compatible object store that Drive runs against. It is started by the component installer, not by botserver, and botserver only talks to it over the S3 API (and, for the console, over the browser).

The storage architecture, the bucket layouts and the backend catalog are owned by the Drive documentation in the Dev book. This page covers running the default backend.

What it stores

The bot packages in .gbai directories, knowledge-base documents in .gbkb directories, configuration in .gbot, user files and media in .gbdrive, and the bot trees of an organization under {tenant}.gborg.

Credentials

Drive credentials are read from Vault at secret/gbo/drive; the environment variables (OTTERIO_ACCESS_KEY/OTTERIO_SECRET_KEY and friends) are the fallback when no Vault is reachable (botserver/crates/botcore/src/config/from_vault.rs). No component of the Directory service (Zitadel) provisions or rotates these values.

Install and start

The component is declared in botserver/3rdparty.toml under [components.drive] (OtterIO RELEASE.2026-11-25T20-30-00Z, SHA-256 pinned, with arm64 and Windows variants) and installed by the package manager (botserver/crates/botcorepkg/src/installer_regs/register_drive.rs):

Setting Value
Ports 9100 (API), 9101 (console)
Binary {{BIN_PATH}}/otterio (otterio.exe on Windows)
Data {{DATA_PATH}}
Log {{LOGS_PATH}}/otterio.log
Certificates (Linux/macOS) {{CONF_PATH}}/drive/certs
Windows plain HTTP, no certificate directory

The installed command is equivalent to:

nohup {{BIN_PATH}}/otterio server {{DATA_PATH}}   --address 127.0.0.1:9100   --console-address 127.0.0.1:9101   --certs-dir {{CONF_PATH}}/drive/certs > {{LOGS_PATH}}/otterio.log 2>&1 &

The installer registers OtterIO as a host process (container is None in its ComponentConfig), not as an Incus container.

Health and console

Check Command
Linux/macOS curl -sf --cacert {{CONF_PATH}}/drive/certs/CAs/ca.crt https://127.0.0.1:9100/otterio/health/live
Windows curl -sf http://127.0.0.1:9100/otterio/health/live

These are the exact commands the installer uses to decide the component is ready. The console listens on 9101; the health path carries the /otterio prefix on both platforms.

Everyday client access

Use any S3-compatible client against the drive endpoint — the bundled oc (lives at botserver-stack/bin/oc; OC_PATH exists because a bare oc on PATH may be an unrelated tool whose invocation silently broke bucket provisioning at signup), rclone, or Cyberduck:

oc alias set local http://127.0.0.1:9100 "$DRIVE_ACCESSKEY" "$DRIVE_SECRET" --api s3v4
oc ls local/                                  # one bucket per org: {org}.gborg
oc mirror local/ /backup/drive/               # backup (see Backup and restore)

.gbkb/.gbdrive edits are picked up by drive_monitor within seconds; .gbdialog/.gbot edits belong in the bot’s repository and are materialized by git_bot_monitor every 15 seconds.

Found a mistake? Open an issue · All books

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