Troubleshooting
Where to look
| Where | What you get |
|---|---|
| Console banner | At boot: the Castmill OS version, the machine and the active slot. Include it in bug reports. |
| Status page | Shown on a screen while Castmill's device app can't be loaded: device name, output, version and the connection error. |
| Castmill dashboard | For paired screens: online state, device info, telemetry. |
castmill-agent status | Development images, over SSH: the agent's view of the device, as JSON. |
On development images, connect with ssh root@<device-ip> (or ssh -p 2222 root@localhost for the VM). Production images have no SSH or console login.
castmill-agent status # outputs, backend, clock, update state
journalctl -b -u castmill-agent # the agent
journalctl -b -u castmill-provision # castmill.conf
journalctl -b -u castmill-health # trial boots and rollbacks
journalctl -b -u castmill-session # the display session (Weston)
journalctl -b -u 'castmill-player@*' # the kiosk shells, one per outputCommon problems
The screens stay black
- Check that the screen was connected and on before the device booted. Screens plugged in later should start on hotplug; if one doesn't, reboot.
- Raspberry Pi: use the official power supply. Undervoltage makes the Pi throttle or reset.
- If the console banner shows and then nothing else, the display session isn't starting: check
castmill-sessionin the journal.
The status page says Castmill isn't reachable
- Ethernet: check the cable and that the network gives out addresses with DHCP.
- Wi-Fi: check the
ssidandpskincastmill.conf. A file with an error stays on the boot partition and isn't applied. - Firewalls and proxies: the device needs outgoing HTTPS (port 443) to the Castmill server. Behind a proxy, set
[network.proxy]; behind a TLS-inspecting proxy, add its CA certificate. - The device retries every 30 seconds, so it recovers by itself once the network is fixed.
castmill.conf wasn't applied
- It must be called exactly
castmill.confand sit in the root of the boot partition. - If it's still on the boot partition after a boot, it has an error. Check
journalctl -u castmill-provisionon a development image, or compare it with the reference: unknown keys are rejected.
The time is wrong
The device needs the right time for HTTPS and schedules. It uses NTP and, when NTP is blocked, the time from Castmill's HTTPS responses. Set custom NTP servers and the time zone in [time].
The screen doesn't turn off on schedule
The screen goes black at the off time, but the display stays on: the display doesn't accept HDMI-CEC or DDC/CI. Enable CEC or DDC/CI in the display's settings, then check with castmill-agent display <output> off. See Device schedule.
Animations stutter or video plays badly
Check whether the player renders on the GPU. On a development image, castmill-agent status shows it for each screen under outputs.<name>.gpu, and the agent logs a warning when a player falls back to software rendering:
"gpu": { "rendering": "hardware", "renderer": "Mesa Intel(R) Graphics (ADL-N)", "video_decode": ["H.264", "HEVC", "VP9", "AV1"] }"rendering": "software": the GPU isn't used, so CSS effects, animations and video all run on the CPU. Report it with the hardware model.- A format missing from
video_decodeis decoded by the CPU. Use a format the device decodes in hardware, or a lower resolution.
A widget shows the wrong city
Weather and other location widgets show London, United Kingdom until you pick a location in the widget's settings in the Castmill dashboard. The device doesn't report where it is; see Location.
An update was rolled back
castmill-agent status shows rolled_back with the reason in last_error, and the device keeps running the previous version. See Updates and rollback.
Start over
A factory reset erases the pairing and all settings and starts the device as new.
Reporting a problem
Open an issue on GitHub with:
- the version from the console banner, and the hardware
- what you did and what happened
- on development images, the output of
castmill-agent statusand the relevantjournalctllines