JustFlows

Health and updates

Site health checks, liveness, core update uploads, and database migrate from admin or CLI.

5 min read

Health

Admin → Health. GET /api/health (session) checks database, filesystem (uploads writable), object cache, memory (warn above 90%), and Node version (warn below 22). GET /api/healthz is liveness { ok, installed, boot } without a session. CLI: justflows health.

Updates

Admin → Updates. The check endpoint currently reports `updateAvailable: false` (stub). Administrators can upload a core zip; optional HMAC via JUSTFLOWS_UPDATE_SIGNING_KEY / X-Justflows-Update-Signature and digest pin JUSTFLOWS_UPDATE_DIGEST. Package @justflows/updater and lib/core-updater.ts implement the lifecycle. CLI: justflows update.

Migrations

POST /api/db/migrate (administrator) or justflows db migrate. Same files as the installer. Tools also exposes migrate alongside WordPress import and the performance suite.

Note

A jobs table and @justflows/jobs scheduler exist; CE does not yet run a full background-job UI. An audit_log table is schema-only.