Read the statement by Michael Teeuw here.
Update, unable to connect.
-
Same issue today. Tried with force but still no MM.
node -v = v22.14.0
-
@Richard238 can you show the startup messages
-
pi@mmv2:~/MagicMirror $ node -v v22.14.0 pi@mmv2:~/MagicMirror $ pm2 stop MagicMirror [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) â ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ â id â name â mode â ⺠â status â cpu â memory â ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼ââââââââââ⤠â 0 â MagicMirror â fork â 2120 â stopped â 0% â 0b â ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ pi@mmv2:~/MagicMirror $ pm2 start MagicMirror [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) â [PM2] Process successfully started ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ â id â name â mode â ⺠â status â cpu â memory â ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼ââââââââââ⤠â 0 â MagicMirror â fork â 2120 â online â 0% â 2.6mb â ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ pi@mmv2:~/MagicMirror $
-
@Richard238 pm2 logs --lines=20
-
@sdetweil said in Update, unable to connect.:
pm2 logs --lines=20
Seems to loop through this:
0|MagicMirror | > magicmirror@2.32.0 start 0|MagicMirror | > node --run start:x11 0|MagicMirror | [2025-08-16 19:11:31.316] [LOG] Starting MagicMirror: v2.32.0 0|MagicMirror | [2025-08-16 19:11:31.359] [LOG] Loading config ... 0|MagicMirror | [2025-08-16 19:11:31.363] [LOG] config template file not exists, no envsubst 0|MagicMirror | [2025-08-16 19:11:31.976] [INFO] Checking config file /home/pi/MagicMirror/config/config.js ... 0|MagicMirror | [2025-08-16 19:11:32.117] [ERROR] Your configuration file contains syntax errors :( 0|MagicMirror | Line 99 column 21: 'Log' is not defined. PM2 | App [MagicMirror:0] exited with code [1] via signal [SIGINT] PM2 | App [MagicMirror:0] starting in -fork mode- PM2 | App [MagicMirror:0] online 0|MagicMirror | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
-
@Richard238 said in Update, unable to connect.:
0|MagicMirror | [2025-08-16 19:11:32.117] [ERROR] Your configuration file contains syntax errors :(
0|MagicMirror | Line 99 column 21: ‘Log’ is not defined.This seems to indicate that there is an error in
config/config.js
. Run the following on the command line in the~/MagicMirror/
directory:npm run config:check
-
@mumblebaj said in Update, unable to connect.:
npm run config:check
pi@mmv2:~/MagicMirror $ npm run config:check > magicmirror@2.32.0 config:check > node js/check_config.js [2025-08-17 12:14:16.030] [INFO] Checking config file /home/pi/MagicMirror/config/config.js ... [2025-08-17 12:14:16.285] [ERROR] Your configuration file contains syntax errors :( Line 99 column 21: 'Log' is not defined.
Lines 97/98/99:
// Override start method. start: function () { Log.log("Starting module: " + this.name);
-
@Richard238 did the
npm install
complete?
do this
pm2 stop all cd ~/MagicMirror rm -rf node_modules npm install
the start MagicMirror manually
npm start
-
pi@mmv2:/ $ pm2 stop all [PM2] Applying action stopProcessId on app [all](ids: [ 0 ]) [PM2] [MagicMirror](0) â ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ â id â name â mode â ⺠â status â cpu â memory â ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼ââââââââââ⤠â 0 â MagicMirror â fork â 300 â stopped â 0% â 0b â ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ pi@mmv2:/ $ cd ~/MagicMirror pi@mmv2:~/MagicMirror $ rm -rf node_modules pi@mmv2:~/MagicMirror $ npm install npm error code EIO npm error syscall read npm error errno -5 npm error EIO: i/o error, read npm error A complete log of this run can be found in: /home/pi/.npm/_logs/2025-08-17T11_35_16_106Z-debug-0.log pi@mmv2:~/MagicMirror $ npm start > magicmirror@2.32.0 start > node --run start:x11 /bin/sh: 1: ./node_modules/.bin/electron: not found
-
@Richard238 of course you dont need to do npm start if the other stuff fsiled
cd ~/MagicMirror rm package-lock.json rm -rf node_modules npm cache clean --force npm install
let me know the results