Read the statement by Michael Teeuw here.
MagicMirror no longer launches
-
@RIKKO14 How do you start MagicMirror?
-
@mumblebaj with pm2
-
@RIKKO14 You should then be able to run
pm2 logs --lines 50
and that should return the details from the pm2 log. Hopefully it has any error details. -
@RIKKO14 because MagicMirror now uses a pm2 library inside, we have a version conflict…(I think)
do
sudo npm install pm2 -g
then reboot
-
@sdetweil So, I do :
sudo npm install pm2 -g
then I reboot my Pi but the problem stile the same, I Have this screen :
-
@RIKKO14 your second screen is only the top.
open a terminal window and
dopm2 stop all pm2 flush pm2 status
should show MagicMirror as the pgm to run
then do
pm2 start MagicMirror
wait
does it appear on screen?
if not do
pm2 stop all pm2 logs --lines=50 >somefile.txt ctrl-c to stop log output
show content of somefile.txt here
BR CAREFUL some log info will expose your calendar url…
edit somefile.txt and xxx out the private part.of url -
pi@raspberrypi:~ $ pm2 stop all pm2 flush pm2 status >>>> In-memory PM2 is out-of-date, do: >>>> $ pm2 update In memory PM2 version: 5.2.2 Local PM2 version: 5.3.1 [PM2] Applying action stopProcessId on app [all](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 567… │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ [PM2] Flushing /home/pi/.pm2/pm2.log >>>> In-memory PM2 is out-of-date, do: >>>> $ pm2 update In memory PM2 version: 5.2.2 Local PM2 version: 5.3.1 [PM2] Flushing: [PM2] /home/pi/.pm2/logs/MagicMirror-out.log [PM2] /home/pi/.pm2/logs/MagicMirror-error.log [PM2] Logs flushed >>>> In-memory PM2 is out-of-date, do: >>>> $ pm2 update In memory PM2 version: 5.2.2 Local PM2 version: 5.3.1 ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 567… │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@raspberrypi:~ $ pm2 start MagicMirror >>>> In-memory PM2 is out-of-date, do: >>>> $ pm2 update In memory PM2 version: 5.2.2 Local PM2 version: 5.3.1 [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 │ 567… │ online │ 0% │ 2.7mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@raspberrypi:~ $ pm2 stop all pm2 logs --lines=50 >somefile.txt ctrl-c to stop log output >>>> In-memory PM2 is out-of-date, do: >>>> $ pm2 update In memory PM2 version: 5.2.2 Local PM2 version: 5.3.1 [PM2] Applying action stopProcessId on app [all](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 567… │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
-
@RIKKO14 ok, do the
pm2 update as it says
probably have to do
sudo pm2 update
as it is installed globally in protected folders -
-
@RIKKO14 yes, it’s stupid. run the fixuppm2 script from my scripts page