Auto start does not work
I have a little problem. I use PM2 to do an auto start but it does not work. I followed the tutorial: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
I need to manually start: pm2 start mm.sh
Thank you for your help.
tomyboy96 last edited by
Here you have the solution!
I tried this procedure but it did not work. I still have the same automatic restart problem.
See my previous post here: https://forum.magicmirror.builders/topic/1094/pm2-mm2-not-starting-on-start-up/20
This method may help you:
pm2to startup using
piand home directory
sudo pm2 startup systemd -u pi --hp /home/pi
And then use
pm2 saveto save the state.
I followed instructions now it works and I figured out how it works.
THank you so much
thammanitn last edited by
I installed Nodejs 9.8.0 on my raspberry Pi 3 model B before run the installation script for raspberry.
MagicMirror does not autostart until I found a fix on internet:
sudo env PATH=$PATH:/usr/local/bin pm2 startup systemd -u pi --hp /home/pi