@jca2112 when did you run it? today?
I ran the script yesterday (04/05/2026).
can you look at ~/MagicMirror/installers/mm.sh
and see if
npm run start:x11
is present on line 9
Here is the mm.sh:
#!/bin/bash
cd /home/dietpi/MagicMirror
if [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l) -ne 0 ]; then
# if WAYLAND_DISPLAYis set, use it, else set to -0
export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0}
npm run start:wayland
else
DISPLAY=:0 npm start
fi
#DISPLAY=:0 npm start
also, can you do
pm2 stop all
cd ~/MagicMirror
and try either
npm start
npm output:
> magicmirror@2.35.0 start
> node --run start:wayland
[2026-04-06 09:08:03.511] [LOG] [app] Starting MagicMirror: v2.35.0
[2026-04-06 09:08:03.549] [LOG] [utils] Loading config ...
[2026-04-06 09:08:03.567] [INFO] [utils] Checking config file /home/dietpi/MagicMirror/config/config.js ...
[2026-04-06 09:08:03.945] [INFO] [utils] Your configuration file doesn't contain syntax errors :)
[2026-04-06 09:08:03.949] [INFO] [utils] Checking modules structure configuration ...
[2026-04-06 09:08:04.360] [INFO] [utils] Your modules structure configuration doesn't contain errors :)
[2026-04-06 09:08:04.369] [LOG] [app] Loading module helpers ...
[2026-04-06 09:08:04.377] [LOG] [app] No helper found for module: alert.
[2026-04-06 09:08:04.408] [LOG] [node_helper] Initializing new module helper ...
[2026-04-06 09:08:04.413] [LOG] [node_helper] Module helper loaded: updatenotification
[2026-04-06 09:08:04.417] [LOG] [app] No helper found for module: clock.
[2026-04-06 09:08:05.284] [LOG] [node_helper] Initializing new module helper ...
[2026-04-06 09:08:05.286] [LOG] [node_helper] Module helper loaded: calendar
[2026-04-06 09:08:05.297] [LOG] [node_helper] Initializing new module helper ...
[2026-04-06 09:08:05.300] [LOG] [node_helper] Module helper loaded: weather
[2026-04-06 09:08:05.615] [LOG] [node_helper] Initializing new module helper ...
[2026-04-06 09:08:05.619] [LOG] [node_helper] Module helper loaded: newsfeed
[2026-04-06 09:08:06.334] [INFO] [systeminformation]
#### System Information ####
- SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; virtual: false; MM: v2.35.0
- OS: platform: linux; distro: Debian GNU/Linux; release: 13; arch: arm64; kernel: 6.12.75+rpt-rpi-v8
- VERSIONS: electron: 41.1.0; used node: 25.2.1; installed node: 25.2.1; npm: 11.6.2; pm2: 6.0.14
- ENV: XDG_SESSION_TYPE: undefined; MM_CONFIG_FILE: undefined
WAYLAND_DISPLAY: wayland-1; DISPLAY: undefined; ELECTRON_ENABLE_GPU: undefined
- RAM: total: 905.98 MB; free: 524.54 MB; used: 381.45 MB
- OTHERS: uptime: 1192 minutes; timeZone: America/New_York
[2026-04-06 09:08:06.353] [LOG] [node_helper] Initializing new module helper ...
[2026-04-06 09:08:06.355] [LOG] [node_helper] Module helper loaded: MMM-Sonos
[2026-04-06 09:08:06.356] [LOG] [app] All module helpers loaded.
[2026-04-06 09:08:06.385] [LOG] [server] Starting server on port 8080 ...
[2026-04-06 09:08:06.415] [ERROR] [unknown] (node:605210) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `electron --trace-deprecation ...` to show where the warning was created)
[2026-04-06 09:08:06.477] [LOG] [app] Server started ...
[2026-04-06 09:08:06.480] [LOG] [node_helper] Connecting socket for: updatenotification
[2026-04-06 09:08:06.481] [LOG] [node_helper] Starting module helper: updatenotification
[2026-04-06 09:08:06.483] [LOG] [node_helper] Connecting socket for: calendar
[2026-04-06 09:08:06.485] [LOG] [calendar] Starting node helper for: calendar
[2026-04-06 09:08:06.486] [LOG] [node_helper] Connecting socket for: weather
[2026-04-06 09:08:06.488] [LOG] [weather] Starting node helper for: weather
[2026-04-06 09:08:06.490] [LOG] [node_helper] Connecting socket for: newsfeed
[2026-04-06 09:08:06.491] [LOG] [newsfeed] Starting node helper for: newsfeed
[2026-04-06 09:08:06.493] [LOG] [node_helper] Connecting socket for: MMM-Sonos
[2026-04-06 09:08:06.495] [LOG] [MMM-Sonos] Sonos helper started ...
[2026-04-06 09:08:06.496] [LOG] [app] Sockets connected & modules started ...
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
[605210:0406/090806.501637:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
[605210:0406/090806.502006:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
[605210:0406/090806.502155:ERROR:ui/aura/env.cc:246] The platform failed to initialize. Exiting.
/home/dietpi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
is this really a dietpi? what OS version is running
DietPi v10.2.3 (I believe that is the latest version)
also, can you send me ~/MagicMirror/installers/upgrade.log
same userid at gmail
Email sent.
Thanks for all your help!