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.

    Why keeps MM2 starting even when I've pressed ctrl+Q?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 3 Posters 1.6k Views 3 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.
    • M Offline
      MWel1977
      last edited by

      I just have installed MM2 and I would like to make changes now to the setup of MM2 but when I press Alt and close the MM2 (or use Ctrl+Q) after a few seconds MM2 is up and running agian!!
      How can I stop this? I would like to have MM2 to start after the Pi has booted or after I started it from the commanline. Not on it’s own!

      S lavolp3L 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @MWel1977
        last edited by

        @mwel1977 I use an ssh session from my Windows box and kill the npm start process. Actually a little script kills all node related tasks

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          MWel1977
          last edited by

          @sdetweil: I’m just starting with a raspberry pi (well… I have Domoticz running on a Pi zero W to check my plants) so I have no idea how to make/write a script like that.
          But I just rebooted my pi and MM2 didn’t start. So I can make changes to the setting now and start MM2 via the commandline.

          1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @MWel1977
            last edited by

            @mwel1977 The reason seems to be pm2. You seem to have that installed. It runs a script always restarting MagicMirror after you close it.
            To close MagicMirror properly if you have pm2 running do a

            pm2 stop mm
            

            or however your process was called. You can find the name of the process running

            pm2 status
            

            Other useful commands

            pm2 restart mm
            pm2 start mm.sh //Name of the shell file that has been created by YOU!
            

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            1 Reply Last reply Reply Quote 0
            • 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