Read the statement by Michael Teeuw here.
After update 2.29.0 PM2 does not work
-
pi@mm:~ $ pm2 delete 0 [PM2] Applying action deleteProcessId on app [0](ids: [ '0' ]) [PM2] [MagicMirror](0) ✓ ┌────┬───────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ └────┴───────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ [PM2][WARN] Current process list is not synchronized with saved list. App MagicMirror differs. Type 'pm2 save' to synchronize. pi@mm:~ $ pm2 save -f [PM2] Saving current process list... [PM2] Successfully saved in /home/pi/.pm2/dump.pm2 pi@mm:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log [PM2][WARN] Applications MagicMirror not running, starting... [PM2][ERROR] Error: Script not found: /home/pi/MagicMirror/installers/mm.sh [PM2] Saving current process list... [PM2][WARN] PM2 is not managing any process, skipping save... [PM2][WARN] To force saving use: pm2 save --force
pi@mm:~ $ node -v v20.9.0
pi@mm:~ $ grep version node_modules/electron/package.json "version": "31.6.0"
-
@htilburgs arrrrrg
we deleted installers folder from the repository
didn’t fix the fixup scriptbe a couple hours
edit: fixed 17:50 Oct 1 -
@sdetweil
Oke, no problem.
It’s 22:55 in the Netherlands and have to get up at 05:30, so I go to sleep and check in the morning.Enjoy your grandchildren ;-) These are more important than a MagicMirror!
-
@sdetweil
I created the mm.sh script in the /MagicMirror/installers folder (copied from your site) and run the fixuppm2 script again.Now it started MagicMirror as normal.
I tried a reboot and it works now.Now only the same on the other MagicMirror screen and I’m happy again.
If i have to do anything more or reinstall, let me know.
But it seems I’ve a working installation of MagicMirror again.
Thanks!! -
@sdetweil I have posted a new topic in trouble shooting with the error message and the install log.
The system would not let me send the file as only graphic files are accepted.
Thank you.
Butch
-
@htilburgs awesome, thx
-
@htilburgs I have added the mm.sh to fixuppm2.sh
-