Read the statement by Michael Teeuw here.
MagicMirror Goes blackscreen overnight
-
Every night my MagicMirror goes to a black screen. My curser is seen when I move the mouse in the morning and CTRL+Q makes it go back to my home page then MagicMirror will start automatically with no issues.
Has anyone had this issue yet?
-
@demetry07 said in MagicMirror Goes blackscreen overnight:
MMM-GoogleMapsTraffic.js:77 Unc
that module has a bug, get the fix from my repo . .
do
cd ~/MagicMirror/modules mv MMM-GoogleMapsTraffic MMM-GoogleMapsTraffic.old git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic
restart your mirror
I don’t know why the others, unless it is because of this one…
-
@demetry07 not specifically… but before ctrl-Q, do
ctrl-shift-i to open the developers window, select the tab labeled ‘console’ and scroll up to see if there is an error reported… usually red text…the black screen means some script failed hard and the browser UI can’t continue
-
Thanks I will check it in the morning when it does it again.
-
Checked any errors and this is what came up.
Thoughts?
8080/modules/MMM-Snow//MMM-Snow.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Snow//MMM-Snow.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:187 Error on loading script: modules/MMM-Snow//MMM-Snow.js
script.onerror @ loader.js:187
:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:187 Error on loading script: modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js
script.onerror @ loader.js:187
(index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
loader.js:203 Error on loading stylesheet: css/custom.css
stylesheet.onerror @ loader.js:203
:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Vi @ maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139
:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
api.openweathermap.org/data/2.5/forecast/daily?id=4393217&units=imperial&lang=en&APPID=98626cd176b5075d4d8b1fba0971e8f8:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
:8080/modules/default/weatherforecast//weatherforecast.js:266 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
weatherRequest.onreadystatechange @ :8080/modules/default/weatherforecast//weatherforecast.js:266
(index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. -
@demetry07 said in MagicMirror Goes blackscreen overnight:
MMM-GoogleMapsTraffic.js:77 Unc
that module has a bug, get the fix from my repo . .
do
cd ~/MagicMirror/modules mv MMM-GoogleMapsTraffic MMM-GoogleMapsTraffic.old git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic
restart your mirror
I don’t know why the others, unless it is because of this one…
-
Ok updated and restarted. Will update in the morning or if it fails before then.
Thank you very much @sdetwil
-
@demetry07 any update?
-
@sdetweil Yes no black screen this morning that fixed it!
-
@demetry07 woohoo!!.. thanks for the update!
-
@sdetweil I am glad you told me about the CTRL + Shift + I. I was able to use that to fix some of the other Modules I was using.