Read the statement by Michael Teeuw here.
Magic Mirror runs twice on boot
-
I followed this guide to set up my MagicMirror on a Raspberry Pi 3B+
https://howchoo.com/g/ntcymzbimjv/how-to-install-magic-mirror-on-your-raspberry-pi
I get 2 instances of magic mirror that run every time. any way to remove one of them?
-
Are your instances mm, and the other, MagicMirror ?
Here is how to delete one, but the choice is yours.
pm2 stop mm
pm2 delete mm
pm2 save
rm ~/mm.shThen check your instances again
-
They are both labeled MagicMIrror2 and they both will automatically re-start if I quit them with CTRL+Q.
-
I think I fixed this. There was a file called mm.sh in the home directory, I moved it to the trash and I only see one instance now. I’m guessing there is something already starting Magic Mirror someplace else?
-
Uhhh
-
Not sure. I am new to all this, but that is what I did and it works now. Thanks for the help.
-
I had the situation where whenever I turned off the monitor and later turned it back on. MM would load a second instance of the server. Took me a while to figure out that it was the HDMI port that was the culprit. I was using a 32 inch Vizio TV and HDMI2. In trying to figure out why this was happening I tried another monitor and it worked correctly when turned on and off. So FYI it may be that the HDMI port that you are using is sending a signal to the MM software to reload the server when it is turned on again.
For clarification I am NOT turning off/on the server just the display.
Hope this helps someone else
-
@ByronJames never seen this happen
What OS is this??
Technically a second instance should fail as the port is in use by the first instance.
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