Updates
hytte is a single binary with embedded web assets. Database migrations run automatically on startup inside a transaction, so upgrading is just replacing the binary (or image) and restarting.
Back up your data directory first. See Data and backups.
Install script
Section titled “Install script”Re-run the install script to fetch and verify the latest release, then restart hytte:
curl -fsSL https://raw.githubusercontent.com/hytte-chat/hytte/main/install.sh | shDebian / Ubuntu (.deb) and Fedora / RHEL (.rpm)
Section titled “Debian / Ubuntu (.deb) and Fedora / RHEL (.rpm)”Download the new package from Releases and install it over the existing one:
# Debian / Ubuntusudo apt install ./hytte_<version>_linux_amd64.debsudo systemctl restart hytte
# Fedora / RHELsudo dnf upgrade ./hytte_<version>_linux_amd64.rpmsudo systemctl restart hytteYour /etc/hytte/hytte.env and /var/lib/hytte are preserved.
Docker
Section titled “Docker”Pull the new tag and recreate the container:
docker compose pulldocker compose up -dCheck the changelog before jumping across minor versions.
go install
Section titled “go install”go install hyttechat.com/hytte@latestCheck the running version
Section titled “Check the running version”hytte -vBrowsers load the updated frontend automatically on reload (static asset URLs are cache-busted by version).
Upgrading from pre-E2E-v2 development builds
Section titled “Upgrading from pre-E2E-v2 development builds”If you ran an early development build from before key-based end-to-end encryption (schema versions 1–3), hytte cannot migrate plaintext or passphrase-encrypted messages automatically. On startup it moves the old database to hytte.db.pre-e2e-v2 (and uploads to uploads.pre-e2e-v2) and initializes a fresh database.