Install
Installation packages for the pgsilo PostgreSQL backend have not yet been publicly released (MVP in progress). No public download URLs exist yet. When released with Silo, the MVP targets linux/amd64 and linux/arm64 DEB and RPM packages (darwin/arm64 is used for local verification). The frozen October 8, 2026 local checkpoint (3c7fdc03) built only linux/arm64 DEB and darwin/arm64 artifacts.
This guide covers preparing the PostgreSQL database and configuring silo server on Linux (systemd) or macOS. For an existing database undergoing a schema change, follow Upgrade instead.
1. Prepare the PostgreSQL database
Prepare a PostgreSQL 16 or newer primary instance (pg.example.net:5432) with TLS enabled. Gateways must connect directly to PostgreSQL or through a session-preserving proxy; do not route SILO_PG_DSN through PgBouncer in transaction-pooling mode.
On the PostgreSQL primary, create an ordinary, non-superuser role (silo_owner) and a dedicated database (silo):
Require TLS and SCRAM authentication in pg_hba.conf for the gateway subnet:
From the gateway host, verify connectivity, TLS certificate verification (sslmode=verify-full), and primary write status (pg_is_in_recovery() = false):
2. Install on Linux with systemd
Install the package and verify the binary
Once you have built or obtained the target DEB/RPM package for your architecture (amd64 or arm64), verify its SHA-256 checksum and install it:
The package creates the silo system user and group. Complete the configuration steps below before starting the service.
Install TLS certificates and /etc/default/silo
Create /etc/silo and /etc/silo/certs, install the PostgreSQL CA certificate and the S3 server TLS certificate/key pair (public.crt and private.key), and create /etc/default/silo:
Write /etc/default/silo (mode 0640, owned by root:silo) using this template (silo-pg.env.example), replacing all placeholder values:
SILO_PG_QUEUE_TIMEOUT takes effect from 1d387725c (2026-11-08); earlier builds ignore it.
Percent-encode reserved characters in the DSN password. This file is read by systemd EnvironmentFile; do not execute it with source.
Install the systemd drop-in and start silo
Install the service override (/etc/systemd/system/silo.service.d/postgresql.conf, matching silo-pg.conf) so systemd clears any default disk-mode arguments and starts silo server in PostgreSQL mode:
Reload systemd and start the first writable gateway:
On first startup against an empty database, the writable gateway initializes schema 14 (migrations 0001 through 0014) inside a transaction and persists SILO_PG_SEGMENT_SIZE and SILO_PG_MAX_OBJECT_SIZE. Wait for initialization to finish before starting additional gateways.
3. Run on macOS (Apple Silicon)
For local verification on Apple Silicon (darwin/arm64), place public.crt and private.key in your certificate directory and launch ./silo-darwin-arm64 with environment variables prompted interactively so secrets stay out of shell history:
4. Verify database-aware health checks
From a client trusting the S3 TLS CA, verify both read and write health endpoints:
A healthy writable gateway returns HTTP 200 on both endpoints. Next, follow the Quickstart or SDK & CLI Access to create application credentials and buckets.
