MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Magic Mirror runs twice on boot

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 4 Posters 3.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      AyeKaye
      last edited by

      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?

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @AyeKaye
        last edited by

        @ayekaye

        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.sh

        Then check your instances again

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • A Offline
          AyeKaye
          last edited by

          They are both labeled MagicMIrror2 and they both will automatically re-start if I quit them with CTRL+Q.

          1 Reply Last reply Reply Quote 0
          • A Offline
            AyeKaye
            last edited by

            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?

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @AyeKaye
              last edited by

              @ayekaye

              Uhhh

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • A Offline
                AyeKaye
                last edited by

                Not sure. I am new to all this, but that is what I did and it works now. Thanks for the help.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  ByronJames
                  last edited by

                  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

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @ByronJames
                    last edited by

                    @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.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 1

                    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
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy