Read the statement by Michael Teeuw here.
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. -
-
-
@cowlam can u change the cd line to
cd ~/MagicMirror
the one u have is MagicMirror from here (.)
not MagicMirror from user home (~)also the pm2 status line has a column with a circled arrow header, that is restarts
and after 5 rapid it stopsI suspect the cd doesn’t work, mm doesn’t start,
but the saved info says u need electron started. -
@sdetweil Sam: Just to let you know, if PM2 is not running any tasks, it won’t save with a plain
pm2 save
- you have to usepm2 save --force
to clear the list after deleting everything.