• 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.

Update v2.13.0 Black Screen

Scheduled Pinned Locked Moved General Discussion
10 Posts 2 Posters 1.2k Views 2 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.
  • W Offline
    wuermchen
    last edited by Nov 6, 2020, 6:43 PM

    hello,
    I updated MagicMirror. After that, the screen was black.
    The Log is:

    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    1|mm |
    1|mm | npm ERR! A complete log of this run can be found in:
    1|mm | npm ERR! /home/pi/.npm/_logs/2020-11-06T17_59_29_121Z-debug.log
    1|mm |
    1|mm | (electron:973): Gtk-WARNING **: 18:59:30.649: cannot open display: :10.0
    1|mm | npm ERR! code ELIFECYCLE
    1|mm | npm ERR! errno 1
    1|mm | npm ERR! magicmirror@2.13.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    1|mm | npm ERR! Exit status 1
    1|mm | npm ERR!
    1|mm | npm ERR! Failed at the magicmirror@2.13.0 start script.
    1|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    1|mm |
    1|mm | npm ERR! A complete log of this run can be found in:
    1|mm | npm ERR! /home/pi/.npm/_logs/2020-11-06T17_59_30_692Z-debug.log

    S 1 Reply Last reply Nov 6, 2020, 7:46 PM Reply Quote 0
    • S Offline
      sdetweil @wuermchen
      last edited by sdetweil Nov 7, 2020, 12:41 PM Nov 6, 2020, 7:46 PM

      @wuermchen u have to.load the graphical.os version right?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • W Offline
        wuermchen
        last edited by Nov 7, 2020, 12:06 PM

        @sdetweil said in Update v2.13.0 Black Screen:

        to.losd

        Yes!

        S 1 Reply Last reply Nov 7, 2020, 12:43 PM Reply Quote 0
        • S Offline
          sdetweil @wuermchen
          last edited by Nov 7, 2020, 12:43 PM

          @wuermchen
          cannot open display: :10.0

          that makes no sense

          can u change package.json to day DISPLAY:0.0

          mm is trying to run on the display attached to the pi

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • W Offline
            wuermchen
            last edited by Nov 7, 2020, 1:26 PM

            OK.
            I changed mm.sh .
            The error message “cannot open display: :10.0” is gone.
            The screen is still black!

            
            1|mm       | [2020-11-07 14:19:38.615] [LOG]    Connecting socket for: MMM-Sonos
            1|mm       | [2020-11-07 14:19:38.616] [LOG]    Sonos helper started ...
            1|mm       | [2020-11-07 14:19:38.616] [LOG]    Connecting socket for: MMM-DarkSkyForecast
            1|mm       | [2020-11-07 14:19:38.616] [LOG]    ====================== Starting node_helper for module [MMM-DarkSkyForecast]
            1|mm       | [2020-11-07 14:19:38.617] [LOG]    Connecting socket for: MMM-FRITZ-Box-Callmonitor
            1|mm       | [2020-11-07 14:19:38.617] [LOG]    Starting module: MMM-FRITZ-Box-Callmonitor
            1|mm       | [2020-11-07 14:19:38.618] [LOG]    Connecting socket for: calendar
            1|mm       | [2020-11-07 14:19:38.618] [LOG]    Starting node helper for: calendar
            1|mm       | [2020-11-07 14:19:38.619] [LOG]    Connecting socket for: MMM-iCloud-Client
            1|mm       | [2020-11-07 14:19:38.620] [LOG]    Starting helper: MMM-iCloud-Client
            1|mm       | [2020-11-07 14:19:38.620] [LOG]    loading Database
            1|mm       | [2020-11-07 14:19:38.621] [LOG]    Connecting socket for: newsfeed
            1|mm       | [2020-11-07 14:19:38.622] [LOG]    Starting node helper for: newsfeed
            1|mm       | [2020-11-07 14:19:38.622] [LOG]    Sockets connected & modules started ...
            1|mm       | [2020-11-07 14:19:38.712] [LOG]    Launching application.
            
            S 1 Reply Last reply Nov 7, 2020, 1:55 PM Reply Quote 0
            • S Offline
              sdetweil @wuermchen
              last edited by Nov 7, 2020, 1:55 PM

              @wuermchen ok. did u do
              npm install
              after the update?

              there were new dependencies

              also open the developers window, ctrl-shift-i, then select the tab labeled console, and scroll up to see any errors, usually red text

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • W Offline
                wuermchen
                last edited by Nov 7, 2020, 5:55 PM

                hello
                yes, I have git pull && npm install.

                the red text is:

                0.0.0.0/:5 Uncaught SyntaxError: Unexpected token / in JSON at position 79
                    at JSON.parse (<anonymous>)
                    at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
                
                S 1 Reply Last reply Nov 7, 2020, 7:28 PM Reply Quote 0
                • W Offline
                  wuermchen
                  last edited by Nov 7, 2020, 6:56 PM

                  24d071d2-a67b-431e-9c89-ea831d1fac89-grafik.png

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @wuermchen
                    last edited by sdetweil Nov 7, 2020, 7:29 PM Nov 7, 2020, 7:28 PM

                    @wuermchen ok, see the instructions for fix at the top.of the troubleshooting section

                    https://forum.magicmirror.builders/topic/13774/2-13-back-screen-translation-file-error-fix

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wuermchen
                      last edited by Nov 10, 2020, 10:00 AM

                      :grinning_face: :thumbs_up:
                      Many thanks.
                      I’m so happy

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