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

pm2 erorr log full of errors



  • Hi,

    in error log in pm2 is cca each 30sec this error:

    TypeError: Cannot read property 'hash' of null
        at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
        at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
        at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
        at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
    

    And every morning I need to restart my Raspberry because of the screen is blank. But webservice is running and If i open the MM via webservice it works properly.

    Have anybody some solution? Thank you!
    Tomas



  • I think, this is same problem as here: https://github.com/MichMich/MagicMirror/issues/1243



  • I recently seen that on my improvement machine. LE rectified: just the pm2 logs order will skip appearing/time on application invigorate.