Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Starting MM on Reboot

    Troubleshooting
    2
    4
    1467
    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.
    • T
      termeric last edited by

      I followed the instructions linked below to have Magic mirror start up automatically when i reboot my Pi, but for some reason its not working for me. If i run “pm2 start mm.sh” from the command line, it will restart MM anytime i close it, but once i reboot i just sit at the desktop. Any idea what i should try first to fix this? also, is there a way to make a desktop shortcut that i can click on to run MM in the event that this happens in the future?

      https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

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

        @termeric

        One or two things are usually the cause of this.

        pm2 startup
        "PM2 will now show you a command you need to execute."

        This step gets missed a lot.

        Or

        pm2 start mm.sh
        You mirror should now boot up and appear on your screen after a few seconds.

        Enable restarting of the MagicMirror script.

        To make sure the MagicMirror restarts after rebooting, you need to save the current state of all scripts running via PM2. To do this, execute the following command

        pm2 save

        1 Reply Last reply Reply Quote 1
        • T
          termeric last edited by

          Thanks, i needed to execute the command

          Mykle1 1 Reply Last reply Reply Quote 1
          • Mykle1
            Mykle1 Project Sponsor Module Developer @termeric last edited by

            @termeric said in Starting MM on Reboot:

            Thanks, i needed to execute the command

            All is well. You’re welcome, mate. 🙂

            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy