Read the statement by Michael Teeuw here.
Reverting to previous MM Release
-
I have just reverted to the old version as well. Too many issues with electron. Breaking issues for me as well. And I am running Pi5 Trixie. Something about Pi5 Trixie and Electron 41 not playing well together. v2.34.0 ran just fine on Trixie and using Wayland. Now it is breaking.
-
@mumblebaj can you articulate the issues?
-
S sdetweil has marked this topic as solved
-
@sdetweil Hi Sam. I upgraded using your upgrade script. Then I saw the following error,
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP. MM shows that it has started but browser does not launch, Electron failing. Tried a bunch of things but nothing seems to help. Switched back to X11 and still getting the dreaded error.I have downgraded to 2.34.0 and still same issue now.


I am flashing a new SD card now and will try a fresh install and see how that goes
-
@mumblebaj
After downgrading, did you run
npm install again -
@sdetweil Yes sir. Just got in now. Will work on the new SD card now and advise in a bit.
-
@mumblebaj ok, thx
-
@sdetweil Flashed the new card and installed trixie, Did a clean install. Ran your restore script and everything is running just fine.
-
@mumblebaj woohoo… at least thats something good!!
-
@sdetweil For sure. I am suspecting the card may have been flaking. Now to fix my Docker image. 😮💨
-
@sdetweil I ran your upgrade script as well and I also see electron errors in the pm2 logs. The system just loads to a blank/black screen (with cursor), but fails to load beyond that.
0|mm | /home/dietpi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV -
@jca2112 when did you run it? today?
can you look at ~/MagicMirror/installers/mm.sh
and see if
npm run start:x11is present on line 9
also, can you do
pm2 stop all cd ~/MagicMirrorand try either
npm startor
npm run start:x11is this really a dietpi? what OS version is running
lsb_release -a
also, can you send me ~/MagicMirror/installers/upgrade.log
same userid at gmail -
@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:x11is 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 startalso, can you do
pm2 stop all cd ~/MagicMirrorand try either
npm startnpm 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 SIGSEGVis 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 gmailEmail sent.
Thanks for all your help!
-
@jca2112 ok edit the mm.sh
and changenpm startto
npm run start:x11I know why… I fixed the script on saturday, but didn’t catch that on my mac I was on a different branch, so the master branch didn’t get updated til about 9pm central last night.
I drove all day yesterday, and fixed it again on master… -
@jca2112 from the log,
saved translations/en.json
make sure you check on this change, as it was stashed but not re-applied…
-
@sdetweil Yup, it’s working now. Awesome, thank you so much.
(The translations/en.json is just a single word change, so easy to fix manually without being stashed.)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login