Auto start does not work
-
Hello,
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.
-
Here you have the solution!
Good Luck!
-
Hi
I tried this procedure but it did not work. I still have the same automatic restart problem.
Thank you.
-
See my previous post here: https://forum.magicmirror.builders/topic/1094/pm2-mm2-not-starting-on-start-up/20
This method may help you:
Set
pm2
to startup usingsystemd
with userpi
and home directory/home/pi
sudo pm2 startup systemd -u pi --hp /home/pi
And then use
pm2 save
to save the state.
-
Hi
I followed instructions now it works and I figured out how it works.
THank you so much
-
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