Operational guidance for running the OrbyNode daemon.
The daemon owns agents and durable state. Browser and desktop clients can stop without stopping work. Restarting a client reconnects to the daemon; restarting the daemon preserves durable state but not live PTY processes.
By default, OrbyNode uses ~/.orbynode:
| Path | Purpose |
|---|---|
~/.orbynode/orbynode.db |
SQLite WAL database. |
~/.orbynode/orbynode.db-shm |
SQLite shared memory file. |
~/.orbynode/orbynode.db-wal |
SQLite write-ahead log. |
~/.orbynode/worktrees |
Task worktrees. |
Set ORBYNODE_DATA_DIR to relocate all durable state.
| Variable | Default | Purpose |
|---|---|---|
ORBYNODE_BIND |
127.0.0.1:7676 |
Listen address. |
ORBYNODE_PORT |
7676 |
Port shorthand. |
ORBYNODE_DATA_DIR |
~/.orbynode |
Durable state directory. |
ORBYNODE_STATIC_DIR |
embedded | Serve web assets from disk. |
ORBYNODE_LOG_FORMAT |
human-readable | json enables structured logs. |
RUST_LOG |
info |
Tracing filter. |
curl -fsS http://127.0.0.1:7676/health
curl -fsS http://127.0.0.1:7676/version
Human-readable logs are default. Use JSON for collectors:
ORBYNODE_LOG_FORMAT=json RUST_LOG=info cargo run -p orbynode-daemon
Do not log secrets. OrbyNode avoids logging tokens, pairing secrets and password material.
orbynode.db and, if present, the WAL/SHM files as a set.ORBYNODE_DATA_DIR./health, users, projects and audit history.Do not copy only the main database file while WAL is active unless you use a SQLite online backup API.
ORBYNODE_DATA_DIR./version.SQLite migrations are one-way. Test upgrades on a copied data directory before production rollout.
/audit for authentication and administrative actions.Pair remote nodes from an authenticated Owner or Administrator session. Store the one-time pairing secret outside logs. Revoke the node immediately if its host is decommissioned or compromised.
| Symptom | Check |
|---|---|
| Cannot bind | ORBYNODE_BIND conflict and permissions. |
| Browser cannot authenticate | Clock skew, expired session, cookie/CSRF handling. |
| Missing UI | web/dist absent and no ORBYNODE_STATIC_DIR. |
| Database migration fails | Disk space, SQLite integrity and backup state. |
| Terminal ends after daemon restart | Expected: live PTYs are not durable. |
| Remote node offline | Node process, network, heartbeat and revocation state. |