Skip to Content

Upgrading

A release of APIGit Enterprise Server is six images (backend, web, viewer, tryit, mock, mock-worker) that belong together, plus this directory at the matching version.

  1. Back up first (Backup and restore). The backend changes the database when a newer version starts, and that change cannot be undone: going back to an older release means restoring the backup.

  2. Replace this directory’s files with those of the new release, keeping your .env and any compose.override.yaml.

  3. Put the new image names into .env.

  4. Apply:

    docker compose pull # from the image archive instead: docker load -i images.tar docker compose up -d docker compose ps

    The backend is unavailable for about a minute while it restarts.

  5. Sign in and check the Licence page and one repository.

Upgrade one release at a time unless the release notes of the newer one say that skipping is supported.

Changes to look at when upgrading

  • Try it and private addresses. Since the release that follows evaluation-3, Try it reaches the public internet only unless APIGIT_TRYIT_ALLOW_HOSTS lists more. If your readers use Try it against APIs inside your network and the setting was empty, list those APIs before upgrading (Security, “Try it”). The former behaviour is APIGIT_TRYIT_ALLOW_HOSTS=@public,@private.
Last updated on