Read the statement by Michael Teeuw here.
Updated OS. MM no longer starts
-
I did that and npm was not found. I also tried “whereis npm” and didn’t get any results.
-
-
Is it possible that npm is installed on the server and just that it’s not in the path? Where is the file under the GUI that tells what program to automatically run when booting up? The update also appeared to hose that.
-
@Myst - There’s more than one. Part of the “fun” of unix-based systems. PM2 will start things automatically. So will systemd. So will rc.local. I’m probably missing one or two.
-
How is MM normally started? Anybody know what is put in which file?
-
@Myst - The installation script from the GitHub repository uses pm2 to start Magic Mirror. The pm2 application starts and monitors a script in the
/home/pi/MagicMirror
folder namedrun-start.sh
. If the script crashes/exits for any reason, pm2 will detect it and restart that script.