Русский

HOBA

Operating and restoring Core

Distinguish server readiness, site publishing, and software updates.

What to back up before updating

Follow the release instructions. Preserve PostgreSQL, durable storage, and the required configuration. Test recovery in an isolated environment. A site export is not a full installation backup.

Which rollback do you need?

A site rollback points to an earlier generated release. It does not revert draft edits or restore Core or PostgreSQL. Use a separate recovery plan from the release instructions for software updates.

Verify after changes

Check /version and /ready, sign in to Admin, open Composer, and fetch key pages on the public domain. Check styles and images and verify integration reads against a test site.

Three signals that must not be mixed

/health checks the process and database access; /ready checks the database and schema compatibility; /version checks the build and contract. A 200 from /health with a 503 from /ready means the process is alive but the installation is not ready for work. A 503 from /health points at the database, not DNS. If both endpoints are healthy but the domain fails, check the binding, proxy, and TLS instead of restarting Core.

Scheduled publication

A schedule can only be set on a staged release: POST .../releases/{id}/schedule with a future publish_at returns 201 and state:"pending". A past time is rejected with 422, and a non-staged release with 409. DELETE cancels with 200; a second cancel returns 409. The current-release pointer does not move before the scheduled time; after it fires, the release becomes current and the schedule disappears from the listing.

Media and restore

A release snapshot embeds media bytes, so publication survives deletion of the source file. Local storage publishes through a temporary file and rename, and release copies may share an inode. Never overwrite or truncate a file in the media root in place: write through the storage API, or restore into a fresh root and switch the whole root. Do not serve temporary .hoba-stage-*.tmp files or delete one while generation may still be publishing it.

A disabled site and a missing binding

A disabled site answers 503 with its offline document, except for a site member with a valid session, who may still review it. A request to a host with no matching binding gets 404, not a default site. With a binding at base path /xax, the address /xax redirects to /xax/ because relative assets must resolve inside that path.