A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Problems with starting pm2 start mm.sh
-
-
@Raksasas it was the
pm2 start installers/mm.sh
That needed to be done from the MagicMirror folder.
Cause I ‘ASSUMED’ if u were working on mm, you would always be in that folder.
installers folder is in mm, not in user home
-
Part 1:
@sdetweilJust tried the
pm2 start installers/mm.sh pm2 save
From within the “MagicMirror” folder and no change. MagicMirror starts and at reboot it does not automaticly start
See below for my fix
Part 2:
@mumblebaj
This seems possible. So i re-ransudo npm install -g pm2 pm2 startup
After running “pm2 startup” this time I noticed the following:
To setup the Startup Script, copy/paste the following command: sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
So I ran that and followed with the “pm2 start mm.sh” and “pm2 save”. Well now it is auto starting on reboot.
-
@Raksasas great news!
-
@Raksasas Exellent. Great it is working now.
-