karma reads its configuration strictly: a field it does not know is not a warning but a startup failure. The container exits and the control room stays dark.
Symptom
level=ERROR msg="Execution failed" error="failed to parse configuration file \"/etc/karma/karma.yaml\": yaml: unmarshal errors:\n line 53: field multiGridLabl not found in type config.UIConfig"
In the course the message came from a typo in the ui section. The container exits immediately.
Diagnosis
After every restart check that karma read the file without errors. Expected is 0.
docker compose logs --no-log-prefix --since 1m karma | grep -c ERROR
Causes
field … not foundUnknown or misspelled field name
“line 53” points to the line in karma.yaml, “type config.UIConfig” to the section (here ui). karma does not silently ignore unknown fields.
unmarshal errorsThe YAML does not match the expected structure
The same message appears when a field sits in the wrong section. The type tells you in which section karma looked for the field.
Fix
ui: multiGridLabel: team docker compose restart karma
Don't: Shrug the message off – karma does not run at all afterwards, every alert is missing from the view.
Alertmanager and karma hands-on, Day 8: sorting, a grid per team and karma's filter language.
Go to day 8 →
FAQ
Why is karma so strict about unknown fields?
So that typos show up immediately. A silently ignored field would make a setting ineffective without anyone noticing.
How do I find the affected line?
The message names it (“line 53”) together with the field name and the section (config.UIConfig = ui).