Read the statement by Michael Teeuw here.
V2.31.0 unable to start
-
@htilburgs weird,
show
lsb_release -a -
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
-
-
@sdetweil said in V2.31.0 unable to start:
ps -ef | grep way
ps -ef | grep labwcpi@mm:~/MagicMirror $ ps -ef | grep way vnc 739 1 0 Apr09 ? 00:00:00 /bin/sh /usr/sbin/wayvnc-run.sh vnc 759 739 0 Apr09 ? 00:00:00 wayvnc --render-cursor --detached --gpu --config /etc/wayvnc/config --socket /tmp/wayvnc/wayvncctl.sock root 1605 1 0 Apr09 ? 00:02:02 python /usr/sbin/wayvnc-control.py lightdm 801759 801726 0 19:20 ? 00:00:02 /usr/bin/rpi-connectd -socket /run/user/106/rpi-connect-wayvnc.sock lightdm 801764 801648 0 19:20 ? 00:00:00 /usr/bin/wayfire -c /usr/share/greeter.ini pi 810604 974 0 19:24 ? 00:00:02 /usr/bin/rpi-connectd -socket /run/user/1000/rpi-connect-wayvnc.sock lightdm 870748 1 0 19:32 ? 00:00:00 /usr/bin/Xwayland -auth /home/lightdm/.Xauthority :0 -rootless -core -terminate 10 -listenfd 30 -listenfd 31 -displayfd 59 -wm 56 pi 878864 735951 0 21:00 pts/0 00:00:00 grep --color=auto way
pi@mm:~/MagicMirror $ ps -ef | grep labwc pi 878897 735951 0 21:00 pts/0 00:00:00 grep --color=auto labwc pi@mm:~/MagicMirror $
-
@htilburgs hm. so start:wayland should have worked
-
@sdetweil
I did the update, it didn’t work afterwards.
Then I’ve tried sudo apt-get update / upgrade, still no luck
Today I renamed MagicMirror to .org and did a new install of MagicMirror, same result.So now I’m out of options…
-
@htilburgs hmm
ok. try this
rm -rf ~/.config/Electron
note the . (dot) in front of of config
restart MagicMirror
-
@sdetweil
Same error😔npm run start
npm run start:wayland -
I think I take a new SD Card and do an install from scratch to see what happens.
-
@htilburgs
I took a new SD Card and installed everything from fresh.
Some information:cat /sys/firmware/devicetree/base/model Raspberry Pi 4 Model B Rev 1.4
cat /etc/debian_version 12.10
cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
uname -a Linux MagicMirror 6.12.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux
node -v v22.14.0
npm -v 10.9.2
When I start MagicMirror with “npm run start”, then everything seems to work.
pm2 start MagicMirror works and seems to start MagicMirror in Wayland
npm run start:wayland still gives an error
pi@MagicMirror:~/MagicMirror $ npm run start:wayland > magicmirror@2.31.0 start:wayland > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland [2025-04-15 21:25:47.140] [LOG] Starting MagicMirror: v2.31.0 [2025-04-15 21:25:47.175] [LOG] Loading config ... [2025-04-15 21:25:47.179] [LOG] config template file not exists, no envsubst [2025-04-15 21:25:47.752] [INFO] Checking config file /home/pi/MagicMirror/config/config.js ... [2025-04-15 21:25:47.874] [INFO] Your configuration file doesn't contain syntax errors :) [2025-04-15 21:25:47.876] [INFO] Checking modules structure configuration ... [2025-04-15 21:25:47.988] [INFO] Your modules structure configuration doesn't contain errors :) [2025-04-15 21:25:47.991] [LOG] Loading module helpers ... [2025-04-15 21:25:47.992] [LOG] No helper found for module: alert. [2025-04-15 21:25:48.002] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.004] [LOG] Module helper loaded: updatenotification [2025-04-15 21:25:48.004] [LOG] No helper found for module: clock. [2025-04-15 21:25:48.005] [LOG] No helper found for module: MMM-CalendarExt3Agenda. [2025-04-15 21:25:48.005] [LOG] No helper found for module: weather. [2025-04-15 21:25:48.061] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.061] [LOG] Module helper loaded: MMM-Formula1 [2025-04-15 21:25:48.099] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.100] [LOG] Module helper loaded: MMM-MyGarbage [2025-04-15 21:25:48.225] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.225] [LOG] Module helper loaded: calendar [2025-04-15 21:25:48.270] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.271] [LOG] Module helper loaded: MMM-OnSpotify [2025-04-15 21:25:48.298] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.298] [LOG] Module helper loaded: MMM-Bring [2025-04-15 21:25:48.487] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.487] [LOG] Module helper loaded: MMM-Tado [2025-04-15 21:25:48.489] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.489] [LOG] Module helper loaded: MMM-MyHomeWizard [2025-04-15 21:25:48.491] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.492] [LOG] Module helper loaded: MMM-SystemMonitor [2025-04-15 21:25:48.523] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.523] [LOG] Module helper loaded: MMM-network-signal [2025-04-15 21:25:48.525] [LOG] Initializing new module helper ... [2025-04-15 21:25:48.526] [LOG] Module helper loaded: MMM-Universal-Pir [2025-04-15 21:25:48.526] [LOG] All module helpers loaded. [2025-04-15 21:25:48.536] [LOG] Starting server on port 8080 ... [2025-04-15 21:25:49.396] [LOG] Server started ... [2025-04-15 21:25:49.401] [LOG] Connecting socket for: updatenotification [2025-04-15 21:25:49.407] [LOG] Starting module helper: updatenotification [2025-04-15 21:25:49.409] [LOG] Connecting socket for: MMM-Formula1 [2025-04-15 21:25:49.414] [LOG] Starting module: MMM-Formula1 [2025-04-15 21:25:49.418] [LOG] Connecting socket for: MMM-MyGarbage [2025-04-15 21:25:49.419] [LOG] Starting node_helper for module: MMM-MyGarbage [2025-04-15 21:25:49.420] [LOG] Connecting socket for: calendar [2025-04-15 21:25:49.422] [LOG] Starting node helper for: calendar [2025-04-15 21:25:49.424] [LOG] Connecting socket for: MMM-OnSpotify [2025-04-15 21:25:49.427] [LOG] [MMM-OnSpotify] by Fabrizz >> Node helper loaded. [2025-04-15 21:25:49.428] [LOG] Connecting socket for: MMM-Bring [2025-04-15 21:25:49.430] [LOG] Connecting socket for: MMM-Tado [2025-04-15 21:25:49.438] [LOG] - MMM-Tado: Refresh token loaded. [2025-04-15 21:25:49.440] [LOG] Connecting socket for: MMM-MyHomeWizard [2025-04-15 21:25:49.443] [LOG] Starting node_helper for: MMM-MyHomeWizard [2025-04-15 21:25:49.444] [LOG] Connecting socket for: MMM-SystemMonitor [2025-04-15 21:25:49.446] [LOG] Starting module helper: MMM-SystemMonitor [2025-04-15 21:25:49.450] [LOG] Connecting socket for: MMM-network-signal [2025-04-15 21:25:49.452] [LOG] MMM-network-signal helper started ... [2025-04-15 21:25:49.454] [LOG] Connecting socket for: MMM-Universal-Pir [2025-04-15 21:25:49.457] [LOG] Sockets connected & modules started ... [2025-04-15 21:25:50.513] [LOG] Launching application. [2025-04-15 21:25:51.278] [INFO] System information: ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.4; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.20+rpt-rpi-v8 ### VERSIONS: electron: 35.1.5; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3 ### OTHER: timeZone: Europe/Amsterdam; ELECTRON_ENABLE_GPU: undefined /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP pi@MagicMirror:~/MagicMirror $
I was just wondering, couldn’t it have something to do with the WAYLAND_DISPLAY parameter?
WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1