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
| State | Who |
|---|---|
configured, so HENNIOKF_ROOT is set | only the admin. Without signing in you go to /sign-in, without the permission to the start page |
| not configured | everyone. 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:
| Row | What it says |
|---|---|
| Root directory | the resolved path, HENNIOKF_ROOT |
| Users | the path of users/ in the root directory |
| Accounts | "yes, n", or "no, the first admin is missing" |
| Instance token | only "set" or "not set, no first admin possible", never the value |
| Main address | the 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 attempts | the 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:
| Row | From | Without a value |
|---|---|---|
| Version | version in package.json | |
| Commit | from the image, set when building | "not from an image" with the hint on docker/build.sh |
| Built | the 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".