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.

    Updated OS. MM no longer starts

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 1.8k 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.
    • M Offline
      Myst
      last edited by Myst

      I did that and npm was not found. I also tried “whereis npm” and didn’t get any results.

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

        @Myst

        sudo apt get install npm
        

        then

        npm install -g npm 
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • M Offline
          Myst
          last edited by

          Is it possible that npm is installed on the server and just that it’s not in the path? Where is the file under the GUI that tells what program to automatically run when booting up? The update also appeared to hose that.

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @Myst
            last edited by

            @Myst - There’s more than one. Part of the “fun” of unix-based systems. PM2 will start things automatically. So will systemd. So will rc.local. I’m probably missing one or two.

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

              How is MM normally started? Anybody know what is put in which file?

              bheplerB 1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer @Myst
                last edited by

                @Myst - The installation script from the GitHub repository uses pm2 to start Magic Mirror. The pm2 application starts and monitors a script in the /home/pi/MagicMirror folder named run-start.sh. If the script crashes/exits for any reason, pm2 will detect it and restart that script.

                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