Read the statement by Michael Teeuw here.
no autostart magic Mirror after new setup
-
I have make a new setup now it will not start after autostart. I have make the same as last timer and from tutorial
https://www.doityourself.rocks/magicmirror/diy-magic-mirror-3-magic-mirror-software-installieren-und-konfigurieren/if i command: pm2 start mm.sh -_> it starts
or
command: pm2 update -_> it starts
1: i have create file mm.sh
2. pm2 startup
3. pm2 start mm.sh
4. sudo pm2 savemostly comes the message , use: pm2 save --force
and after sudo reboot its the same , no autostart.
Last setup this works normaly
-
I have solved:
After command pm2 startup --> i have add teh command ( listen as info aofter this entered)
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
now it works, better read from my side :)
-
@Miked180 did u use my setup/install script?
It makes that change if needed
-
yes, i used the install script from : https://www.doityourself.rocks/magicmirror/diy-magic-mirror-3-magic-mirror-software-installieren-und-konfigurieren/
bash -c ‚$"(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
Is thsi your script or whats your script ? Link :
-
@Miked180 all of my scripts are here
https://github.com/sdetweil/MagicMirror_scripts
the one on MM site is broken… and will be removed completely in v 2.11
the doc now references optional installers…
-
Ok thanks, i use this git in future
My Problem with black screen was really the modul : MMM-Motion Detection,
-
@Miked180 glad u found the black screen problem!
-
Thanks for your very n1 support