MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Blank screen after some time with only cursor. OS is still responsive



  • Hi
    I am running MagicMirror 2.8 on a raspberry pi 2 with Raspbian Buster (July version) and after some time MagicMirror just goes blank. ive seen alot of other threads about this issue but so far not a solution. It runs fine for a couple of hours and then it just decides to go blank with the cursor still showing. I currently have some PIR modules “installed” but not loaded in the config.js and they didnt work out for me so im using an independent script. The script and magicmirror both stops working but the script has nothing to do with MagicMirror. Any suggestions on what to do?

    https://github.com/deg0nz/MagicMirror-Display-Controller

    Ive included some pm2 log from the mirror and it seems to be some errors but im no expert on reading it so hopefully someone has some insight.

    :~/MagicMirror/modules $ pm2 log MagicMirror
    [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with                                                                                                                                                              --lines option)
    /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
    0|MagicMir |         agent: [Agent],
    0|MagicMir |         _started: true,
    0|MagicMir |         href: 'https://api.spotify.com/v1/me/player',
    0|MagicMir |         req: [ClientRequest],
    0|MagicMir |         ntick: true,
    0|MagicMir |         response: [Circular],
    0|MagicMir |         originalHost: 'api.spotify.com',
    0|MagicMir |         originalHostHeaderName: 'host',
    0|MagicMir |         responseContent: [Circular],
    0|MagicMir |         _destdata: true,
    0|MagicMir |         _ended: true,
    0|MagicMir |         _callbackCalled: true },
    0|MagicMir |      toJSON: [Function: responseToJSON],
    0|MagicMir |      caseless: Caseless { dict: [Object] },
    0|MagicMir |      body: { error: [Object] } } }
    
    /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
    0|MagicMir | Module helper loaded: MMM-LocalTemperature
    0|MagicMir | All module helpers loaded.
    0|MagicMir | Starting server on port 8080 ...
    0|MagicMir | Server started ...
    0|MagicMir | Connecting socket for: MMM-MyCommute
    0|MagicMir | ====================== Starting node_helper for module [MMM-MyCommu                                                                                                                                                             te]
    0|MagicMir | Connecting socket for: MMM-ip
    0|MagicMir | Starting module helper: MMM-ip
    0|MagicMir | Connecting socket for: newsfeed
    0|MagicMir | Starting module: newsfeed
    0|MagicMir | Connecting socket for: MMM-NowPlayingOnSpotify
    0|MagicMir | Connecting socket for: MMM-LocalTemperature
    0|MagicMir | MMM-LocalTemperature: module loaded! Path: /home/pi/MagicMirror/mod                                                                                                                                                             ules/MMM-LocalTemperature
    0|MagicMir | Sockets connected & modules started ...
    0|MagicMir | Launching application.
    
    

    Thanks in advance!



  • @ollioddi playingOnSpotify encountered an error, and appears not to have handled it



  • @sdetweil Could this cause MagicMirror to go completely blank?



  • @ollioddi yep… if there is a fatal error on the module.js side, the UI dies… (goes blank)



  • @sdetweil Well that could explain it. I’ll try disabling itand letting it run over night to see if i wake up to a crashed mirror.


Log in to reply