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.

    Starting MM on Reboot

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 2.0k Views 2 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.
    • T Offline
      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

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

        Create a working config
        How to add modules

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

          Thanks, i needed to execute the command

          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            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. :-)

            Create a working config
            How to add modules

            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