• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Blackscreen after MM Update to 2.17.1

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 3 Posters 291 Views 3 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.
  • M Offline
    msulzer
    last edited by Nov 21, 2021, 6:20 PM

    Hi everyone,
    I have just updated my MM via git pull to 2.17.1. Everything seems to work with exception for the modules MMM-Sonos and MMM-NewsFeedTicker.
    I get a blackscreen when I do not disable the modules and the MM runs if both modules are disabled. I get the following when I run pm2 log. Does anybody know how I can fix the problem?

    pi@raspberrypi:~ $ pm2 log
    [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
    /home/pi/.pm2/pm2.log last 15 lines:
    PM2        | 2021-11-21T18:39:22: PM2 log: Current arch         : arm
    PM2        | 2021-11-21T18:39:22: PM2 log: PM2 home             : /home/pi/.pm2
    PM2        | 2021-11-21T18:39:22: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
    PM2        | 2021-11-21T18:39:22: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
    PM2        | 2021-11-21T18:39:22: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
    PM2        | 2021-11-21T18:39:22: PM2 log: Application log path : /home/pi/.pm2/logs
    PM2        | 2021-11-21T18:39:22: PM2 log: Worker Interval      : 30000
    PM2        | 2021-11-21T18:39:22: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
    PM2        | 2021-11-21T18:39:22: PM2 log: Concurrent actions   : 2
    PM2        | 2021-11-21T18:39:22: PM2 log: SIGTERM timeout      : 1600
    PM2        | 2021-11-21T18:39:22: PM2 log: ===============================================================================
    PM2        | 2021-11-21T18:39:22: PM2 log: App [sonos:0] starting in -fork mode-
    PM2        | 2021-11-21T18:39:22: PM2 log: App [mm:1] starting in -fork mode-
    PM2        | 2021-11-21T18:39:22: PM2 log: App [sonos:0] online
    PM2        | 2021-11-21T18:39:22: PM2 log: App [mm:1] online
    
    /home/pi/.pm2/logs/sonos-error.log last 15 lines:
    0|sonos    | recationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:777) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:824) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:805) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:796) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:773) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:767) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:812) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:780) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:771) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:777) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:797) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:806) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:771) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    0|sonos    | (node:767) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    
    /home/pi/.pm2/logs/sonos-out.log last 15 lines:
    0|sonos    |
    0|sonos    | > sonos-http-api@1.6.9 start /home/pi/MagicMirror/node-sonos-http-api
    0|sonos    | > node server.js
    0|sonos    |
    0|sonos    | 2021-11-21T17:39:25.618Z INFO Could not find file /home/pi/MagicMirror/node-sonos-http-api/settings.json
    0|sonos    | 2021-11-21T17:39:26.383Z INFO Presets loaded: { example:
    0|sonos    |    { players:
    0|sonos    |       [ { roomName: 'Bathroom', volume: 10 },
    0|sonos    |         { roomName: 'Kitchen', volume: 10 },
    0|sonos    |         { roomName: 'Office', volume: 10 },
    0|sonos    |         { roomName: 'Bedroom', volume: 10 },
    0|sonos    |         { roomName: 'TV Room', volume: 15 } ],
    0|sonos    |      playMode: { shuffle: true, repeat: 'all', crossfade: false },
    0|sonos    |      pauseOthers: false } }
    0|sonos    | 2021-11-21T17:39:28.608Z INFO http server listening on 0.0.0.0 port 5005
    
    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    1|mm       |     at require (internal/modules/cjs/helpers.js:88:18)
    1|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-NewsFeedTicker/node_helper.js:9:16)
    1|mm       |     at Module._compile (internal/modules/cjs/loader.js:1078:30)
    1|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) {
    1|mm       |   code: 'MODULE_NOT_FOUND',
    1|mm       |   requireStack: [
    1|mm       |     '/home/pi/MagicMirror/modules/MMM-NewsFeedTicker/node_helper.js',
    1|mm       |     '/home/pi/MagicMirror/js/app.js',
    1|mm       |     '/home/pi/MagicMirror/js/electron.js',
    1|mm       |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
    1|mm       |     undefined
    1|mm       |   ]
    1|mm       | }
    1|mm       | [21.11.2021 18:39.29.157] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    1|mm       | [21.11.2021 18:39.29.158] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    
    /home/pi/.pm2/logs/mm-out.log last 15 lines:
    1|mm       | [21.11.2021 18:39.28.206] [LOG]   Loading module helpers ...
    1|mm       | [21.11.2021 18:39.28.209] [LOG]   No helper found for module: alert.
    1|mm       | [21.11.2021 18:39.28.210] [LOG]   No helper found for module: clock.
    1|mm       | [21.11.2021 18:39.28.907] [LOG]   Initializing new module helper ...
    1|mm       | [21.11.2021 18:39.28.908] [LOG]   Module helper loaded: MMM-NOAA3
    1|mm       | [21.11.2021 18:39.29.132] [LOG]   Initializing new module helper ...
    1|mm       | [21.11.2021 18:39.29.133] [LOG]   Module helper loaded: calendar
    1|mm       | [21.11.2021 18:39.29.139] [LOG]   Loading module helpers ...
    1|mm       | [21.11.2021 18:39.29.140] [LOG]   No helper found for module: alert.
    1|mm       | [21.11.2021 18:39.29.141] [LOG]   No helper found for module: clock.
    1|mm       | [21.11.2021 18:39.29.142] [LOG]   Initializing new module helper ...
    1|mm       | [21.11.2021 18:39.29.143] [LOG]   Module helper loaded: MMM-NOAA3
    1|mm       | [21.11.2021 18:39.29.143] [LOG]   Initializing new module helper ...
    1|mm       | [21.11.2021 18:39.29.144] [LOG]   Module helper loaded: calendar
    1|mm       | [21.11.2021 18:39.30.531] [LOG]   Launching application.
    
    
    S 1 Reply Last reply Nov 21, 2021, 8:20 PM Reply Quote 0
    • D Offline
      DJBOOB66
      last edited by Nov 21, 2021, 7:44 PM

      Read all Post the one by Mumblebaj i used.
      FIX

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @msulzer
        last edited by Nov 21, 2021, 8:20 PM

        @msulzer see
        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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