Read the statement by Michael Teeuw here.
Black screen after some hours
-
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
-
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?
-
Link to the reddit post if anyone is interested:
https://redd.it/8lsf6b -
@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) -
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 typingpm2 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?
-
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. -
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.
-
Same here. I turned down the updatenotification module. See if this helps. Will keep you posted.
-
3rd day. No black screen anymore. I think we identified the root cause.
-
@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… -
I’ve already disabled the update notification module, nothing has changed.
-
For me it runs stable since removing the update module.
-
I updated our mirror to 2.4.1 about 2 weeks ago… since the new software is running we don’t see black screen anymore…
-
Running 2.4.1 and getting the black screen after some time. Pi is still accessible and PM2 restart mm makes it work again.
How do you disable the update notification module? -
@carstend - Just remove it from your
config.js. Take out everything between the{...}that surrounds the notification module and save the file. Restart the MagicMirror process and you should be good to go. -
I have exactly the same problem with my Pi 3, similar error log. After removing the notification module from my config.js and it seems to be workinkg correctly now.
-
Disabling the notification module did not change the problem. I solved it finally by going through (1) removing and (2) reinstalling screensaver and then (3) disabling screensaver again. Even though for me there is no logical explanation doing it that way, the problem has gone away.
-
how do you remove and reinstall screen saver ? can you give me commands ?
i’ve tried
sudo apt-get remove xscreensaverbut it just gives me that no xscreensaver isn’t installed.
-
A solution, (not perfect) is to use MMM-WatchDog, it keeps an eye on your UI and quits app in case the UI crashes, combined with the PM2 process manager, MM2 will automaticly restart after a UI failure.
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