Read the statement by Michael Teeuw here.
Magic mirror does not start automatically when booting
-
@sdetweil That worked very well this time. Magic Mirror finally starts. Thank you very much for your script.
I would now like to know whether I can install my modules normally like before, or whether there are still difficulties with calendar modules (I have often read this week that calendar modules cause problems)?I had these modules on it before and would install everything again, or should I leave some out because there are problems with the new MM update/version?
Edit: After I rebooted, Magic Mirror doesn’t start automatically, then I entered this command:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
It then starts immediately, but after restarting the Pi starts without MM.
-
@sil3ntstorm yes the pm2 script has done trouble
do this
pm2 startup
it will output a command, copy paste that
-
@sdetweil
Did I do it right? If so, it will appear as a message -
@sil3ntstorm need all of the command everything that it outputs, you didn’t copy about 30 characters
then
pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json pm2 save
-
Wooooooooooooow it works, thank you very much
This worked after I typed this:
sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
then that:
pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
pm2 save