Read the statement by Michael Teeuw here.
Latest posts made by cowlam
-
RE: Brand New Install works until I enable PM2 Autostart
-
RE: Brand New Install works until I enable PM2 Autostart
pm2 start mm.sh
Magic Mirror launches successfullypm2 save
pm2 restart 0 (can confirm that is the correct id from pm2 status - only one entry which is mm)
Magic Mirror is closed down… and an black Electron window opens and does not change ever after several minutes.
If I right-click the Electron window and close it, after a few seconds the Magic Mirror launches successfully again on its own. -
RE: Brand New Install works until I enable PM2 Autostart
@sdetweil Thank You for the suggestions.
It launches correctly with “pm2 start mm.sh”.
But when I then run “pm2 save” and stop mm and start it again it launches the black Electron screen.
So I then remove it (had to run “pm2 del 0”), and save (pm2 save --force).
Then I ran “pm2 start mm.sh” again.
I then ran “pm2 stop mm”.
Then I ran “pm2 save”.
I can successfully run “pm2 start mm.sh” after that providing I saved it in the stopped state.
But that means when the pi reboots it isn’t started automatically. -
Brand New Install works until I enable PM2 Autostart
Hi All,
Newbie here having an issue with new installs where everything works perfectly following the official installation instructions (https://docs.magicmirror.builders/getting-started/installation.html) until I implement PM2.
I am using Bookworm 64bit desktop on a 3A+ with a 32gb SD. Running “npm run start” launches Magic Mirror on the desktop and all is good.
But as soon as I try to autostart (https://docs.magicmirror.builders/configuration/autostart.html#using-pm2) when it launches, it is actually launching an empty black Electron app on the desktop. If I close that app then the Magic Mirror 2 app launches and runs fine. It’s completely weird. I have run through this from scratch 3 times and the same issue each time.
Any help is much appreciated.
Anthony