Skip to content

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.

Re-run the install script to fetch and verify the latest release, then restart hytte:

Terminal window
curl -fsSL https://raw.githubusercontent.com/hytte-chat/hytte/main/install.sh | sh

Debian / 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:

Terminal window
# Debian / Ubuntu
sudo apt install ./hytte_<version>_linux_amd64.deb
sudo systemctl restart hytte
# Fedora / RHEL
sudo dnf upgrade ./hytte_<version>_linux_amd64.rpm
sudo systemctl restart hytte

Your /etc/hytte/hytte.env and /var/lib/hytte are preserved.

Pull the new tag and recreate the container:

Terminal window
docker compose pull
docker compose up -d

Check the changelog before jumping across minor versions.

Terminal window
go install hyttechat.com/hytte@latest
Terminal window
hytte -v

Browsers 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.