HenniOKF
Documentation

Concept

The status page

What /status says about configuration and version and who sees the page.

What it is about

/status says in words in which state the instance is and from which state it is built. The page arises anew at every call. As admin you reach it through the tile "Status" under /settings or through the link "Status" in the footer.

Who sees it

StateWho
configured, so HENNIOKF_ROOT is setonly the admin. Without signing in you go to /sign-in, without the permission to the start page
not configuredeveryone. There are no accounts then, and every protected page leads here

Configuration

If the instance is configured, "Configuration" shows one value per row with the name of its variable:

RowWhat it says
Root directorythe resolved path, HENNIOKF_ROOT
Usersthe path of users/ in the root directory
Accounts"yes, n", or "no, the first admin is missing"
Instance tokenonly "set" or "not set, no first admin possible", never the value
Main addressthe address that applies, and whether HENNIOKF_URL sets it or the default applies
Session secret"from the environment" or "generated under users/secret", never the value
Sign-in attemptsthe number per minute and address that applies

An invalid value in the environment silently falls back to the default. Here you see which value really applies.

Without configuration

If HENNIOKF_ROOT is missing, the page says "The instance is not configured", the reason, the required variable, the hint to .env.example and that the service is to be restarted after a change. The same applies if a directory below the root directory cannot be created: then the page names the path and the error, mostly missing write permissions.

Version

In every state "Version" says which state runs:

RowFromWithout a value
Versionversion in package.json
Commitfrom the image, set when building"not from an image" with the hint on docker/build.sh
Builtthe build time, in the time of Europe/Berlin"unknown"

If the commit carries the suffix +dirty, the page adds that the image comes from a working tree with uncommitted changes. In development and in the browser tests it always says "not from an image".

After an update you compare the commit here with the last green run on GitHub, see Operation and backup.

Later

With the next phase the page also reports the last sync of the bundles, the package sources and the findings per bundle, before "Configuration".

Next: The documentation in the application.