Version
See and update the Open Ticket AI version that is running.
Version
Settings → License shows the software version that is running. Change it from the server with the commands below. Updates always create a backup first and roll back automatically if post-update checks fail.
otai versionOnline update
# From any directory once install put `otai` on PATH:otai update # latest version allowed by the license# or:otai update 0.2.0Air-gap update
Copy the new extracted release tree to the server, then:
otai update --from-dir /path/to/otai-0.2.0No download API call is made in this mode.
What otai update does
- Tags the currently running images with the old software version (for rollback).
- Runs
otai backupand stores an archive underbackups/. - Downloads or uses
--from-dirto get the new release. - Loads image tars, replaces compose files and CLI helpers, updates version
fields in
.env, and refreshes the PATH wrapper. - Starts the stack (
docker compose up -d). - Runs
otai verify(Studio + Runtime health). - On failure: restores the pre-update backup (compose,
.env, both SQLite databases) and starts the previous version again.
Verify
otai verifyotai versionverify checks that Studio API and Runtime containers are running and that
their /health endpoints respond. Full unit tests run in Open Ticket AI CI;
customer hosts only run this smoke check.
Tips
- Prefer pinned versions in production (
otai update 0.2.0) overlatest. - Do not run
docker image pruneduring or immediately after an update — old tags are kept so rollback can reuse them. - Ticket-system databases are not upgraded by
otai update. Apply the OpenTicketAI core package (and optional OTAICustomerChat) from the release’s ticket-system add-on folder according to your ticket system’s package procedure. - Keep a recent backup off-host before large upgrades (see Backups).
