On this page
- The administration screen
- Administrators of the editor
- The licence agreement
- The licence and the user count
- Settings
- The environment of the pod
- The editor’s data volume
- Back up and restore the named choice lists
- Sessions and signing out
- Monitoring
- Upgrades
- Troubleshooting by the message a user sees
- What is still open
This guide is for the administrator of mas-tools.com Inspection Form Editor: the person who keeps it running, decides who may open its administration, installs its licence, and answers when a user reports a message. The installation guide comes first; this guide starts where it ends.
We checked it against the editor, on our test system. The tables of settings, environment variables and metrics are generated from the code, so they show what this version does.
On this page, the names of our own systems are replaced: our domains by apps.example.com and apps2.example.com, our registry by registry.example.com, our Manage workspace by main, and our clusters by “our test system” and “our second test system”, or by <test-system> and <second-test-system> in a path. Everything else in the commands and their output is as it ran.
The administration screen
To look after the editor, open its administration screen. It is the page Administration in the
editor’s menu, at #/admin under the editor’s address: https://<domain>/mas-tools-inspection-form-editor/#/admin
under path routing, or https://mas-tools-inspection-form-editor.<domain>/#/admin under subdomain
routing.
The screen has four parts:
- The licence agreement: who accepted which version, and when. Before the first acceptance, a button Read and accept.
- Licence: the edition in force, the licence’s facts, and the buttons to install or remove a licence.
- Users: the licence’s count of the users who may change forms, with Count now.
- Settings: the settings of
config.yamlthat are in force, each with its value and its source, the ConfigMap or the default. The section “Settings” of this guide lists every setting.
The editor installs nothing in Manage. So the screen has no install, no upgrade and no uninstall of Manage-side components, as the mas-tools.com Data Tools apps have.
Administrators of the editor
To let a user open the administration screen, name the user in Admin.Users of the editor’s
config.yaml. No Manage option stands for the administration, because the editor has no application
in Manage. Without the setting, only MAXADMIN may open it. Write MAS login names; case does not
matter:
Admin.Users: [MAXADMIN, WILSON]
Any other user who opens #/admin reads “No access to the administration”. The other pages of the
editor follow the user’s options in Manage, and Admin.Users changes nothing there.
config.yaml lives in your overlay, deploy/overlays/<cluster>/config.yaml, and reaches the pod as
the ConfigMap mas-tools-inspection-form-editor-config. To change it without touching anything else,
apply the ConfigMap alone:
oc create configmap mas-tools-inspection-form-editor-config -n <core-ns> \
--from-file=config.yaml=deploy/overlays/<cluster>/config.yaml --dry-run=client -o yaml | oc apply -f -
The pod reads the new file without a restart, within about a minute, when the kubelet updates the mounted folder. The editor checks the file first. A file with an unknown setting or a wrong value is refused, and the previous values stay in force; the Settings section of the administration screen then names each problem.
The licence agreement
To let anyone change forms, an administrator of the editor accepts the licence agreement first. Until the version in force is accepted, the editor only reads Manage: every write is refused before any request reaches Manage. Users read “Forms cannot be changed yet: the licence agreement is not accepted.”
Accept it on the administration screen:
- Press Read and accept.
- Read the agreement, tick “I have read this licence agreement and accept it for my organization.”, and press Accept.
The screen then names the version, the user and the time. The editor keeps every acceptance in
terms-accepted.json on its volume, so a restart or an update keeps it. A new version of the
agreement asks again. A trial or paid licence keeps the version it was issued under for its whole
term: while it holds, an acceptance of that version opens the writes, and the screen offers the newer
version to read.
The editor’s acceptance counts for the editor only. An acceptance in mas-tools.com Data Import, Export or Explorer opens nothing here.
The licence and the user count
To run the editor beyond its free edition, install a licence of the editor. The editor has a licence of its own; a licence of mas-tools.com Data Import and Export does not apply to it.
| Edition | Questions per form | Users who may change forms |
|---|---|---|
| Free: no licence, or one that does not hold | at most 10 | at most 3 |
| Trial or paid | no limit | the number the licence names |
Who counts. The licence counts the active users who hold one of these options of Inspection Forms
(MANAGEINSPFORM) through any security group: ACTIVATE, CREATE, DEACTIVATE, DELETE,
REVISION and REVIEW. A user with READ alone does not count, and reading is never limited. The
options of the object structure MXAPIINSPFORM do not count either. The count reads Manage’s
security groups, so a user counts even without ever opening the editor. A grant with a condition
counts as a grant. A user whose status is not active does not count.
What the limits do.
- Above the user limit, nobody can change forms. Users read “Forms cannot be changed: … users hold a non-read option of Inspection Forms (MANAGEINSPFORM) …”.
- In the free edition, a write that would leave a form with more than 10 questions is refused: a save, a copy, a new revision and an import. Section headers do not count. A form above the limit opens read-only, with its preview and its check.
- Status changes and deletes store no question, so the question limit leaves them alone.
The count. The editor counts through Manage’s stock object structures REP_SECURITY and
MXAPISYNONYMDOMAIN, as the signed-in administrator. So the count runs only while an administrator
of the editor is signed in: when the last count is older than 15 minutes, and when you press Count
now in the Users section. After a failed count, the next one waits a minute. Before the first count,
nobody can change forms, and users read “Forms cannot be changed yet: the users of the editor are not
counted.” An administrator signs in once, and the count runs. The last count goes to
license-users.json on the editor’s volume, so a restart keeps it.
The Users section shows the count, the time, who took it, the edition’s limit, and each user counted with the security groups that give the option. On our test system, with IBM’s demo data, 16 users held such an option when we measured it.
Bring a system under the user limit. The free edition stays at 3 users. A system with IBM’s demo data can hold more, as our test system does. On such a test system, you adjust the options of the users to fit:
- Press Count now in the Users section. Note the security groups beside each user who does not build forms.
- In Manage’s Security Groups application, open each of those groups. Either remove the options
ACTIVATE,CREATE,DEACTIVATE,DELETE,REVISIONandREVIEWof the applicationMANAGEINSPFORMfrom the group, or remove the users who do not build forms from the group. KeepREAD, so those users still read the forms. A counted option on the group that holds every user makes every active user count. - Press Count now again. When the count is 3 or less, the user limit lets the writes through again.
Install a licence. A licence file comes from Fiedler IT Services e.U. It names the holder, the MAS domains it is valid for, its last day and its number of users. In the Licence section, paste the file’s text into the field, or press Choose a file, then press Install licence. The editor checks the signature and the domain before it stores the file. A refused file leaves the installed licence as it was. An accepted one works at once, without a restart.
Remove a licence with Remove licence. The screen asks first; then the free edition applies at once, to every user.
The Licence section shows the edition, the holder, the domains, the last day, the days left, the limits, the version of the licence agreement, and who installed it when. From 30 days before the last day it shows a warning. When a licence does not hold, the section names the reason: it has ended, it names other domains, the clock was turned back, or the file does not verify.
What users see. In the free edition, every page ends with a footer that names the free edition. An administrator’s user menu names the holder of a licence. Users who are no administrators never see the holder, the domains or a reason; when a licence does not hold, they read “The licence of the editor does not hold here, so the free edition applies. Please contact your administrator.”
Settings
To change how the editor behaves, set a value in its config.yaml. That file is the editor’s one
layer of settings. It reaches the pod as the ConfigMap mas-tools-inspection-form-editor-config, and
the pod reads it again when it changes, without a restart. The section “Administrators of the editor”
shows the command that applies it.
The editor checks the file against the list below. When the pod starts with a wrong file, it stops,
and its log line names the setting. When a running pod gets a wrong file, it keeps the previous values,
the Settings section of the administration screen names each problem, and the metric
mtif_config_valid drops to 0.
| Setting | Values | Default | What it does |
|---|---|---|---|
Admin.Users |
user names, as a YAML list or separated by commas | MAXADMIN |
The users who may open the administration: the licence agreement, the licence with its user count, and the settings. Write their MAS login names; case does not matter. No Manage option stands for it, because the editor installs nothing in Manage. |
Library.PageSize |
a whole number from 1 to 1,000 | 100 | Form revisions that one request to Manage reads for the list of forms. |
Manage.Workspace |
refused in config.yaml | none | Part of Manage’s addresses. Set in the deployment, as part of MANAGE_PUBLIC_URL and MANAGE_INTERNAL_URL. |
Manage.PublicUrl |
refused in config.yaml | none | Manage’s public address. Set in the deployment, as the environment variable MANAGE_PUBLIC_URL. |
Manage.InternalUrl |
refused in config.yaml | none | Manage’s address inside the cluster. Set in the deployment, as the environment variable MANAGE_INTERNAL_URL. |
Library.PageSize sets only the size of one request. The list of forms always reads every page,
until it holds as many rows as Manage counted. When a form is made or deleted during the read, the
two numbers differ, and the user reads “the library changed while it was read”.
A setting may be written flat, Admin.Users: [MAXADMIN], or nested, Admin: { Users: [MAXADMIN] }.
The Settings section of the administration screen shows each value with its source: ConfigMap when
the file sets it, default when the default applies.
The environment of the pod
To change an address, a port or a folder of the pod, change its environment. The overlay’s
deployment.yaml sets the values of your cluster, and the base deploy/base/deployment.yaml sets the
rest. A change of the environment restarts the pod. The installation guide shows how to apply the
overlay.
| Variable | Set by | Default in the code | What it does |
|---|---|---|---|
NAMESPACE |
the overlay | mas-dev-core |
The MAS core namespace. The default addresses of MAS’s internal API and of coreapi contain it. |
BUILD_ID |
the image, at its build | dev |
The build of the image. The pipeline sets it when it builds the image, and /api/version and mtif_build_info name it. |
NODE_ENV |
the base: production |
none | production serves the HTTPS port, and turns on the licence agreement’s gate, MAS’s idle timeout and the session check. Any other value is local development. |
PORT |
nothing | 3001 |
The plain HTTP port of local development. In production the app serves SECURED_PORT. |
SECURED_PORT |
the base: 9443 |
9443 |
The HTTPS port of the web interface and the API. The Route sends its requests here. |
OPS_PORT |
the base: 9090 |
9090 |
The plain HTTP port of /metrics, /healthz and /readyz. |
DOMAIN |
the overlay | dev.apps.example.com |
MAS’s domain, the spec.domain of the Suite. |
ROUTING_MODE |
the overlay | subdomain |
path or subdomain: MAS’s routing mode, the spec.settings.routingMode of the Suite. |
BASE_PATH |
the overlay | empty | The app’s path under path routing, /mas-tools-inspection-form-editor. Empty under subdomain routing. |
SESSION_COOKIE_NAME |
nothing | mas-tools-inspection-form-editor.sid |
The name of the app’s session cookie. |
TRUST_PROXY_HOPS |
the base: 1 |
1 |
How many proxies in front of the pod set X-Forwarded-For: 1 for the OpenShift router alone, 2 when a load balancer in front of it ends TLS and sets the header too. A value outside 1 to 10 counts as 1. |
TLS_MOUNT_PATH |
the base: /etc/ssl/certs/mascore-cert |
/etc/ssl/certs/mascore-cert |
The folder of the app’s internal certificate: the serving certificate of the HTTPS port, and the client certificate for MAS’s internal API. |
AUTH_OIDC_URI |
the overlay | none | coreidp’s public OIDC endpoint, where the browser signs in. |
TOKEN_URL |
the overlay | none | coreidp’s token endpoint inside the cluster, where the pod exchanges the sign-in code for the user’s token. |
AUTH_API_URI |
the overlay | none | MAS’s public auth API. The sign-out returns to its end page. |
AUTH_LOGOUT_URI |
the overlay | none | MAS’s sign-out address. |
OAUTH_CLIENT_MOUNT |
nothing | /etc/mas/creds/oauth/client |
The folder of the OIDC client’s id and secret, mounted from the Secret mas-tools-inspection-form-editor-oauth-client. |
SCOPES |
nothing | openid profile email general |
The OIDC scopes the sign-in asks for. |
SESSION_SECRET |
the Secret mas-tools-inspection-form-editor-oauth-client, key oauth-client-secret |
dev-only-insecure-change-me |
The key that signs the session cookie. The Deployment takes it from the Secret mas-tools-inspection-form-editor-oauth-client. |
INTERNAL_API_URL |
nothing | https://internalapi.<NAMESPACE>.svc |
MAS’s internal API, which the pod calls with its client certificate: the Suite, MAS’s idle timeout and the Manage version. |
CORE_API_URL |
nothing | https://coreapi.<NAMESPACE>.svc |
MAS’s coreapi inside the cluster, for the alert of a forced logout. |
PROFILE_APP |
the base: MANAGE |
MANAGE |
The MAS application whose profile carries the user’s Manage options. |
MANAGE_PUBLIC_URL |
the overlay | none | Manage’s public address, ending in /maximo. A link that opens a record in Manage starts with it. |
MANAGE_INTERNAL_URL |
the overlay | none | The service of Manage’s default server bundle inside the cluster, ending in /maximo. Empty: the pod calls Manage through MANAGE_PUBLIC_URL. |
MANAGE_SESSION_REUSE |
nothing | true |
true: the pod keeps one Manage session per signed-in user. false: every call to Manage opens a session of its own. |
DATA_DIR |
the base: /data |
/data |
The editor’s own volume: the named choice lists, the acceptance of the licence agreement and the last user count. |
CONFIG_DIR |
the base: /etc/mas-tools-inspection-form-editor |
/etc/mas-tools-inspection-form-editor |
The folder of the mounted ConfigMap. |
CONFIG_FILE |
nothing | config.yaml |
The settings file in CONFIG_DIR. |
UI_DIST |
nothing | packages/ui/dist beside the server |
The folder of the built web interface. |
CLIENT_ID |
nothing | none | The OIDC client’s id when OAUTH_CLIENT_MOUNT holds no file. For local development. |
CLIENT_SECRET |
nothing | none | The OIDC client’s secret when OAUTH_CLIENT_MOUNT holds no file. For local development. |
NODE_EXTRA_CA_CERTS |
the base: /etc/ssl/certs/mascore-cert/ca.crt |
none | Read by Bun, the runtime: the MAS internal CA, so the pod trusts coreidp, MAS’s internal API and Manage’s internal service. |
Where “Set by” says nothing, the code’s default applies in the cluster. Where “Default in the code” says none, the code has no default, so the installation sets the variable.
The editor’s data volume
To know what the editor keeps of its own, look at its volume. The forms live in Manage. The pod
mounts the claim mas-tools-inspection-form-editor-data, 1Gi, at /data. It holds three files:
| File | Holds | When it is lost |
|---|---|---|
choice-lists.json |
The named choice lists of every organization. | The named lists are gone. Restore them from a backup. |
terms-accepted.json |
Every acceptance of the licence agreement. | An administrator accepts the agreement again. |
license-users.json |
The last count of the users that the licence counts. | Nobody can change forms until an administrator signs in and the count runs again. |
Only the named choice lists cannot be made again, so they are the file to back up. The section “Back up and restore the named choice lists” shows how. A backup of the whole volume with your cluster’s own tools covers all three files.
The pod is ready only while it can write to /data. /readyz writes a small file there, reads it
back and removes it. A full or read-only volume takes the pod out of service.
Back up and restore the named choice lists
To keep the named choice lists safe, copy their file out of the pod. A named choice list is a list of
choices that a user with SAVE in MXAPIINSPFORM saved under a name, for one organization. The
lists exist only in /data/choice-lists.json on the editor’s volume; Manage holds no copy.
Copy the file out while the editor runs:
oc exec deploy/mas-tools-inspection-form-editor -n <core-ns> -- cat /data/choice-lists.json > choice-lists-$(date +%Y%m%d).json
Restore it the same way. The file goes in beside the old one and is renamed over it, so the editor never reads half a file:
oc exec -i deploy/mas-tools-inspection-form-editor -n <core-ns> -- sh -c 'cat > /data/choice-lists.json.restore && mv /data/choice-lists.json.restore /data/choice-lists.json' < choice-lists-<date>.json
The editor reads the file at every call, so the restored lists count at once, without a restart.
The file is JSON. It names its format and version, and holds one entry per list:
{
"format": "mas-tools-inspection-form-editor/choice-lists",
"version": 1,
"lists": [
{
"id": "cl_3f9a1c07be42", "orgid": "EAGLENA", "name": "Brake check",
"choices": [{ "text": "Pass", "requireAction": false, "color": "#198038" }, { "text": "Fail", "requireAction": true }],
"createdBy": "WILSON", "createdAt": "2026-11-13T10:00:00.000Z",
"changedBy": "THEO", "changedAt": "2026-11-13T10:05:00.000Z", "rev": 2
}
]
}
Every change writes the whole file to a file beside it, flushes it, and renames it over the old one. So a crash leaves the old file or the new one. A missing file holds no list. A file that cannot be read, or that holds another format or version, is never written over: every read and write of the lists then answers with the file’s problem, until a good file is back.
Sessions and signing out
To understand when a user has to sign in again, follow the editor’s session. The editor signs users in through MAS, and it sends every request to Manage as the signed-in user, with the user’s token.
The editor keeps its own session per user in the pod’s memory, under the cookie
mas-tools-inspection-form-editor.sid. A restart of the pod, such as an update, ends every session.
The next page load signs the user in again through MAS, without a login form while the MAS session
lives.
The editor follows MAS’s sign-out. When the user signs out of MAS in any tab, the session check
gets the answer login_required. The editor then ends its own session, and the page goes to the MAS
login. The frame has to reach coreidp, so the editor’s Content Security Policy names coreidp’s origin
in frame-src, taken from AUTH_OIDC_URI. A proxy that adds a Content Security Policy of its own
must allow the same.
It behaves as a Manage tab does:
- Sign-out in another tab. Manage’s tabs keep the cookie
_user_inactivity_timeouton the MAS domain, and MAS’s sign-out deletes it. The editor reads it every second, and when it goes, the editor checks the MAS session at once. - Idle timeout. The editor uses MAS’s idle timeout from the Suite, read through MAS’s internal API at start and every 10 minutes. When the time has passed, a dialog counts down, and Stay signed in keeps the session. A timeout of 0 switches this off.
- Forced logout. When an administrator ends sessions in MAS’s administration, the editor shows the minutes left and the message, then ends its session.
- Another user in MAS. When someone else signs in to MAS in the same browser, the session check
notices it, and the editor ends the old user’s session.
mtif_session_checks_totalcounts this asswitched.
Unsaved changes survive a sign-out. The editor saves each change by itself, a moment after the last keystroke. Sign out waits up to 4 seconds for that save. Whatever Manage has not taken stays kept in the browser, for that user only, and the editor saves it when the user opens the form again.
Unused sessions end. Every 10 minutes the editor drops the sessions that can no longer work: a session unused for longer than MAS’s refresh token lives, a session whose token expired without a refresh token, and a sign-in that did not finish within an hour.
One Manage session per user. Manage keeps a session for each caller and a row for it in
MAXSESSION. The editor signs every call with the user’s MAS token. It also sends the session cookie
that Manage answered with before, so all calls of one signed-in user share one Manage session. The
cookie stays in the pod’s memory and reaches no log line. Manage ends the session by its own timeout
after the user’s last call, and the pod forgets a cookie after 8 hours without a call. When Manage no
longer takes a kept session, such as after a restart of Manage, the editor sends the call once more
with the token alone, and Manage opens a new session. The session is opened by a small read of its
own, Manage’s whoami, so no call of a user waits behind a long save. After 5 minutes without a call
the same small read goes first and checks the session. A session that Manage ended while the user
was away is then replaced by one new session. Manage keeps a user’s rights and
profile while the user has a session. On our test systems a change of a user’s groups or default
insert site did not reach the editor while that user’s Manage sessions lived. With several pods of
Manage’s server bundle a call can reach another pod, and that pod opens a session of its own. We did
not measure such a system.
MANAGE_SESSION_REUSE=false in the Deployment switches the keeping off. Every call then opens a
Manage session of its own, and one open of the editor leaves a row for each of its calls. We counted
14 rows for one open and 33 for another.
A sign-in that cannot finish shows the page “Sign-in did not complete” with its reason, and the reason goes to the pod’s log. The page offers to sign in again.
None of this needs a setting.
Monitoring
To watch the editor, read its metrics and its log. The pod serves /metrics, /healthz and /readyz
on its internal port, 9090, in plain HTTP. The NetworkPolicy opens that port to the cluster’s
monitoring namespaces only, and the Route never reaches it. No label of a metric carries a user, a
form or a value.
| Metric | Type | Meaning |
|---|---|---|
mtif_build_info |
gauge | Build of the running app. Always 1. manage_version: the Manage version internalapi reports, read at start and every 10 minutes; unknown until the first read. |
mtif_config_valid |
gauge | 1 when the last load of the mounted configuration passed the catalogue check, 0 after a refused file. |
mtif_manage_request_duration_seconds |
histogram | Time per request to Manage, by kind: rest (the user’s options, the library, a form). |
mtif_library_forms |
gauge | Form revisions in the last library read: the total count Manage reported for that user. |
mtif_manage_errors_total |
counter | Manage requests that got no answer (status 0) or a status outside 2xx, by kind and status. A 302 is an ended session. |
mtif_config_reloads_total |
counter | Reloads of the mounted configuration, by result. |
mtif_api_requests_total |
counter | API requests by route template and status code. |
mtif_license_users |
gauge | The last count of the users who hold a non-read option of MANAGEINSPFORM; no series before the first count of this pod. |
mtif_license_info |
gauge | The editor’s licence as this pod reads it: 1 for the edition in force, by edition (free, trial, paid) and reason (empty while a licence holds, else why the free edition applies). |
mtif_license_days_left |
gauge | Whole days a verified licence has left after today; negative once it has ended, no series without one. |
mtif_event_loop_lag_seconds |
histogram | How late the event loop’s 500 ms timer fired, per sample. A lag of 1 s or more fails a probe. |
mtif_event_loop_stalls_total |
counter | Samples whose lag was 1 s or more, by cause: busy (the process used at least half a CPU in the window, so our code held the loop) or not-running (it got no CPU, or waited in a sync call). |
mtif_session_checks_total |
counter | MAS session checks that came back, by result: alive, ended (MAS logged out), switched (MAS belongs to another user), unknown, failed (the code exchange failed). |
The overlay brings no ServiceMonitor and no alerts yet. Read the metrics from inside the pod:
oc exec deploy/mas-tools-inspection-form-editor -n <core-ns> -- bun -e 'console.log(await (await fetch("http://127.0.0.1:9090/metrics")).text())'
/healthz answers as long as the server runs. /readyz answers 200 while the data volume is writable
and a good config.yaml is in force. It answers 503 with the failed check when the volume cannot be
written, or when the pod started without a config.yaml. A file refused at the start stops the pod. A
file refused later keeps the previous values in force, so /readyz stays at 200 and
mtif_config_valid drops to 0. Neither check calls Manage, so an outage of Manage never
restarts the pod.
The pod logs one JSON object per line:
oc logs deploy/mas-tools-inspection-form-editor -n <core-ns>
Upgrades
To bring a new version of the editor into the cluster, deploy its image with APPLY_ONLY=1, as the
installation guide shows:
APPLY_ONLY=1 OVERLAY=<cluster> IMAGE=<registry>/mas-tools-inspection-form-editor:<tag> IMAGE_DIGEST=sha256:<digest> ./deploy/deploy.sh
The pod restarts once. The old pod stops before the new one starts, because the volume belongs to one pod at a time, so the editor is away for a few seconds. Every session ends with the old pod, and users sign in again through MAS. Changes a user made and the editor had not saved stay kept in that user’s browser, and the editor saves them when the form opens again.
The volume stays with the named choice lists, the acceptance and the count, and so does the licence Secret. The editor has nothing in Manage, so an upgrade changes nothing there. A new version of the licence agreement asks for a new acceptance on the administration screen.
The internal certificate. The pod serves HTTPS and calls MAS’s internal API with the certificate
mas-tools-inspection-form-editor-cert-internal. cert-manager issues it for 8760 hours, one year, and
renews it 720 hours, 30 days, before its end. The pod reads the key and the certificate once, when
it starts, so a renewal reaches the running pod only with a restart. An upgrade restarts the pod.
An installation that gets no upgrade for a year needs a restart within those 30 days:
oc rollout restart deploy/mas-tools-inspection-form-editor -n <core-ns>
The Route holds a copy of the CA from the last full run of deploy/deploy.sh; a run with
APPLY_ONLY=1 leaves the Route as it is. When MAS’s internal CA itself changes, the full run writes
the Route again with the new CA in its step 5.
Troubleshooting by the message a user sees
When a user reports a message, find it in the first column. The messages are the editor’s own words.
| What the user sees | Cause | What to do |
|---|---|---|
| “No access to the inspection forms” | The user lacks READ in the application MANAGEINSPFORM or in the object structure MXAPIINSPFORM. |
Grant both to one of the user’s security groups. The editor reads the options again within a minute. |
| “No access to the administration” | The user is not named in Admin.Users. |
Add the user to Admin.Users in config.yaml, if the user should administer the editor. |
| “You can read this form. Changing it needs the option SAVE of the object structure MXAPIINSPFORM.” | The user lacks SAVE in MXAPIINSPFORM. |
Grant it, if the user should change forms. |
| “Your options could not be read from Manage, so the form is shown read-only.” | Manage did not answer the request for the user’s options. | Check that Manage runs; the pod’s log names the failed request. |
| “Forms cannot be changed yet: the licence agreement is not accepted.” | Nobody accepted the version of the agreement in force. | Accept it on the administration screen. |
| “Forms cannot be changed yet: the users of the editor are not counted.” | No count exists yet. | Sign in as an administrator of the editor; the count runs. |
| “Forms cannot be changed: {count} users hold a non-read option of Inspection Forms (MANAGEINSPFORM)” | More users hold a counted option than the edition allows. | Install a licence for more users, or take the option away from users who do not change forms. |
| “This form has {count} questions. The free edition changes a form with at most {limit} questions, so it is shown read-only.” | The free edition applies, and the form is above its question limit. | Install a licence. |
| “The licence of the editor does not hold here, so the free edition applies. Please contact your administrator.” | The licence has ended, names other domains, or does not verify. | Read the reason in the Licence section, and install a new licence. |
| “Your account cannot read the list of sites, so only the default site of your profile is offered.” | The user lacks READ in MXAPISITE. |
Grant it, if the user makes forms for other sites. |
| “Manage shows you no active organization, so a new form cannot be made here.” | Manage shows the user no active organization and no active site, and the profile names none. | Grant READ in MXAPIORGANIZATION, or give the user a default site. |
| “Not readable with your account. Manage answered: {reason}” | The user lacks READ in the object structure of that source, such as MXAPIROUTES for route stops. |
Grant it, if the user should see where forms are used. The installation guide lists each source. |
| “The inspection results cannot be read with your account, so the editor cannot say which ones move.” | The user lacks READ in MXAPIINSPRESULT. |
Grant it to users who activate forms. |
| “The file of this attachment is gone” | Manage holds the attachment, and its file is no longer in Manage’s store. On our test system this happened to every file that lived in Manage’s pod before Manage had a volume for attachments. | Set up the attachment store, as section 9 of the installation guide shows. “Remove” beside the attachment takes the dead link away. |
| “Not brought back: {list}. Manage no longer holds these files.” | An undo brought back an attachment whose document Manage had deleted with its last link. | Nothing to repair: add the file again with “Add a file…”. |
| “Sign-in did not complete” | The sign-in came back from MAS, and the editor could not finish it, for example after the back button. | Sign in again. The reason is on the page and in the pod’s log. |
| “The ConfigMap was changed at {at} and refused.” | The new config.yaml has an unknown setting or a wrong value. The previous values stay in force. |
Fix the file; the Settings section names each problem. |
The pod’s log has one JSON object per line: oc logs deploy/mas-tools-inspection-form-editor -n <core-ns>.
A pod that does not get ready names the failed check in /readyz: the data volume, or a config.yaml
that was missing when the pod started. A pod that stops at its start with a refused config.yaml
names the setting in its log. A file refused while the pod runs shows in mtif_config_valid and in
the Settings section of the administration screen.
What is still open
When you plan around the editor, these points are still open:
- Monitoring. The overlay brings no ServiceMonitor, no alerts and no dashboard yet.
- Third-party notices. The list of the open-source parts and their licences is not generated yet, so the user menu’s link to it answers 404.
- A second system. This guide was checked on our test system. The installation and the form test also ran on a second test system without demo data. The sections of this guide were not checked there one by one.