Installation & Upgrade
Stravia ships as Stravia Desktop installers for personal workstations and Stravia Server binaries, container images, and NixOS packages for headless hosting.
Prerequisites
- Architecture match: Verify your OS and CPU architecture (
x86_64/amd64oraarch64/arm64). - Checksum tool:
sha256sum(Linux),shasum -a 256(macOS), orGet-FileHash(PowerShell on Windows) to verify release artifacts againstSHA256SUMS. - Existing instances: If upgrading from an earlier Stravia version, read the backup requirements before starting v0.7.8.
Steps
Choose your package from GitHub Releases
Download installers and server archives from Stravia GitHub Releases .
Platform Stravia Desktop Stravia Server Windows ( x86_64,ARM64)NSIS *-setup.exe.ziparchiveLinux ( x86_64,ARM64).AppImageGNU .tar.gzarchivemacOS ( x86_64,ARM64).dmgdisk image— (no macOS Server release) Server is also published as a multi-arch container image (
ghcr.io/stravia-ai/straviaplatform:latestforlinux/amd64andlinux/arm64) and via the repository Nix flake (nix build .#stravia-server).Verify
SHA256SUMSbefore runningsha256sum -c SHA256SUMS --ignore-missingshmacOS Gatekeeper and ad-hoc signingStravia Desktop
.dmgbuilds are ad-hoc signed without an Apple Developer ID or Apple notarization. After downloading from a browser, macOS Gatekeeper may block first launch until you explicitly allow the app in System Settings → Privacy & Security.Run Desktop or Server
- Desktop: Launch the installed app. It opens a native window with an automatic
NativeAdminSessionand writes data under your OS app data directory (cn.stravia.agent-infra, overrideable with--data-dirorSTRAVIA_DATA_DIR). Window materials adapt to the OS: Windows 11 (build>= 22000) enables native Mica, Windows 10 (and unknown builds) and Linux use opaque windows, and macOS uses Sidebar vibrancy. - Server binary: Extract the archive and start the binary (binds
127.0.0.1:23471and uses~/.straviaby default):
./stravia-server --data-dir /var/lib/straviash- Desktop: Launch the installed app. It opens a native window with an automatic
Follow upgrade precautions (existing installations)
If you are upgrading an existing database to v0.7.8:
- Stop the running instance and take a full backup of your data directory (
db/gateway.db,server.toml,plugins/,artifacts/), any external PostgreSQL database, and any external S3 bucket. - Do not downgrade after v0.7.8 runs migrations—older binaries refuse newer schemas.
- Review outbound proxy migration (
0060): Migration0060_proxy_list_and_selection.sqlconvertsoutbound_proxyto a named list ({"proxies": [...]}), drops legacybypassandforce_http1fields, and replacesuse_proxy/update_use_proxybooleans withproxy_mode(none,system, or<proxy_id>). Existing disabled connections staynone; new connections default tosystem. - Refresh standalone Wasm vendor plugins: All eight standalone plugins are rebuilt and published for v0.7.8 (
host_version_req >=0.7.8); refresh them from System → Vendor plugins after upgrading the host. - Expect one-time historical rewrites if upgrading across v0.5.x/v0.6.x (migrations
0032–0042normalize turn chains and observation content hashes; allow downtime and disk headroom). - Check updater compatibility on old Desktop builds: Desktop releases up to
0.6.2only recognize 4-platform updater manifests and reject the 6-platform manifest used by newer releases. Install the newer Desktop package manually once.
Migration 0055 permanently cleans legacy credential mappingsMigration
0055_retire_legacy_credential_mappings.sqlpermanently removes credential protection mappings that have empty attribution or only retired rule IDs (such as removed Kingfisher rules). Older masked markers whose mappings are removed become non-restorable and pass through literally. Back up before upgrading.- Stop the running instance and take a full backup of your data directory (
Verify
- Server: Run
./stravia-server --versionand queryhttp://127.0.0.1:23471/healthzafter launch. - Desktop: Confirm the app window opens cleanly; if startup fails before the console loads, use the built-in recovery screen to copy diagnostics or open startup logs (it does not wipe or auto-repair your database).
Troubleshooting
- AppImage fails to start on Linux: Confirm FUSE (
libfuse2) is available or extract with--appimage-extract. - Upgraded Desktop still blocks auto-update from
0.6.x: Download and install thev0.7.8installer manually once so the updater expects the 6-platform manifest. - Server refuses to start after moving files: Check
.instance.lockownership and ensure you did not copy an ancient pre-layout directory (DataPaths::preparerejects legacy layouts).
Next
- Getting Started — configure your first provider, route, and API key.
- What's New & Upgrading to v0.7.8 — review proxy list migration (
0060), update channels, and feature changes.