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.

    Black screen after 2.13 update - tentatively resolved

    Scheduled Pinned Locked Moved Troubleshooting
    53 Posts 9 Posters 20.4k Views 9 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.
    • C Offline
      carlywarly
      last edited by

      Same here, no messages, just black screen.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @carlywarly
        last edited by sdetweil

        @carlywarly @requiemmg in the window where u start MM… either npm start or pm2
        if pm2, use pm2 logs --lines=???
        where ??? is a number 15 is the default.

        or open the developers window,

        ctrl-shift-i, select the console tab and scroll up

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          requiemmg
          last edited by

          pm2 logs --lines=20 throws an error (unknown option)

          SO I did a npm start and copied both npm start output and the console window output. Here it is:

          npm start log:

          pi@SmartMirror2:~/MagicMirror $ npm start
          
          > magicmirror@2.13.0 start /home/pi/MagicMirror
          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
          
          [2020-10-01 19:30:24.700] [LOG]    Starting MagicMirror: v2.13.0
          [2020-10-01 19:30:24.712] [LOG]    Loading config ...
          [2020-10-01 19:30:24.730] [LOG]    Loading module helpers ...
          [2020-10-01 19:30:24.734] [LOG]    No helper found for module: MMM-pages.
          [2020-10-01 19:30:24.736] [LOG]    No helper found for module: alert.
          [2020-10-01 19:30:24.745] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:24.747] [LOG]    Module helper loaded: mmpm
          [2020-10-01 19:30:24.843] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:24.844] [LOG]    Module helper loaded: updatenotification
          [2020-10-01 19:30:25.437] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:25.438] [LOG]    Module helper loaded: newsfeed
          [2020-10-01 19:30:25.439] [LOG]    No helper found for module: MMM-page-indicator.
          [2020-10-01 19:30:25.440] [LOG]    No helper found for module: clock.
          [2020-10-01 19:30:25.441] [LOG]    No helper found for module: MMM-Callmonitor-Current-Call.
          [2020-10-01 19:30:26.288] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:26.289] [LOG]    Module helper loaded: MMM-Spotify
          [2020-10-01 19:30:26.451] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:26.452] [LOG]    Module helper loaded: calendar
          [2020-10-01 19:30:26.999] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:27.000] [LOG]    Module helper loaded: MMM-MyCommute
          [2020-10-01 19:30:27.002] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:27.003] [LOG]    Module helper loaded: MMM-Vrr
          [2020-10-01 19:30:27.566] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:27.567] [LOG]    Module helper loaded: MMM-AVStock
          [2020-10-01 19:30:27.574] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:27.575] [LOG]    Module helper loaded: MMM-News
          [2020-10-01 19:30:28.174] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:28.175] [LOG]    Module helper loaded: MMM-MovieListings
          [2020-10-01 19:30:28.176] [LOG]    No helper found for module: MMM-PlexNowPlaying.
          [2020-10-01 19:30:28.187] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:28.188] [LOG]    Module helper loaded: MMM-teamspeak3
          [2020-10-01 19:30:28.525] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:28.526] [LOG]    Module helper loaded: MMM-FRITZ-Box-Callmonitor
          [2020-10-01 19:30:29.077] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:29.078] [LOG]    Module helper loaded: MMM-DWD-WarnWeather
          [2020-10-01 19:30:29.203] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:29.204] [LOG]    Module helper loaded: MMM-Fuel
          [2020-10-01 19:30:29.205] [LOG]    No helper found for module: MMM-WeatherOrNot.
          [2020-10-01 19:30:29.290] [LOG]    Initializing new module helper ...
          [2020-10-01 19:30:29.291] [LOG]    Module helper loaded: MMM-Bring
          [2020-10-01 19:30:29.291] [LOG]    All module helpers loaded.
          [2020-10-01 19:30:29.471] [LOG]    Starting server on port 8080 ... 
          [2020-10-01 19:30:29.475] [INFO]   You're using a full whitelist configuration to allow for all IPs
          [2020-10-01 19:30:29.485] [LOG]    Server started ...
          [2020-10-01 19:30:29.487] [LOG]    Connecting socket for: mmpm
          [2020-10-01 19:30:29.488] [LOG]    Starting module helper: mmpm
          [2020-10-01 19:30:29.490] [LOG]    Connecting socket for: updatenotification
          [2020-10-01 19:30:29.491] [LOG]    Connecting socket for: newsfeed
          [2020-10-01 19:30:29.492] [LOG]    Starting node helper for: newsfeed
          [2020-10-01 19:30:29.493] [LOG]    Connecting socket for: MMM-Spotify
          [2020-10-01 19:30:29.494] [LOG]    Connecting socket for: calendar
          [2020-10-01 19:30:29.495] [LOG]    Starting node helper for: calendar
          [2020-10-01 19:30:29.496] [LOG]    Connecting socket for: MMM-MyCommute
          [2020-10-01 19:30:29.497] [LOG]    ====================== Starting node_helper for module [MMM-MyCommute]
          [2020-10-01 19:30:29.498] [LOG]    Connecting socket for: MMM-Vrr
          [2020-10-01 19:30:29.499] [LOG]    Starting module helper: MMM-Vrr
          [2020-10-01 19:30:29.500] [LOG]    Connecting socket for: MMM-AVStock
          [2020-10-01 19:30:29.501] [LOG]    Connecting socket for: MMM-News
          [2020-10-01 19:30:29.502] [LOG]    Connecting socket for: MMM-MovieListings
          [2020-10-01 19:30:29.503] [LOG]    MMM-MovieListing helper started...
          [2020-10-01 19:30:29.504] [LOG]    Connecting socket for: MMM-teamspeak3
          [2020-10-01 19:30:29.505] [LOG]    Connecting socket for: MMM-FRITZ-Box-Callmonitor
          [2020-10-01 19:30:29.506] [LOG]    Starting module: MMM-FRITZ-Box-Callmonitor
          [2020-10-01 19:30:29.507] [LOG]    Connecting socket for: MMM-DWD-WarnWeather
          [2020-10-01 19:30:29.508] [LOG]    MMM-DWD-WarnWeather helper started...
          [2020-10-01 19:30:29.508] [LOG]    Connecting socket for: MMM-Fuel
          [2020-10-01 19:30:29.509] [LOG]    Starting module helper: MMM-Fuel
          [2020-10-01 19:30:29.510] [LOG]    Connecting socket for: MMM-Bring
          [2020-10-01 19:30:29.511] [LOG]    Sockets connected & modules started ...
          [2020-10-01 19:30:29.656] [LOG]    Launching application.
          [2020-10-01 19:32:30.032] [LOG]    Shutting down server...
          [2020-10-01 19:32:30.034] [LOG]    Stopping module helper: mmpm
          [2020-10-01 19:32:30.035] [LOG]    Stopping module helper: updatenotification
          [2020-10-01 19:32:30.036] [LOG]    Stopping module helper: newsfeed
          [2020-10-01 19:32:30.036] [LOG]    Stopping module helper: MMM-Spotify
          [2020-10-01 19:32:30.037] [LOG]    Stopping module helper: calendar
          [2020-10-01 19:32:30.037] [LOG]    Stopping module helper: MMM-MyCommute
          [2020-10-01 19:32:30.038] [LOG]    Stopping module helper: MMM-Vrr
          [2020-10-01 19:32:30.038] [LOG]    Stopping module helper: MMM-AVStock
          [2020-10-01 19:32:30.039] [LOG]    Stopping module helper: MMM-News
          [2020-10-01 19:32:30.040] [LOG]    Stopping module helper: MMM-MovieListings
          [2020-10-01 19:32:30.040] [LOG]    Stopping module helper: MMM-teamspeak3
          [2020-10-01 19:32:30.041] [LOG]    Stopping module helper: MMM-FRITZ-Box-Callmonitor
          [2020-10-01 19:32:30.041] [LOG]    Stopping module helper: MMM-DWD-WarnWeather
          [2020-10-01 19:32:30.042] [LOG]    Stopping module helper: MMM-Fuel
          [2020-10-01 19:32:30.042] [LOG]    Stopping module helper: MMM-Bring
          
          

          Console output

          main.js:487 Initializing MagicMirror.
          translator.js:129 Loading core translation file: translations/de.json
          translator.js:154 Loading core translation fallback file: translations/en.json
          loader.js:176 Load script: modules/MMM-pages//MMM-pages.js
          module.js:513 Module registered: MMM-pages
          loader.js:148 Bootstrapping module: MMM-pages
          loader.js:153 Scripts loaded for: MMM-pages
          loader.js:195 Load stylesheet: modules/MMM-pages/pages.css
          loader.js:155 Styles loaded for: MMM-pages
          loader.js:157 Translations loaded for: MMM-pages
          loader.js:176 Load script: modules/default/alert//alert.js
          module.js:513 Module registered: alert
          loader.js:148 Bootstrapping module: alert
          loader.js:176 Load script: modules/default/alert/notificationFx.js
          loader.js:153 Scripts loaded for: alert
          loader.js:195 Load stylesheet: modules/default/alert/notificationFx.css
          loader.js:195 Load stylesheet: vendor/css/font-awesome.css
          loader.js:155 Styles loaded for: alert
          translator.js:100 alert - Load translation: translations/de.json
          /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
            protocols.This exposes users of this app to unnecessary security risks.
            Consider loading the following resources over HTTPS or FTPS. 
           - http://0.0.0.0:8080/css/main.css
          - http://0.0.0.0:8080/fonts/roboto.css
          - http://0.0.0.0:8080/socket.io/socket.io.js
          - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
          - http://0.0.0.0:8080/js/defaults.js
          - http://0.0.0.0:8080/config/config.js
          - http://0.0.0.0:8080/vendor/vendor.js
          - http://0.0.0.0:8080/modules/default/defaultmodules.js
          - http://0.0.0.0:8080/js/logger.js
          - http://0.0.0.0:8080/translations/translations.js
          - http://0.0.0.0:8080/js/translator.js
          - http://0.0.0.0:8080/js/class.js
          - http://0.0.0.0:8080/js/module.js
          - http://0.0.0.0:8080/js/loader.js
          - http://0.0.0.0:8080/js/socketclient.js
          - http://0.0.0.0:8080/js/main.js
          - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
          - http://0.0.0.0:8080/translations/de.json
          - http://0.0.0.0:8080/translations/en.json
          - http://0.0.0.0:8080/modules/MMM-pages//MMM-pages.js
          - http://0.0.0.0:8080/modules/MMM-pages/pages.css
          - http://0.0.0.0:8080/modules/default/alert//alert.js
          - http://0.0.0.0:8080/modules/default/alert/notificationFx.js
          - http://0.0.0.0:8080/modules/default/alert/notificationFx.css
          - http://0.0.0.0:8080/vendor/css/font-awesome.css
          - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
          - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
            
           
          For more information and help, consult
          https://electronjs.org/docs/tutorial/security.
           This warning will not show up
          once the app is packaged.
          warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95
          /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
              Policy set or a policy with "unsafe-eval" enabled. This exposes users of
              this app to unnecessary security risks.
           
          For more information and help, consult
          https://electronjs.org/docs/tutorial/security.
           This warning will not show up
          once the app is packaged.
          (anonymous) @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145
          translator.js:102 alert - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: alert
          loader.js:176 Load script: modules/mmpm//mmpm.js
          module.js:513 Module registered: mmpm
          loader.js:148 Bootstrapping module: mmpm
          loader.js:153 Scripts loaded for: mmpm
          loader.js:155 Styles loaded for: mmpm
          loader.js:157 Translations loaded for: mmpm
          loader.js:176 Load script: modules/default/updatenotification//updatenotification.js
          module.js:513 Module registered: updatenotification
          loader.js:148 Bootstrapping module: updatenotification
          loader.js:153 Scripts loaded for: updatenotification
          loader.js:155 Styles loaded for: updatenotification
          loader.js:157 Translations loaded for: updatenotification
          loader.js:176 Load script: modules/default/newsfeed//newsfeed.js
          module.js:513 Module registered: newsfeed
          loader.js:148 Bootstrapping module: newsfeed
          loader.js:176 Load script: vendor/node_modules/moment/min/moment-with-locales.js
          loader.js:153 Scripts loaded for: newsfeed
          loader.js:155 Styles loaded for: newsfeed
          loader.js:157 Translations loaded for: newsfeed
          loader.js:176 Load script: modules/MMM-page-indicator//MMM-page-indicator.js
          module.js:513 Module registered: MMM-page-indicator
          loader.js:148 Bootstrapping module: MMM-page-indicator
          loader.js:153 Scripts loaded for: MMM-page-indicator
          loader.js:236 File already loaded: font-awesome.css
          loader.js:195 Load stylesheet: modules/MMM-page-indicator/page-indicators.css
          loader.js:155 Styles loaded for: MMM-page-indicator
          loader.js:157 Translations loaded for: MMM-page-indicator
          loader.js:176 Load script: modules/default/clock//clock.js
          module.js:513 Module registered: clock
          loader.js:148 Bootstrapping module: clock
          loader.js:236 File already loaded: moment.js
          loader.js:176 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
          loader.js:176 Load script: vendor/node_modules/suncalc/suncalc.js
          loader.js:153 Scripts loaded for: clock
          loader.js:195 Load stylesheet: modules/default/clock/clock_styles.css
          loader.js:155 Styles loaded for: clock
          loader.js:157 Translations loaded for: clock
          loader.js:176 Load script: modules/MMM-Callmonitor-Current-Call//MMM-Callmonitor-Current-Call.js
          module.js:513 Module registered: MMM-Callmonitor-Current-Call
          loader.js:148 Bootstrapping module: MMM-Callmonitor-Current-Call
          loader.js:236 File already loaded: moment.js
          loader.js:153 Scripts loaded for: MMM-Callmonitor-Current-Call
          loader.js:155 Styles loaded for: MMM-Callmonitor-Current-Call
          translator.js:100 MMM-Callmonitor-Current-Call - Load translation: translations/de.json
          translator.js:102 MMM-Callmonitor-Current-Call - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: MMM-Callmonitor-Current-Call
          loader.js:176 Load script: modules/MMM-Spotify//MMM-Spotify.js
          module.js:513 Module registered: MMM-Spotify
          loader.js:148 Bootstrapping module: MMM-Spotify
          loader.js:195 Load stylesheet: https://cdn.materialdesignicons.com/5.2.45/css/materialdesignicons.min.css
          loader.js:176 Load script: https://code.iconify.design/1/1.0.6/iconify.min.js
          loader.js:153 Scripts loaded for: MMM-Spotify
          loader.js:195 Load stylesheet: modules/MMM-Spotify/MMM-Spotify.css
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: MMM-Spotify
          loader.js:157 Translations loaded for: MMM-Spotify
          loader.js:176 Load script: modules/default/calendar//calendar.js
          module.js:513 Module registered: calendar
          loader.js:148 Bootstrapping module: calendar
          loader.js:236 File already loaded: moment.js
          loader.js:153 Scripts loaded for: calendar
          loader.js:195 Load stylesheet: modules/default/calendar/calendar.css
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: calendar
          loader.js:157 Translations loaded for: calendar
          loader.js:176 Load script: modules/MMM-MyCommute//MMM-MyCommute.js
          module.js:513 Module registered: MMM-MyCommute
          loader.js:148 Bootstrapping module: MMM-MyCommute
          loader.js:236 File already loaded: moment.js
          loader.js:176 Load script: modules/MMM-MyCommute/node_modules/moment-duration-format/lib/moment-duration-format.js
          loader.js:153 Scripts loaded for: MMM-MyCommute
          loader.js:195 Load stylesheet: modules/MMM-MyCommute/MMM-MyCommute.css
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: MMM-MyCommute
          translator.js:102 MMM-MyCommute - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: MMM-MyCommute
          loader.js:176 Load script: modules/MMM-Vrr//MMM-Vrr.js
          module.js:505 Check MagicMirror version for module 'MMM-Vrr' - Minimum version:  2.1.0 - Current version: 2.13.0
          module.js:507 Version is ok!
          module.js:513 Module registered: MMM-Vrr
          loader.js:148 Bootstrapping module: MMM-Vrr
          loader.js:236 File already loaded: moment.js
          loader.js:153 Scripts loaded for: MMM-Vrr
          loader.js:195 Load stylesheet: modules/MMM-Vrr/MMM-Vrr.css
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: MMM-Vrr
          translator.js:100 MMM-Vrr - Load translation: translations/de.json
          translator.js:102 MMM-Vrr - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: MMM-Vrr
          loader.js:148 Bootstrapping module: MMM-Vrr
          loader.js:236 File already loaded: moment.js
          loader.js:153 Scripts loaded for: MMM-Vrr
          loader.js:236 File already loaded: MMM-Vrr.css
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: MMM-Vrr
          translator.js:100 MMM-Vrr - Load translation: translations/de.json
          translator.js:102 MMM-Vrr - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: MMM-Vrr
          loader.js:176 Load script: modules/MMM-AVStock//MMM-AVStock.js
          module.js:513 Module registered: MMM-AVStock
          loader.js:148 Bootstrapping module: MMM-AVStock
          loader.js:176 Load script: modules/MMM-AVStock/node_modules/highcharts/highstock.js
          loader.js:176 Load script: modules/MMM-AVStock/node_modules/highcharts/modules/no-data-to-display.js
          loader.js:153 Scripts loaded for: MMM-AVStock
          loader.js:195 Load stylesheet: modules/MMM-AVStock/MMM-AVStock.css
          loader.js:155 Styles loaded for: MMM-AVStock
          loader.js:157 Translations loaded for: MMM-AVStock
          loader.js:176 Load script: modules/MMM-News//MMM-News.js
          module.js:513 Module registered: MMM-News
          loader.js:148 Bootstrapping module: MMM-News
          loader.js:153 Scripts loaded for: MMM-News
          loader.js:195 Load stylesheet: modules/MMM-News/MMM-News.css
          loader.js:155 Styles loaded for: MMM-News
          loader.js:157 Translations loaded for: MMM-News
          loader.js:176 Load script: modules/MMM-MovieListings//MMM-MovieListings.js
          module.js:513 Module registered: MMM-MovieListings
          loader.js:148 Bootstrapping module: MMM-MovieListings
          loader.js:153 Scripts loaded for: MMM-MovieListings
          loader.js:195 Load stylesheet: modules/MMM-MovieListings/MMM-MovieListings.css
          loader.js:155 Styles loaded for: MMM-MovieListings
          translator.js:100 MMM-MovieListings - Load translation: translations/de.json
          translator.js:102 MMM-MovieListings - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: MMM-MovieListings
          loader.js:176 Load script: modules/MMM-PlexNowPlaying//MMM-PlexNowPlaying.js
          module.js:505 Check MagicMirror version for module 'MMM-PlexNowPlaying' - Minimum version:  2.2.1 - Current version: 2.13.0
          module.js:507 Version is ok!
          module.js:513 Module registered: MMM-PlexNowPlaying
          loader.js:148 Bootstrapping module: MMM-PlexNowPlaying
          loader.js:176 Load script: modules/MMM-PlexNowPlaying/scripts/axis.js
          loader.js:153 Scripts loaded for: MMM-PlexNowPlaying
          loader.js:195 Load stylesheet: modules/MMM-PlexNowPlaying/MMM-PlexNowPlaying.css
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: MMM-PlexNowPlaying
          translator.js:102 MMM-PlexNowPlaying - Load translation fallback: translations/en.json
          loader.js:157 Translations loaded for: MMM-PlexNowPlaying
          loader.js:176 Load script: modules/MMM-teamspeak3//MMM-teamspeak3.js
          module.js:513 Module registered: MMM-teamspeak3
          loader.js:148 Bootstrapping module: MMM-teamspeak3
          loader.js:153 Scripts loaded for: MMM-teamspeak3
          loader.js:236 File already loaded: font-awesome.css
          loader.js:155 Styles loaded for: MMM-teamspeak3
          loader.js:157 Translations loaded for: MMM-teamspeak3
          loader.js:176 Load script: modules/MMM-FRITZ-Box-Callmonitor//MMM-FRITZ-Box-Callmonitor.js
          module.js:505 Check MagicMirror version for module 'MMM-FRITZ-Box-Callmonitor' - Minimum version:  2.0.0 - Current version: 2.13.0
          module.js:507 Version is ok!
          module.js:513 Module registered: MMM-FRITZ-Box-Callmonitor
          loader.js:148 Bootstrapping module: MMM-FRITZ-Box-Callmonitor
          loader.js:236 File already loaded: moment.js
          loader.js:153 Scripts loaded for: MMM-FRITZ-Box-Callmonitor
          loader.js:236 File already loaded: font-awesome.css
          loader.js:195 Load stylesheet: modules/MMM-FRITZ-Box-Callmonitor/MMM-FRITZ-Box-Callmonitor.css
          loader.js:155 Styles loaded for: MMM-FRITZ-Box-Callmonitor
          translator.js:100 MMM-FRITZ-Box-Callmonitor - Load translation: translations/de.json
          (index):5 Uncaught SyntaxError: Unexpected token / in JSON at position 79
              at JSON.parse (<anonymous>)
              at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
          

          Commands where executed from a console on the pi desktop, not via ssh (unlike before).

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @requiemmg
            last edited by

            @requiemmg said in Black screen after 2.13 update:

            translator.js:100 MMM-FRITZ-Box-Callmonitor - Load translation: translations/de.json

            see this issue https://github.com/MichMich/MagicMirror/issues/2144

            there is a bug in the fritzbox language files

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              requiemmg
              last edited by

              Great, this fixed it. Thanks a lot!

              1 Reply Last reply Reply Quote 0
              • C Offline
                carlywarly
                last edited by

                @sdetweil said in Black screen after 2.13 update:

                history of commands…

                525 cd ./MagicMirror
                526 git pull
                527 sudo reboot

                << black screen >>

                528 sudo apt update
                529 sudo apt upgrade
                530 sudo reboot
                531 cd /MagicMirror
                532 cd node_modules/
                533 ls
                534 sudo rm -r electron
                535 cd …
                536 npm install
                537 pm2 logs --lines=100
                540 sudo reboot

                << black screen >>

                541 ifconfig
                542 sudo reboot
                543 history

                Working again…??? I think it my pi possibly had a problem talking to the internet… maybe the reboot gods strike again???

                BTW thx for the quick reply :)

                CarlyWarly

                S M 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @carlywarly
                  last edited by

                  @carlywarly cool, glad its working… but… sure would have been nice to see the error messages… shouldn’t black screen for a network problem…

                  but that usually means a module didn’t handle network failure and crashed and UI died

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    m0bed @carlywarly
                    last edited by

                    @carlywarly thank you for your help. I tried all of the mentions commands bot still having a black screen.

                    on "pm2 logs --lines=100 i get this error message.

                    0|MagicMir | npm ERR! Linux 4.19.66-v7+
                    0|MagicMir | npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
                    0|MagicMir | npm ERR! node v6.14.1
                    0|MagicMir | npm ERR! npm  v3.10.10
                    0|MagicMir | npm ERR! code ELIFECYCLE
                    0|MagicMir | npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                    0|MagicMir | npm ERR! Exit status 1
                    0|MagicMir | npm ERR!
                    0|MagicMir | npm ERR! Failed at the magicmirror@2.13.0 start script 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js'.
                    0|MagicMir | npm ERR! Make sure you have the latest version of node.js and npm installed.
                    0|MagicMir | npm ERR! If you do, this is most likely a problem with the magicmirror package,
                    0|MagicMir | npm ERR! not with npm itself.
                    0|MagicMir | npm ERR! Tell the author that this fails on your system:
                    0|MagicMir | npm ERR!     DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    0|MagicMir | npm ERR! You can get information on how to open an issue for this project with:
                    0|MagicMir | npm ERR!     npm bugs magicmirror
                    0|MagicMir | npm ERR! Or if that isn't available, you can get their info via:
                    0|MagicMir | npm ERR!     npm owner ls magicmirror
                    0|MagicMir | npm ERR! There is likely additional logging output above.
                    0|MagicMir |
                    0|MagicMir | npm ERR! Please include the following file with any support request:
                    0|MagicMir | npm ERR!     /home/pi/MagicMirror/npm-debug.log
                    0|MagicMir | Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
                    0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
                    
                    

                    Also after running “npm install” I get this messages:

                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN acorn-jsx@5.3.1 requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none was installed.
                    npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none was installed.
                    npm WARN grunt-stylelint@0.9.0 requires a peer of stylelint@^8.0.0 but none was installed.
                    npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none was installed.
                    npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none was installed.
                    

                    After a reboot the desktop starts, also some programm starts turning screen first white for 2 seconds then it turns black.

                    What can I do?

                    Daniel

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      m0bed @m0bed
                      last edited by

                      @m0bed So, I changed my config found out that this modules dont work at the moment:
                      MMM-Homematic-Heaters
                      MMM-FRITZ-Box-Callmonitor
                      On the callmonitor I tried this help topic, but not working.
                      https://github.com/MichMich/MagicMirror/issues/2144

                      After deleting this two moduls form the config, every thing works fine, but still getting the messages from npm install.

                      Daniel

                      S spitzlbergerjS 2 Replies Last reply Reply Quote 0
                      • R Offline
                        retroflex Project Sponsor Module Developer
                        last edited by

                        Found one more in module MMM-Vasttrafik-PublicTransport. I have created an issue for that:

                        https://github.com/bureus/MMM-Vasttrafik-PublicTransport/issues/14

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          Klinge
                          last edited by Klinge

                          Found one more module too. In my case a black screen appears through the standard calendar module.

                          my config is

                                          {
                                                  module: "calendar",
                                                  header: "Termine",
                                                  position: "top_left",
                                                  config: {
                                                          timeFormat: 'absolute',
                                                          maximumEntries: 10,
                                                          dateFormat: 'ddd DD MMM HH:mm',
                                                          fullDayEventDateFormat: 'ddd DD MMM',
                                                          showEnd: false,
                                                          urgency: 0,
                                                          getRelative: 0,
                                                          calendars: [
                                                                  {
                                                                          symbol: "calendar-check",
                                                                          url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXXXX/basic.ics"
                                                                  },
                                                                  {
                                                                          url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXX/basic.ics"
                                                                  }
                                                          ]
                                                  }
                                          },
                          
                          

                          How can I create an issue for that?

                          Or is there a problem in my config?

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Klinge
                            last edited by

                            @Klinge black screen

                            look in two places,
                            the window where you start mm,
                            using npm start
                            or
                            pm2
                            if pm2 use the command
                            pm2 logs --lines=???
                            ??? is a number, default is 15

                            also look in the developers window
                            ctrl-shift-i and select the console tab and scroll up to see any errors

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @m0bed
                              last edited by

                              @m0bed did u run npm install in all the module folders which have a package.json file?

                              next time, use my upgrade script
                              see here
                              https://github.com/sdetweil/MagicMirror_scripts

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                Klinge
                                last edited by

                                @sdetweil said in Black screen after 2.13 update - tentatively resolved:

                                pm2 logs --lines=???

                                When I run the pm2 logs, I got the following logs

                                0|mm     | [2020-10-02 14:32:00.841] [LOG]    Module helper loaded: updatenotification
                                0|mm     | [2020-10-02 14:32:00.843] [LOG]    No helper found for module: clock.
                                0|mm     | [2020-10-02 14:32:01.602] [LOG]
                                0|mm     | Initializing new module helper ...
                                0|mm     | [2020-10-02 14:32:01.604] [LOG]    Module helper loaded: MMM-DarkSkyForecast
                                0|mm     | [2020-10-02 14:32:01.620] [ERROR]
                                0|mm     | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-ical'
                                0|mm     | Require stack:
                                0|mm     | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
                                0|mm     | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js
                                0|mm     | - /home/pi/MagicMirror/js/app.js
                                0|mm     | - /home/pi/MagicMirror/js/electron.js
                                0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                                0|mm     | -
                                0|mm     | [2020-10-02 14:32:01.621] [LOG]    Loading module helpers ...
                                0|mm     | [2020-10-02 14:32:01.623] [LOG]    No helper found for module: alert.
                                0|mm     | [2020-10-02 14:32:01.627] [LOG]    Initializing new module helper ...
                                0|mm     | [2020-10-02 14:32:01.629] [LOG]    Module helper loaded: updatenotification
                                0|mm     | [2020-10-02 14:32:01.633] [LOG]    No helper found for module: clock.
                                0|mm     | [2020-10-02 14:32:01.637] [LOG]    Initializing new module helper ...
                                0|mm     | [2020-10-02 14:32:01.640] [LOG]    Module helper loaded: MMM-DarkSkyForecast
                                0|mm     | [2020-10-02 14:32:01.649] [ERROR]
                                0|mm     | App threw an error during load
                                0|mm     | [2020-10-02 14:32:01.651] [ERROR]  Error: Cannot find module 'node-ical'
                                0|mm     | Require stack:
                                0|mm     | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
                                0|mm     | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js
                                0|mm     | - /home/pi/MagicMirror/js/app.js
                                0|mm     | - /home/pi/MagicMirror/js/electron.js
                                0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                                0|mm     | -
                                0|mm     |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                                0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                                0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                0|mm     |     at Module.require (internal/modules/cjs/loader.js:685:19)
                                0|mm     |     at require (internal/modules/cjs/helpers.js:16:16)
                                0|mm     |     at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14)
                                0|mm     |     at Module._compile (internal/modules/cjs/loader.js:786:30)
                                0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                0|mm     |     at Module.load (internal/modules/cjs/loader.js:645:32)
                                0|mm     | [2020-10-02 14:32:01.654] [ERROR]  Whoops! There was an uncaught exception...
                                0|mm     | [2020-10-02 14:32:01.655] [ERROR]
                                0|mm     | Error: Cannot find module 'node-ical'
                                0|mm     | Require stack:
                                0|mm     | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
                                0|mm     | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js
                                0|mm     | - /home/pi/MagicMirror/js/app.js
                                0|mm     | - /home/pi/MagicMirror/js/electron.js
                                0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                                0|mm     | -
                                0|mm     |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                                0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                                0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                0|mm     |     at Module.require (internal/modules/cjs/loader.js:685:19)
                                0|mm     |     at require (internal/modules/cjs/helpers.js:16:16)
                                0|mm     |     at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14)
                                0|mm     |     at Module._compile (internal/modules/cjs/loader.js:786:30)
                                0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                0|mm     |     at Module.load (internal/modules/cjs/loader.js:645:32) {
                                0|mm     |   code: 'MODULE_NOT_FOUND',
                                0|mm     |   requireStack: [
                                0|mm     |     '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js',
                                0|mm     |     '/home/pi/MagicMirror/modules/default/calendar/node_helper.js',
                                0|mm     |     '/home/pi/MagicMirror/js/app.js',
                                0|mm     |     '/home/pi/MagicMirror/js/electron.js',
                                0|mm     |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
                                0|mm     |     undefined
                                0|mm     |   ]
                                0|mm     | }
                                0|mm     | [2020-10-02 14:32:01.682] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                                0|mm     | [2020-10-02 14:32:01.683] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                                0|mm     | [2020-10-02 14:32:01.845] [LOG]
                                0|mm     | Launching application.
                                
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @Klinge
                                  last edited by sdetweil

                                  @Klinge looks like u did not run
                                  npm install
                                  after the git pull

                                  darksky looks like it will need one too

                                  or use the upgrade script with force at the end, instead of apply
                                  see here
                                  https://github.com/sdetweil/MagicMirror_scripts

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  K 1 Reply Last reply Reply Quote 0
                                  • swvalentiS Offline
                                    swvalenti Project Sponsor
                                    last edited by

                                    Sam,

                                    Used your scrips on 3 updates with no issue except for one install. Getting black screen and ran the logs showing calendar error?

                                    /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
                                    0|MagicMir |   syscall: 'read'
                                    0|MagicMir | }
                                    0|MagicMir | [2020-09-29 00:11:23.035] [ERROR]  Calendar Error. Could not fetch calendar:  http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics Error: connect ETIMEDOUT 69.16.220.190:80
                                    0|MagicMir |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14) {
                                    0|MagicMir |   errno: 'ETIMEDOUT',
                                    0|MagicMir |   code: 'ETIMEDOUT',
                                    0|MagicMir |   syscall: 'connect',
                                    0|MagicMir |   address: '69.16.220.190',
                                    0|MagicMir |   port: 80
                                    0|MagicMir | }
                                    0|MagicMir | [25300:0930/035804.824753:FATAL:memory.cc(22)] Out of memory. size=262144
                                    0|MagicMir | [12409:1001/033404.599579:FATAL:memory.cc(22)] Out of memory. size=262144
                                    0|MagicMir | [14477:1001/034403.637658:FATAL:memory.cc(22)] Out of memory. size=262144
                                    0|MagicMir | [14677:1001/034505.102662:FATAL:memory.cc(22)] Out of memory. size=262144
                                    0|MagicMir | [1436:1002/084636.370183:FATAL:memory.cc(22)] Out of memory. size=262144
                                    
                                    /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
                                    0|MagicMir | [2020-10-02 08:53:45.855] [LOG]    No helper found for module: MMM-EyeCandy.
                                    0|MagicMir | [2020-10-02 08:53:45.856] [LOG]    No helper found for module: on-this-day.
                                    0|MagicMir | [2020-10-02 08:53:45.856] [LOG]    All module helpers loaded.
                                    0|MagicMir | [2020-10-02 08:53:46.035] [LOG]    Starting server on port 8080 ...
                                    0|MagicMir | [2020-10-02 08:53:46.044] [INFO]   You're using a full whitelist configuration to allow for all IPs
                                    0|MagicMir | [2020-10-02 08:53:46.053] [LOG]    Server started ...
                                    0|MagicMir | [2020-10-02 08:53:46.054] [LOG]    Connecting socket for: updatenotification
                                    0|MagicMir | [2020-10-02 08:53:46.056] [LOG]    Connecting socket for: calendar
                                    0|MagicMir | [2020-10-02 08:53:46.057] [LOG]    Starting node helper for: calendar
                                    0|MagicMir | [2020-10-02 08:53:46.058] [LOG]    Connecting socket for: MMM-EARTH
                                    0|MagicMir | [2020-10-02 08:53:46.059] [LOG]    Starting module: MMM-EARTH
                                    0|MagicMir | [2020-10-02 08:53:46.060] [LOG]    Connecting socket for: MMM-DarkSkyForecast
                                    0|MagicMir | [2020-10-02 08:53:46.061] [LOG]    ====================== Starting node_helper for module [MMM-DarkSkyForecast]
                                    0|MagicMir | [2020-10-02 08:53:46.062] [LOG]    Sockets connected & modules started ...
                                    0|MagicMir | [2020-10-02 08:53:46.177] [LOG]    Launching application.
                                    
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @swvalenti
                                      last edited by sdetweil

                                      @swvalenti hm… connection timeout

                                      it should handle that for sure.
                                      I will look at the code in a while

                                      that url worked here just now

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • swvalentiS Offline
                                        swvalenti Project Sponsor
                                        last edited by

                                        Hmm weird, two other updates went fine and this one only has the error shown giving black screen. Ran script again too and didn’t do anything. Restarted pi and nothing still error and black screen.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @swvalenti
                                          last edited by

                                          @swvalenti that calendar problem is from Sept 29. so not relevant now

                                          can u open the dev window, see the instructions a few messages back

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            Klinge @sdetweil
                                            last edited by

                                            @sdetweil you are right. After an npm install it works. But I don´t understand it. Because, I run an update script with git pull && npm install in the MagicMirror Folder.

                                            Whtatever, after the npm install it works. Is it running now because the electron was rebuilt?

                                            Thank you for your help.

                                            S 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              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