Skip to Content
OperationsOverview

Operations

This section covers day-two concerns: keeping your instance safe, upgrading it, and diagnosing problems.

Backup & restore

hiveloom backup create --output /var/backups/hiveloom-$(date +%F).tar.gz hiveloom backup list hiveloom backup restore --input /var/backups/hiveloom-2026-04-17.tar.gz

The backup archive contains every tenant database, the platform database, and the encryption master key. Store the archive somewhere off the VPS.

Upgrade

  1. hiveloom backup create ... — always back up first.
  2. sudo systemctl stop hiveloom.
  3. Replace /usr/local/bin/hiveloom with the new binary.
  4. sudo systemctl start hiveloom.
  5. hiveloom health to verify.

Schema migrations run automatically on startup. If an upgrade fails, the previous binary + backup restore gets you back to the prior version.

Troubleshooting

SymptomMost common cause
healthz returns 503LLM provider credential rejected. Rotate it.
OAuth metadata shows http:// URLs over HTTPSReverse proxy not forwarding X-Forwarded-Proto: https.
caddy: context deadline exceededCloud provider blocks port 80 at the edge.
MCP client shows no toolsWrong tenant/agent slug in the MCP URL.
Agent replies are emptyToken budget exhausted; inspect hiveloom compaction-log.

If you are publishing this docs site itself, use Cloudflare Pages deployment.