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.

    Blank screen after updating tonight...

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 5 Posters 8.0k Views 5 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.
    • U Offline
      uatuba
      last edited by

      I just updated my MagicMirror, and I now get a blank screen. There is only one instance running, and when I stop and start the process through pm2, I get the desktop and the blank screen again, respectively.

      I used:

      git pull

      and received a message about package-lock.json needing to be stashed. I backed it up, then used:

      git reset --hard
      git pull
      npm install

      Immediately upon reboot, I received a blank screen. I also copied package-lock.bak to package-lock.json, and I still get the blank screen. I’m running both pihole and MagicMirror. Any assistance would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • U Offline
        uatuba
        last edited by

        UPDATE: It’s the PIR-Sensor Module which isn’t working. When I delete it from the config file, everything works great. When I add it back, the screen is completely blank. It’s the same config that was working before the update.

        1 Reply Last reply Reply Quote 0
        • N Offline
          nakedrabbit
          last edited by

          Mine also not working on RPi3, and removing the exact same plugin does not remedy the situation. Sample config does make it behave, but it seems like there might be another plugin issue?

          I’m running (or used to run)

          Remote Control
          DarkSky Forecast
          Network Scanner
          Volumio Playing
          Roomba
          Notification Trigger
          Hotword
          Assistant Mk2
          Buttons
          and PIR sensor.

          I upgraded because Electron was leaking or whatever it does to slow to a crawl, and slushing back to a previous Electron had not fixed the problem. Too tired to try them all one at a time right now, but I guess I’ll go to it tomorrow.

          1 Reply Last reply Reply Quote 0
          • I Offline
            ines
            last edited by

            I have faced the same problem , any solution ?

            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil
              last edited by sdetweil

              use ctrl-shift-i to open the developers window and select the console tab, scroll around to see any errors, (red text)

              also, if you updated, u generally need to re-run npm install in every module that has a package,json file.
              The Hotword and Assistant will need electron-rebuild more than likely

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • I Offline
                ines
                last edited by

                thank you , i make the npm install in every module with package.json but he doesn’t work

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @ines
                  last edited by

                  @ines ok, we need to see the error… open the developers window

                  how do you start MM, with PM2, or something else…

                  the pm2.log might help too if used

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    ines
                    last edited by

                    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v3.0-linux-arm/snowboy.node’

                    this the error that i ve faced after the new update

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @ines
                      last edited by

                      @ines ok, you need to follow the instructions in hotword for the electron-rebuild

                      But maybe in kiosk mode, you may meet some error like this;
                      
                      Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v2.0-linux-arm/snowboy.node'
                      In that case, you need to rebuild some binaries to match with Electron version.
                      
                      cd ~/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
                      npm install --save-dev electron-rebuild
                      npm install nan
                      ./node_modules/.bin/electron-rebuild   # It could takes dozens sec.
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @sdetweil
                        last edited by sdetweil

                        note that you will have the same problem in Assistant too

                        see

                        https://forum.magicmirror.builders/topic/10189/mmm-assistantmk2-breaks-with-mm-v2-7-0

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        thedoorsfanaticT N 2 Replies Last reply Reply Quote 0
                        • I Offline
                          ines
                          last edited by

                          @sdetweil said in Blank screen after updating tonight...:

                          ./node_modules/.bin/electron-rebuild

                          thank you @sdetweil , the problem was solved you need to make the electron-rebuilt into mmm-assistantMk2 and mmm-hotword too

                          1 Reply Last reply Reply Quote 0
                          • thedoorsfanaticT Offline
                            thedoorsfanatic @sdetweil
                            last edited by

                            @sdetweil

                            Sorry, I am a beginner from Germany. Maybe you can help.

                            It won’t let me update because of this message:
                            “Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden”
                            which translates to:
                            “Your local changes in the following files would be overwritten by the merge”
                            and then it lists like 5 or 6 package.json files. What can I do?

                            Danke/Thanks!

                            My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @thedoorsfanatic
                              last edited by

                              @thedoorsfanatic you can pout those changes away temporarily with

                              git stash

                              after installing, if u want those back,

                              git stash pop

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              N thedoorsfanaticT 2 Replies Last reply Reply Quote 0
                              • U Offline
                                uatuba
                                last edited by

                                I got it working by removing MMM-PIR-Sensor and reinstalling it. Simply updating it did not work.

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  nakedrabbit @sdetweil
                                  last edited by

                                  @sdetweil Thanks for these leads! Now that you mention it, why would I not need to do this… I’ll let you know how it goes…

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    nakedrabbit @sdetweil
                                    last edited by

                                    @sdetweil LIKE A CHARM. All is well with Assistant and Hotword, just as you describe. MMM-Buttons also required and npm install, as well as MMM-PIR-Sensor. So, basically, maintenance on all the plugins.

                                    1 Reply Last reply Reply Quote 0
                                    • thedoorsfanaticT Offline
                                      thedoorsfanatic @sdetweil
                                      last edited by

                                      @sdetweil said in Blank screen after updating tonight...:

                                      git stash

                                      Thanks for your quick reply and your tipp that worked for me.
                                      After git stash I updated MM to 2.7.1 and then I cd 'ed into every installed module and did npm install.

                                      Excuse my bad English and sorry to bug you and thanks again fpr your time!

                                      Noob from Germany

                                      My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

                                      1 Reply Last reply Reply Quote 0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • 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