CLI reference and instance configuration
Core/Studio arguments, INI configuration, environment variables and offline diagnostics.
Launch configuration and persistent state
Launch parameters define paths and initial capacities; some server settings are also persisted. Installed launchers read their INI file, while managed startup can specify CLI options and service environment. The --data directory defines instance identity. Offline intervention must target that same directory after its active owner has released it.
Core startup arguments
| Option | Default / behavior |
|---|---|
| --data | ./octaviius-data; use absolute paths for operations. |
| --host / --port | 127.0.0.1 / 9090. |
| --cache-mb | 256; CLI range 1..65536 MiB. |
| --sessions | 8; range 1..256, SQL admission capacity, not HTTP login count. |
| --query-workers | Automatic; explicit 0..64, 0 disables separate readers. |
| --cert / --key | TLS certificate/key for direct HTTPS. |
| --admin-password | Bootstrap secret; prefer OCTAVIIUS_ADMIN_PASSWORD. |
| --reset-admin-password | Intentional reset with Core stopped and the same --data. |
| --log-file | logs/octaviius-core.log beside the script. |
| --log-level | DEBUG/INFO/WARNING/ERROR; default INFO without debug. |
| --debug | Console diagnostics and default DEBUG logging. |
| --verify-storage | Extra checksum validation; slower startup. |
| --diagnose-storage | Read-only JSON diagnostic without server startup. |
| --repair-storage-inventory | Verify blocks, back up manifests and fix overstated inventory; maintenance operation. |
| --self-test | Integrated tests on temporary databases. |
| --demo | Loads sample data into selected --data; writes data. |
| --sql | Executes locally through Engine then exits; not a remote client. |
Studio arguments and INI settings
Studio accepts --engine (default http://127.0.0.1:9090), --host (127.0.0.1), --port (9091), --cert, --key, --log-file, --log-level and --debug. Its default log level is WARNING. index.html must sit beside octaviius.py and match the compatible Core version.
Package shortcuts reread config.ini at startup: core.host/core.port and studio.host/studio.port/studio.engine_url. Additional CLI settings such as memory or certificates do not gain implicit INI fields; prepare an explicit managed launch when needed. OCTAVIIUS_API_* and OCTAVIIUS_NATIVE belong to Core’s process environment.
Offline diagnostics and repairs
Do not run another Engine, --sql, --demo or repair on storage owned by a running server. Stop usage, back up and identify the correct directory. --diagnose-storage reads without repair; --verify-storage deepens checking. Repair is not an automatic response to every performance drop.
python octaviius_core.py --data /srv/octaviius/data --diagnose-storage --verify-storage