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.

    Update MMM

    Scheduled Pinned Locked Moved Solved Troubleshooting
    75 Posts 8 Posters 36.0k Views 9 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
      mattx38
      last edited by

      Ok, thanks for your help so far.
      The rebuilding is not done yet ; still running.

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

        Rebuild is done for the Assistant. The MM is launnching again. I didn’t try to activate it by saying “Jarvis” (everyone is sleeping at home).

        I put PIR module ON, black screen again, and still this error :

        [2020-04-01 23:30:25.054] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module ‘/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node’
        was compiled against a different Node.js version using
        NODE_MODULE_VERSION 64. This version of Node.js requires
        NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
        the module (for instance, using npm rebuild or npm install).

        EDIT : So I did a “npm install” into the MMM-PIR-Sensor folder, and now it works again.
        A very big THANK YOU to YOU !!!

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

          @mattx38 cool. My update script would have fixed PIR problem. But not assistant or hotword

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            Peter Leemon
            last edited by

            HI all I’m getting the following message on my MM screen “MagicMirror2 update available” then underneath “The current installation is 2994 comments behind on the master branch”

            Anyone know how to resolve this issue?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Peter Leemon
              last edited by

              @Peter-Leemon run my update script from here

              https://github.com/sdetweil/MagicMirror_scripts

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                Peter Leemon @sdetweil
                last edited by

                @sdetweil run the first script?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Peter Leemon
                  last edited by sdetweil

                  @Peter-Leemon

                  upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
                  it should handle all the work… and give you a trial run of all that…
                  
                  only applying changes if u request them
                  
                  give it a try this works on Mac as well
                  
                  bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                  no changes are made to the local repo or the working copy
                  
                  if you WANT to actually apply the changes do
                  
                  bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                  there is a log file (upgrade.log) in the MagicMirror/installers folder…
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Peter Leemon @sdetweil
                    last edited by

                    @sdetweil said in Update MMM:

                    bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

                    sorry a noob here do i run this in terminal?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Peter Leemon
                      last edited by

                      @Peter-Leemon yes, stop MM first of course

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Peter Leemon
                        last edited by

                        when I paste bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh) i get no such file or directory

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 5 / 8
                        • 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