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 / amd64 or aarch64 / arm64).
  • Checksum tool: sha256sum (Linux), shasum -a 256 (macOS), or Get-FileHash (PowerShell on Windows) to verify release artifacts against SHA256SUMS.
  • Existing instances: If upgrading from an earlier Stravia version, read the backup requirements before starting v0.7.8.

Steps

  1. Choose your package from GitHub Releases

    Download installers and server archives from Stravia GitHub Releases .

    PlatformStravia DesktopStravia Server
    Windows (x86_64, ARM64)NSIS *-setup.exe.zip archive
    Linux (x86_64, ARM64).AppImageGNU .tar.gz archive
    macOS (x86_64, ARM64).dmg disk image— (no macOS Server release)

    Server is also published as a multi-arch container image (ghcr.io/stravia-ai/straviaplatform:latest for linux/amd64 and linux/arm64) and via the repository Nix flake (nix build .#stravia-server).

  2. Verify SHA256SUMS before running

    sha256sum -c SHA256SUMS --ignore-missing
    sh
    macOS Gatekeeper and ad-hoc signing

    Stravia Desktop .dmg builds 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.

  3. Run Desktop or Server

    • Desktop: Launch the installed app. It opens a native window with an automatic NativeAdminSession and writes data under your OS app data directory (cn.stravia.agent-infra, overrideable with --data-dir or STRAVIA_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:23471 and uses ~/.stravia by default):
    ./stravia-server --data-dir /var/lib/stravia
    sh
  4. Follow upgrade precautions (existing installations)

    If you are upgrading an existing database to v0.7.8:

    1. 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.
    2. Do not downgrade after v0.7.8 runs migrations—older binaries refuse newer schemas.
    3. Review outbound proxy migration (0060): Migration 0060_proxy_list_and_selection.sql converts outbound_proxy to a named list ({"proxies": [...]}), drops legacy bypass and force_http1 fields, and replaces use_proxy / update_use_proxy booleans with proxy_mode (none, system, or <proxy_id>). Existing disabled connections stay none; new connections default to system.
    4. 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.
    5. Expect one-time historical rewrites if upgrading across v0.5.x/v0.6.x (migrations 0032–0042 normalize turn chains and observation content hashes; allow downtime and disk headroom).
    6. Check updater compatibility on old Desktop builds: Desktop releases up to 0.6.2 only 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 mappings

    Migration 0055_retire_legacy_credential_mappings.sql permanently 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.

Verify

  • Server: Run ./stravia-server --version and query http://127.0.0.1:23471/healthz after 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 the v0.7.8 installer manually once so the updater expects the 6-platform manifest.
  • Server refuses to start after moving files: Check .instance.lock ownership and ensure you did not copy an ancient pre-layout directory (DataPaths::prepare rejects legacy layouts).

Next