Fresh-install rehearsal of 2.0.0-rc.1 from the published images
This record follows the fresh-install rehearsal of
the release guide for v2.0.0-rc.1. It installs the two published images by digest on an empty,
disposable target, commissions the installation through the console, and runs the Core proof
against it. It does not publish 2.0.0, authorize a production deployment, or prove that an
invited reader without write access can pull the images.
Code, images and target
| Item | Observation |
|---|---|
| Date | 2026-10-25 (UTC) |
| Repository files | v2.0.0-rc.1, an annotated tag on 6ed675f311a170f31971de50daa04869ff0560d0, exported with git archive into a separate installation directory; no newer checkout was used |
| Release workflow | run 40187882054 |
| Application image | ghcr.io/voyagerforge-dev/karyo-app@sha256:77f98753983a1b939e0f550aca134498a804628357fb65d326292a6c6e6bb171 |
| nginx image | ghcr.io/voyagerforge-dev/karyo-nginx@sha256:2dd42242c158f27364289918fbecaeb3a13fd35964e4f87b160972c742c42c2a |
| Target | One Fedora 44 workstation (voyager-desk) with Podman 5.8.9 and podman-compose, journald logging, no JDK, Node or host build output used by the installation |
| Compose project | karyo-rc-fresh, unused before and removed after |
| Ports and origin | nginx on host port 18088 (plain HTTP); a throwaway TLS terminator on 127.0.0.1:18443 with a self-signed certificate; public origin https://localhost:18443 |
| Environment file | A new scripts/.env.prod at mode 0600 with generated credentials, profile core, managed Keycloak 26.8.0 and PostgreSQL 16 |
| Registry access | The container runtime logged in to ghcr.io as loom-loki with the token on standard input, and logged out when the rehearsal ended. No token was written to a file, log or this record |
The terminator was an nginx:1.30.6-alpine container on the host network. It passed the original
Host and X-Forwarded-Proto: https to the product nginx. It is not part of the product and was
needed only for the reason in finding 1.
Installation
The commands were, from the installation directory:
export COMPOSE_PROJECT_NAME=karyo-rc-fresh
export NGINX_HTTP_PORT=18088
export KARYO_APP_IMAGE='ghcr.io/voyagerforge-dev/karyo-app@sha256:77f9...b171'
export KARYO_NGINX_IMAGE='ghcr.io/voyagerforge-dev/karyo-nginx@sha256:2dd4...2c2a'
./scripts/deploy-server.sh --image-only --validate-env scripts/.env.prod
./scripts/deploy-server.sh --image-only
The digests above are shortened here; the run used the full references in the table. No --quick
flag and no host build toolchain were used.
First attempt: failed. The environment file named http://localhost:18088 as the public
origin, as the guide's example port suggests. The environment validation passed. PostgreSQL and
Keycloak became healthy, then karyo-app exited four times with
OIDC issuer must use HTTPS outside loopback development and test, and the script stopped after
150 seconds with karyo-app did not become healthy. The rehearsal's containers, network and volume
were removed and the environment file was changed to the HTTPS origin, because the production realm
import binds that origin once.
Second attempt: succeeded. All four services reported healthy, karyo-app after 12 seconds.
Stage 8 reported 4 of 4 API endpoints answering 401, the Keycloak realm and the single-page app
reachable. Flyway validated 192 migrations on the empty database and the application reported the
prod profile.
| Check | Observation |
|---|---|
| Running application image | karyo-rc-fresh_karyo-app_1 ran the digest above (image id c47deb78fd9a), linux/amd64, healthy, 0 restarts |
| Running nginx image | karyo-rc-fresh_nginx_1 ran the digest above (image id eb764ed19805), linux/amd64, healthy, 0 restarts |
| Pair | Both references are the exact digests of published.txt; podman image inspect reported each as its own digest |
| Console | GET / through the HTTPS origin returned 200 |
| Floor app | GET /m/ returned 200 |
| Health | /q/health/live reported UP with no detail; Admin > Health reported UP with its one database check |
| Issuer | Keycloak's discovery document reported https://localhost:18443/auth/realms/karyo |
| Boot logs | 257 INFO, 1 WARN (Flyway outOfOrder mode is active) and 17 WARNING (the PDF library building a font cache and falling back to Liberation Sans). No ERROR in the successful boot. The nginx log lines that match "error" are the expected silent-callback?error=login_required requests |
| Logging driver | journald for both product containers |
Commissioning
The commissioning followed Commission a fresh installation through the console in a Playwright Chromium browser, with certificate errors ignored for the disposable origin only.
| Step | Observation |
|---|---|
| System | system signed in with the one-time password of scripts/.karyo-setup-password, and Keycloak asked for a new password at once |
| First users | System created rc-admin, rc-manager and rc-viewer with Create identity, granted them Administrator, Manager and Viewer at the Company, and chose Finish setup |
| System disabled | After Finish setup, system was refused at Keycloak with Account is disabled. The password file was deleted |
| Profile | Admin > Capabilities showed Core, set by the installation (KARYO_PROFILE), and every Extended capability off. The profile was left as Core |
| Business Unit | rc-admin created Business Unit Rehearsal Co (RC) on Admin > Business Units |
| Facility | rc-admin created Facility Rehearsal Facility (RFC) on Warehouse > Facilities and set karyo.facility.time-zone to Europe/London; the value survived a reload |
| Layout | Warehouse setup, Type the labels: six storage locations in one zone and one receiving, packing and shipping location each. Check reported 9 new locations and all four readiness answers Yes, and Create reported 9 locations created |
| Printer | Not commissioned. KARYO_PRINT_URL stayed none, so no label was sent to a printer |
| Bootstrap account | Not retired. The Keycloak bootstrap administrator and KC_BOOTSTRAP_ADMIN_* were left in place because the target was removed at the end |
GET /api/v1/license for rc-admin reported edition community and eight entitlement keys
(advanced-fulfillment, cartonization, documents, forecasting, monitors, simulation,
slotting, three-pl). GET /api/v1/me listed the Administrator's actions.
Core proof
The Core proof spec from the same tag ran against the
installation as the commissioned Manager and Viewer, with no provisioning and no identity
bootstrap. A wrapper configuration outside the repository imported the repository's Playwright
configuration, dropped its global setup and teardown, and added ignoreHTTPSErrors,
NODE_EXTRA_CA_CERTS for the Node side, and external result paths.
cd tests/e2e
BASE_URL=https://localhost:18443 NODE_EXTRA_CA_CERTS=<task-directory>/tls/cert.pem \
KARYO_E2E_MANAGER_USER=rc-manager KARYO_E2E_VIEWER_USER=rc-viewer \
npx playwright test --config=<task-directory>/playwright.rehearsal.config.ts core-proof.spec.ts
The private environment also supplied the Manager and Viewer passwords.
First run: 1 failed, 0 passed. The spec failed in 8.1 seconds at its first ASN assertion, before
any stock moved: it expects the ASN state text RELEASED, and the console shows Released
(finding 2).
Second run: 1 passed, 0 failed, 0 skipped (10.2 seconds). The only change was that one
assertion, in the exported copy of the spec and not in the repository: toHaveText('RELEASED')
became toHaveText(/released/i). The proof's attached evidence showed:
| Step | What the proof recorded |
|---|---|
| Receive | One floor receipt for the ASN, one line of 10 units in a unit load with the scanned label, received at the dock the proof created |
| Put away | The generated PUTAWAY task completed at the suggested storage location RCS-01-1-1 |
| Order and pick | A delivery order for 4 of the 10 units, released and picked: pick order state 600, four units picked |
| Pack and ship | A shipment with carrier MANUAL, tracking number MAN-<shipment number>, one carton of four units, manifested and dispatched |
| Reconcile | A blind count of the storage location accepted by the Manager left 5 units ON_STOCK, unlocked, 0 reserved and 5 available |
| Journal | The CHANGED entries carry the actor rc-manager, its principal and binding ids and the source issuer https://localhost:18443/auth/realms/karyo |
| Permission | The Viewer's read of shipments returned 200 and its dispatch of the shipment returned 403 |
The proof does not show a physical scanner, printer, carrier or ERP connection. The bill of lading and packing slip documents were not inspected, so the known demo-address limitation (#6) was neither confirmed nor cleared.
Findings
- The documented rehearsal cannot start on a plain-HTTP origin. The production application
rejects any issuer that is not
https://, includinghttp://localhost. The release guide's rehearsal step 2 asked only for "a matching public origin", and its example port 18088 reads as plain HTTP. The guide now says the origin must be HTTPS and that a TLS terminator in front of the host port is needed. The implementer guide already said so for the Core proof. A rehearsal also has to recreate its database after a wrong origin, because the production realm import binds the origin once. - The Core proof spec at the tag is stale against the console.
core-proof.spec.tsline 90 asserts the ASN state textRELEASEDwhile the console showsReleased, so the spec fails on a clean installation of the release candidate.tests/e2e/tests/receiving.spec.tslines 154 and 157 assertCREATEDandRELEASEDin the same way and were not run. The spec onmainat the time of this record is identical to the one at the tag. This record does not change it. - The commissioning guide named a page the console does not have. Step 4 of Commission a fresh installation said to create Business Units "under Configuration". The page is Admin > Business Units, and the guide now says so.
- Deploy script noise (not changed). The final summary of
--image-onlywarns that thecloudflaredservice is not running and suggestssudo systemctl start cloudflared, which does not apply to a rehearsal on a host without a Cloudflare tunnel.
Cleanup
After the evidence was saved, the rehearsal's four Compose containers, the TLS terminator container,
the karyo-rc-fresh_karyo-pgdata volume and the karyo-rc-fresh_karyo-net network were removed.
podman ps -a, podman volume ls and podman network ls showed none of them afterwards, and no
listener remained on ports 18088 or 18443. The container runtime logged out of ghcr.io. The
generated credentials, the environment file and the self-signed key stayed outside the repository
and were deleted. No other container, Compose project, volume or network on the machine was touched.