Read the statement by Michael Teeuw here.
Mirror not starting after update
-
@chrisfr1976 I have just updated the upgrade script to check for node V21 and if found, upgrade to 22.9
-
@sdetweil I did the npm run install-mm already. Still the same error.
I have a copy of my SD Card. I could start from last version again only with the update script. Maybe this helps.Chris.
-
@chrisfr1976 its been reported that the upgrade script doesn’t restore the installers/MagicMirror.sh we took out of the MagicMirror repo and put in my repo
pm2 info 0
will list out the details of the managed app. it will list the program started
-
I have fixed the upgrade script to save/restore the installers folder and mm.sh
-
@sdetweil
how can I update nodejs?I have:
nodejs -v
v18.19.0
and
node -v
v20.9.0npm install nodejs@latest
does not change my nodejs version. -
@xIExodusIx what OS are you on?
lsb_release -a
and
uname -a
will showdid you use my upgrade script? it will upgrade node too
-
Raspberry Pi 4
OS = bookworm 64bit -
@xIExodusIx did you use my upgrade script?
-
@chrisfr1976 can you show me the output of thew npm run install-mm
do it this way (from the MM folder of course)
cd ~/MagicMirror npm run install-mm >somefile.txt 2>&1
then when it finishes all the output is in somefile.txt
-
@sdetweil
lsb_release -a shows:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookwormuname -a shows:
Linux MirrorPi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linuxyes I used your upgrade-script with apply and also with force.
pm2 start MagicMirror will start the MM but it won’t show up!
npm start results in following errors:
[41163:1002/155017.678545:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
[41163:1002/155017.688550:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV