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.5k 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.
    • 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
                  • 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