Read the statement by Michael Teeuw here.
Problem with instalation on raspbian
-
I did it and it was successful. But what do I do now to restart the MagicMirror software? It still doesn’t work with this:
cd MagicMirror
npm run start
I’m using an rpi 4 for this project.
-
@Ety60 when u did the install, did u say yes to pm2?
if so, then pm2 start 0 should work, also npm start should work
if you did use pm2, then it will start at boot, so npm start would try to start a second copy.
pm2 status will show u what is running
-
The program did not ask me to install pm2.
-
@Ety60 then u did not use my script.
does ~/install.log exist? -
yes ~·install.log exist. So I think I used your script.
-
@Ety60 and it should have prompted you, “Do you want to use pm2 to autostart your MagicMirror”
if u said n, and want to fix it, you can use the fixuppm2.sh script
-
@sdetweil I tried to run the entire script again and this time asked me for pm2. It worked and MagicMirror now works. Thank you very much for your help!