Finlay.worksBareBones Validation manual

An upgrade keeps your records, evidence, keys, settings and certificate, and replaces the program.

Steps

  1. Back up the installation. See Back Up and Restore.
  2. Extract the new package in a separate directory and verify it:

    sha256sum -c SHA256SUMS
    docker load -i images/barebonesvalidation-host-<version>.tar
    
  3. In the installation directory, stop the web service:

    docker compose stop web
    
  4. Copy these from the new package into the installation directory, replacing the old ones: docker-compose.yml, configure-database.sh, uninstall.sh, RUNBOOK.md, artifact-manifest.json, SHA256SUMS, .env.example, and the folders kit, images and licenses. Keep .env, the certificate and the Compose project name.

  5. In .env, set BBV_WEB_IMAGE to the value in the new .env.example. Copy any new settings from that example.
  6. Run ./configure-database.sh. It starts the database, brings the database up to the new version and waits until the program answers.
  7. Sign in. Open /healthz and check:

    Field Must be
    sourceCommit The commit in the package's manifest
    deploymentId The package version
    sourceRef package/<version>
    buildIdentityProven true

After the upgrade

An upgrade to 1.0.1 or later closes the plain HTTP port. BBV_WEB_HTTP_PORT in .env is no longer used and can be removed. People must use the HTTPS address. Browsers are also told to use HTTPS only for your host name; see HTTPS only in Install on Linux and set BBV_HSTS_MAX_AGE_DAYS before you start the new version if the default of 180 days does not suit your host name.

  • Your records, accounts, evidence and packages are as they were.
  • Administration › Licence still reads Active. You do not enter the key again.
  • Links to the Validation area saved before release 1.0.1 still open; they lead to the new address, /validation.
  • From release 1.0.1 each project says what its validation packages are. After the upgrade every existing project reads A validation support package we supply to others. If you validate the software for your own use, change it under Administration › Validation projects › Change what its packages are. The change applies to the next package you generate.
  • Settings in .env that the new .env.example no longer lists can stay. They are not used.