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.

    Black screen after some hours

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    19 Posts 11 Posters 8.7k Views 13 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.
    • S Offline
      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 Offline
        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 Offline
          fidst
          last edited by

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

          idoodlerI 1 Reply Last reply Reply Quote 0
          • idoodlerI Offline
            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 Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      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 Offline
                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy