MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    UNSOLVED Black screen after some hours

    Troubleshooting
    11
    19
    6137
    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.
    • S
      schmo90 last edited by

      Hy

      my mirror works fine for some hours.

      suddenly a black screen with the mous appears.
      the way to solve is, to restart the mm (pm2 restart mm)

      as workaround i tried chromium, which is also working fine for some hours, but then it will lose the conneciton and i have to reload the page.

      is there a solution for my issues?

      i prefer to use the electron to view the mirror not chromium

      1 Reply Last reply Reply Quote 3
      • F
        fidst last edited by

        I have been experiencing this for a week. I just made a reddit post about this too.

        • redid my config.js
        • reinstalled magicmirror
        • reimaged my pi and started from scratch
        • no errors that I can find

        This does not seem to be screensaver related, as I can still move my mouse and it shows.

        I run a pm2 restart mm command via ssh and it restarts just fine.

        Any ideas?

        1 Reply Last reply Reply Quote 1
        • F
          fidst last edited by

          Link to the reddit post if anyone is interested:
          https://redd.it/8lsf6b

          idoodler 1 Reply Last reply Reply Quote 0
          • idoodler
            idoodler Module Developer @fidst last edited by

            @fidst Try to execute pm2 log mm. This will give you the log of the MacigMirror Instance. Post the log here if the black screen occures. (You may check for any sensible information from other modules)

            1 Reply Last reply Reply Quote 1
            • O
              onkelbobby last edited by

              Hi all,

              I’m facing exactly the same problem on my RPi3. The screen is all black and shows only the mouse arrow. I can access the MMM-RemoteControl from a separate notebook or mobile and it is possible to remotely restart the MM software to bring everything back to normal.
              With a connect mouse you can move the mouse pointer but still there is a black screen. below please find the result after typing pm2 log mm

              /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | fatal: unable to access 'https://github.com/jclarke0000/MMM-MyWeather.git/': Operation timed out after 300010 milliseconds with 0 out of 0 bytes received
              0|mm       | 
              0|mm       | fatal: unable to access 'https://github.com/raywo/MMM-PublicTransportHafas.git/': Operation timed out after 300039 milliseconds with 0 out of 0 bytes received
              0|mm       | 
              
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              0|mm       | Whoops! There was an uncaught exception...
              0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | TypeError: Cannot read property 'hash' of null
              0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
              0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
              0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
              0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
              0|mm       |     at emitTwo (events.js:106:13)
              0|mm       |     at ChildProcess.emit (events.js:191:7)
              0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              

              in the log is written… Maybe no Internet connection? but this is definitely not true…

              Anybody an idea why this happens?

              1 Reply Last reply Reply Quote 1
              • V
                Voteax last edited by

                Same Problem here. New MagicMirror Setup with a Raspberry Pi 2 and USB-Wifi.
                The Error Message is similar. It seems to lost the Internet Connection and the screen goes blank/black.
                No Solution so far.

                1 Reply Last reply Reply Quote 1
                • P
                  prysme01 last edited by

                  Same behavior on RPI3, black screen after few hours, I’ve tried almost all version of electron described on the linked thread, no workaround found.

                  1 Reply Last reply Reply Quote 1
                  • R
                    rak last edited by

                    Same here. I turned down the updatenotification module. See if this helps. Will keep you posted.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rak @rak last edited by

                      3rd day. No black screen anymore. I think we identified the root cause.

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        onkelbobby @rak last edited by

                        @rak
                        I’ll give it a try and remove the update module. But it will take some more days since I’m traveling over the weekend…

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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