Skip to content

Upgrades

Upgrading Frona AI involves pulling the latest code and rebuilding the containers.

Always back up before upgrading. See Backups.

docker compose stop frona
tar czf frona-backup-pre-upgrade.tar.gz data/ .env
git pull origin main

Review the changelog or diff for any new environment variables or changed defaults. Update your .env file if needed.

docker compose build
docker compose up -d

Check that all services are running:

docker compose ps

Open the web interface and verify everything works as expected.

If something goes wrong:

  1. Stop the services: docker compose down
  2. Check out the previous version: git checkout <previous-commit>
  3. Restore your data backup if needed
  4. Rebuild and start: docker compose build && docker compose up -d

SurrealDB handles schema changes automatically in most cases. If a version requires a specific migration, it will be documented in the release notes.

If you want to pin to a specific version instead of tracking main, use git tags:

git checkout v1.2.3
docker compose build
docker compose up -d