Read the statement by Michael Teeuw here.
Black screen after 2.13 update - tentatively resolved
-
Hi,
after updating both of my MM installations (raspi 3B+ on Raspian Buster) with git pull && npm install, I only get a black screen.
I went into every modules directory and also did a npm install there, still the same.This is the MagicMirror-out.log
> magicmirror@2.13.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-10-01 17:24:12.728] [LOG] Starting MagicMirror: v2.13.0 [2020-10-01 17:24:12.765] [LOG] Loading config ... [2020-10-01 17:24:12.785] [LOG] Loading module helpers ... [2020-10-01 17:24:12.790] [LOG] No helper found for module: MMM-pages. [2020-10-01 17:24:12.792] [LOG] No helper found for module: alert. [2020-10-01 17:24:12.810] [LOG] Initializing new module helper ... [2020-10-01 17:24:12.812] [LOG] Module helper loaded: mmpm [2020-10-01 17:24:12.954] [LOG] Initializing new module helper ... [2020-10-01 17:24:12.955] [LOG] Module helper loaded: updatenotification [2020-10-01 17:24:13.936] [LOG] Initializing new module helper ... [2020-10-01 17:24:13.939] [LOG] Module helper loaded: newsfeed [2020-10-01 17:24:13.945] [LOG] No helper found for module: MMM-page-indicator. [2020-10-01 17:24:13.947] [LOG] No helper found for module: clock. [2020-10-01 17:24:13.962] [LOG] No helper found for module: MMM-Callmonitor-Current-Call. [2020-10-01 17:24:15.487] [LOG] Initializing new module helper ... [2020-10-01 17:24:15.488] [LOG] Module helper loaded: MMM-Spotify [2020-10-01 17:24:15.698] [LOG] Initializing new module helper ... [2020-10-01 17:24:15.701] [LOG] Module helper loaded: calendar [2020-10-01 17:24:16.895] [LOG] Initializing new module helper ... [2020-10-01 17:24:16.897] [LOG] Module helper loaded: MMM-MyCommute [2020-10-01 17:24:16.902] [LOG] Initializing new module helper ... [2020-10-01 17:24:16.903] [LOG] Module helper loaded: MMM-Vrr [2020-10-01 17:24:17.868] [LOG] Initializing new module helper ... [2020-10-01 17:24:17.869] [LOG] Module helper loaded: MMM-AVStock [2020-10-01 17:24:17.879] [LOG] Initializing new module helper ... [2020-10-01 17:24:17.879] [LOG] Module helper loaded: MMM-News [2020-10-01 17:24:18.990] [LOG] Initializing new module helper ... [2020-10-01 17:24:18.992] [LOG] Module helper loaded: MMM-MovieListings [2020-10-01 17:24:19.001] [LOG] No helper found for module: MMM-PlexNowPlaying. [2020-10-01 17:24:19.031] [LOG] Initializing new module helper ... [2020-10-01 17:24:19.032] [LOG] Module helper loaded: MMM-teamspeak3 [2020-10-01 17:24:19.613] [LOG] Initializing new module helper ... [2020-10-01 17:24:19.614] [LOG] Module helper loaded: MMM-FRITZ-Box-Callmonitor [2020-10-01 17:24:20.530] [LOG] Initializing new module helper ... [2020-10-01 17:24:20.532] [LOG] Module helper loaded: MMM-DWD-WarnWeather [2020-10-01 17:24:20.812] [LOG] Initializing new module helper ... [2020-10-01 17:24:20.812] [LOG] Module helper loaded: MMM-Fuel [2020-10-01 17:24:20.815] [LOG] No helper found for module: MMM-WeatherOrNot. [2020-10-01 17:24:20.966] [LOG] Initializing new module helper ... [2020-10-01 17:24:20.967] [LOG] Module helper loaded: MMM-Bring [2020-10-01 17:24:20.967] [LOG] All module helpers loaded. [2020-10-01 17:24:21.297] [LOG] Starting server on port 8080 ... [2020-10-01 17:24:21.301] [INFO] [33mYou're using a full whitelist configuration to allow for all IPs[39m [2020-10-01 17:24:21.311] [LOG] Server started ... [2020-10-01 17:24:21.312] [LOG] Connecting socket for: mmpm [2020-10-01 17:24:21.314] [LOG] Starting module helper: mmpm [2020-10-01 17:24:21.315] [LOG] Connecting socket for: updatenotification [2020-10-01 17:24:21.316] [LOG] Connecting socket for: newsfeed [2020-10-01 17:24:21.317] [LOG] Starting node helper for: newsfeed [2020-10-01 17:24:21.318] [LOG] Connecting socket for: MMM-Spotify [2020-10-01 17:24:21.320] [LOG] Connecting socket for: calendar [2020-10-01 17:24:21.321] [LOG] Starting node helper for: calendar [2020-10-01 17:24:21.322] [LOG] Connecting socket for: MMM-MyCommute [2020-10-01 17:24:21.323] [LOG] ====================== Starting node_helper for module [MMM-MyCommute] [2020-10-01 17:24:21.325] [LOG] Connecting socket for: MMM-Vrr [2020-10-01 17:24:21.325] [LOG] Starting module helper: MMM-Vrr [2020-10-01 17:24:21.327] [LOG] Connecting socket for: MMM-AVStock [2020-10-01 17:24:21.328] [LOG] Connecting socket for: MMM-News [2020-10-01 17:24:21.330] [LOG] Connecting socket for: MMM-MovieListings [2020-10-01 17:24:21.331] [LOG] MMM-MovieListing helper started... [2020-10-01 17:24:21.332] [LOG] Connecting socket for: MMM-teamspeak3 [2020-10-01 17:24:21.333] [LOG] Connecting socket for: MMM-FRITZ-Box-Callmonitor [2020-10-01 17:24:21.334] [LOG] Starting module: MMM-FRITZ-Box-Callmonitor [2020-10-01 17:24:21.335] [LOG] Connecting socket for: MMM-DWD-WarnWeather [2020-10-01 17:24:21.336] [LOG] MMM-DWD-WarnWeather helper started... [2020-10-01 17:24:21.338] [LOG] Connecting socket for: MMM-Fuel [2020-10-01 17:24:21.339] [LOG] Starting module helper: MMM-Fuel [2020-10-01 17:24:21.340] [LOG] Connecting socket for: MMM-Bring [2020-10-01 17:24:21.341] [LOG] Sockets connected & modules started ... [2020-10-01 17:24:22.250] [LOG] Launching application.
And this is the MagicMirror-Error.log
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T14_50_30_431Z-debug.log /home/pi/MagicMirror/node_modules/electron/index.js:14 throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') ^ Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T14_50_32_599Z-debug.log /home/pi/MagicMirror/node_modules/electron/index.js:14 throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') ^ Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T14_50_34_933Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T14_56_00_612Z-debug.log (electron:8618): Gtk-WARNING **: 16:56:06.132: cannot open display: :0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T14_56_06_222Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T15_04_56_267Z-debug.log (electron:2030): Gtk-WARNING **: 17:05:00.111: cannot open display: :0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T15_05_00_173Z-debug.log (electron:2083): Gtk-WARNING **: 17:05:02.621: cannot open display: :0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T15_05_02_681Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T15_22_33_870Z-debug.log (electron:2078): Gtk-WARNING **: 17:22:37.845: cannot open display: :0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-01T15_22_37_929Z-debug.log
Looks like there is a problem with electron, but why, and more important, how do I fix it?
-
@requiemmg do what it said. delete the electron folder and then redo npm install
-
Thanks for your help, Sam, this is very much appreciated.
Ok, so I went into
/MagicMirror/node_modules
did a
sudo rm -r electron
went back to /MagicMirror
and did an npm install
This reinstalled electron. Unfortunately, I still got a black screen.
So, I renamed MagicMirror
made a git pull && npm install of the MagicMirror repo
and moved my css, config and modules folder from the old directory.And I still get a black screen. :-(
-
@requiemmg and any message?
-
@requiemmg although I haven’t updated yet I‘d try @sdetweil script. That worked with each update for me
https://github.com/sdetweil/MagicMirror_scripts -
Sorry, no messages, just a black screen. Also tried the update script, which just gives me an “everything up to date”. :-(
-
Same here, no messages, just black screen.
-
@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
-
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).
-
@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