Read the statement by Michael Teeuw here.
pm2 dosn`t start mm.sh after reboot
-
@trividar read the instructions at the link I gave,
in a terminal window , use finder to find ‘terminal’ -
@sdetweil OK I found the link…
bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"just a question, I have set up the magicmirror with all my settings etc. can I just execute this without loosing my stuff??
-
@trividar no… if u have it running, why do you need to install again?
if you don’t have it running, then u need to install…
you can copy the config.js to the new system, but you will have to install the modules and make sure to handle the dependencies they require
-
@sdetweil because I can’t get pm2 to work on my mac mini catalina
-
@trividar oh, pm2… then use the new script for that
see here
https://forum.magicmirror.builders/topic/10907/new-script-to-install-fix-pm2-config-for-start-on-bootsometimes it doesn’t restart on boot like I think it should (on catalina, worked great on sierra an high sierra). haven’t found the problem yet
-
@sdetweil oooh perfect… I will try it… do i see this right, I should execute it outside from MM?
cd bash -c "$(curl -sL https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)" -
@trividar execute anywhere, it figures it out
-
@trividar thanks for asking about catalina… I have found the ‘problem’ with pm2 restart…
do
sudo nano /Users/$USER/Library/LaunchAgents/pm2.$USER.plistright at the top there is a string ‘UserName’ shown below
the space after the < is because this forum sees the < as a special formatting tag…< key>UserName< /key> < string>?????< /string>anyhow, delete those two lines
save the file (ctrl-o,enter), and exit, (ctrl-x)then restart (via shell),
sudo shutdown -r now -
@trividar I’ve added all that to the fixup script… (and the updated install script)
so, if u haven’t done this manually, run then script, then restart your mac
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login