Skip to content

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

Upgrading from v2026.10.0 to v2026.11.0 ​

  • Upload limits: File uploads now use server.max_upload_file_size_bytes (FRONA_SERVER_MAX_UPLOAD_FILE_SIZE_BYTES), defaulting to 100 MiB. max_body_size_bytes no longer controls the upload route. If you customized the old limit to govern uploads, set the new field explicitly. Allow an additional 1 MiB for multipart metadata in your reverse proxy.
  • Usage migration: Startup recovers complete historical input counts where saved provider totals support them. Recorded costs and pricing snapshots are unchanged. Incomplete historical counts remain marked as incomplete, with affected ratios unavailable.
  • Conversation context: Existing chats initialize saved agent context on their next use. New model-facing text and skill expansions are persisted for replay. No manual chat reset is needed. Compaction establishes a fresh summary and context baseline.
  • Prompt caching: Frona automatically preserves historical prompt prefixes across providers, including local inference. Actual reuse depends on caching support and configuration in the inference backend. Check reported cache reads in the Usage views where available.
  • MCP bridge: Bridge mode remains enabled by default and now offers a dedicated mcpctl tool without shell access. Existing standalone CLI workflows remain supported, and underlying MCP tool permissions still apply.
  • Browserless: The examples use Chromium v2.57.2. If Browserless requires a token, set browser.api_token or FRONA_BROWSER_API_TOKEN to match it. The token now applies to browser sessions as well as HTTP endpoints. Verify browser navigation and authenticated takeover after upgrading.
  • Environment names: Credential bindings and MCP environment entries now reject names outside the portable ASCII letter/digit/underscore format. Correct invalid names before saving changes.
  • Development containers: Run mise install for Rust 1.99.1 and Node.js 24.22.1, then rebuild with mise run container:dev:build. Image builds detect host Kache; set KACHE_VERSION explicitly if it is unavailable. SurrealDB remains at 3.2.4.

Back up the database, configuration, and encryption secret before upgrading. After restart, check a continuing chat, a file upload, an MCP call, and browser takeover. If a provider's saved credential is missing or revoked, use the provider editor's reconnection flow.

Upgrading from v2026.9.0 to v2026.10.0 ​

  • Provider connections: Existing built-in provider keys remain valid. For multiple accounts, give each connection a handle and set its provider brand explicitly. Update model groups and their fallbacks to reference those handles. See Providers & Models.
  • OpenAI protocol default: OpenAI-branded connections now default to Responses, including unknown or manually entered model IDs. Set api: completions if your endpoint requires Chat Completions. Existing api: chat_completions values remain accepted.
  • Model settings: Check the protocol and settings for each group and fallback. Unsupported typed settings are rejected. Native request fields can be supplied through extra_params, except for conversation, tool, streaming, and structured-output fields managed by Frona.
  • Configuration saves: The UI preserves unrelated overrides and environment references. Reload settings if a save reports a revision conflict, and restart when prompted to activate saved configuration. Malformed or unreadable YAML is now a startup error.
  • Credentials: Newly saved provider keys and account tokens use encrypted managed storage in the database. Include the database, configuration, and encryption secret in your backup. Existing inline YAML keys remain supported.
  • Development containers: Rebuild with mise run container:dev:build to install Bacon and Kache. Host dev, dev:backend, and dev:frontend tasks have been removed; use mise run container:dev.

After upgrading, verify provider authentication, the primary model and fallback chain, and a credential-backed agent command. The About dialog includes the embedded source revision to help identify the running build.

Upgrade procedure ​

1. Back up your data ​

Always back up before upgrading. See Backups.

bash
docker compose stop frona
tar czf frona-backup-pre-upgrade.tar.gz data/ .env

2. Pull the latest code ​

bash
git pull origin main

3. Check for configuration changes ​

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

4. Rebuild and restart ​

bash
docker compose build
docker compose up -d

5. Verify ​

Check that all services are running:

bash
docker compose ps

Open the web interface and verify everything works as expected.

Rolling back ​

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. Run docker compose build, then docker compose up -d.

Database migrations ​

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

Version pinning ​

Once the release tag is published, you can pin that version instead of tracking main:

bash
git checkout v2026.11.0
docker compose build
docker compose up -d