Read the statement by Michael Teeuw here.
Blank screen after a couple of hours
-
@sdetweil Hi Sam,
got the following after running the log on the blank screen?
bradley@raspberrypi:~/MagicMirror $ pm2 logs --lines=xxxx
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/bradley/.pm2/pm2.log last 15 lines:
PM2 | 2024-04-13T13:59:13: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:13: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
PM2 | 2024-04-13T13:59:14: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2024-04-13T13:59:14: PM2 log: Process with pid 917 still alive after 1600ms, sending it SIGKILL now…
PM2 | 2024-04-13T13:59:15: PM2 log: pid=917 msg=process killed
PM2 | 2024-04-13T13:59:15: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2024-04-13T13:59:15: PM2 log: App [MagicMirror:0] online/home/bradley/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | [13.04.2024 23:04.55.592] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.55.593] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.55.594] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.55.653] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.55.654] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.55.656] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.56.595] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.56.596] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.56.597] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.57.548] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.57.548] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.57.549] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.57.577] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.57.577] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [13.04.2024 23:04.57.579] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/./home/bradley/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | [13.04.2024 23:04.47.569] [LOG]no idea what this means? can still see it working ok on remote control but the screen is blank?
many thanks in advance
-
@bradley1982 can you do it another way
pm2 stop all
cd ~/MagicMirror
npm start >somfile.txt 2>&1when the black screen happens, ctrl-c on the command window with the npm start in it
ctrl-q might work on the MM black screen but maybe not
-
@sdetweil Hi Sam
Nothing seems to happen when i do the control c however when i do the control q on the blank screen on the MM it bring me back to the config file and the terminal window.
bradley@raspberrypi:~ $ pm2 stop all
cd ~/MagicMirror
npm start >somfile.txt 2>&1
[PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
[PM2] MagicMirror ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ fork │ 1 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
bradley@raspberrypi:~/MagicMirror $ ^Cnot really sure what i am looking at here or what to do next?
-
@bradley1982 and look inside somfile.txt
nano somfile.txt -
@sdetweil
hi Sam,had a look an looked for errors?
15.04.2024 12:15.14.424] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[15.04.2024 12:20.19.728] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml >
at NodeHelper.checkFetchStatus (/home/bradley/MagicMirror/js/node_helper.js:116:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)THEN FURTHER DOWN -
[16.04.2024 07:02.24.761] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:04.26.190] [ERROR] ERROR! Could not validate main module js file.
[16.04.2024 07:04.26.205] [ERROR] ReferenceError: defaults is not defined
at Object. (/home/bradley/MagicMirror/modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.js:80:22)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (/home/bradley/MagicMirror/modules/MMM-MyScoreboard/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/node_init:2:13357)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Class.loadModuleDefaultConfig (/home/bradley/MagicMirror/modules/MMM-Remote-Control/node_helper.js:314:30)
at /home/bradley/MagicMirror/modules/MMM-Remote-Control/node_helper.js:268:26
at FSReqCallback.oncomplete (node:fs:211:5)[16.04.2024 07:07.25.459] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:10.18.538] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 07:12.26.448] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:17.27.421] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:20.27.894] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 07:22.28.492] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:27.29.185] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:30.37.179] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 07:32.30.111] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:37.31.062] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:40.46.440] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 07:42.32.012] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:47.32.954] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[16.04.2024 07:50.55.991] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 07:52.33.895] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
[16.04.2024 07:57.34.610] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
[16.04.2024 08:01.05.664] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 08:02.35.562] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
[16.04.2024 08:07.36.271] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
[16.04.2024 08:11.14.999] [INFO] Update found for module: MMM-NewsFeedTicker
[16.04.2024 08:12.37.239] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
[16.04.2024 08:17.38.199] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
[16.04.2024 08:19.26.192] [LOG] Shutting down server…
[16.04.2024 08:19.26.196] [LOG] Stopping module helper: updatenotification
[16.04.2024 08:19.26.197] [LOG] Stopping module helper: calendar
[16.04.2024 08:19.26.199] [LOG] Stopping module helper: MMM-OpenWeatherMapForecast
[16.04.2024 08:19.26.199] [LOG] Stopping module helper: MMM-MyScoreboard
[16.04.2024 08:19.26.201] [LOG] Stopping module helper: MMM-TodoistIF EASIER CAN SENT THE FULL REPORT.
thanks so much for your help
-
@bradley1982 said in Blank screen after a couple of hours:
[15.04.2024 12:20.19.728] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml >
at NodeHelper.checkFetchStatus (/home/bradley/MagicMirror/js/node_helper.js:116:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)this is probably the killer… network error, and not enough error recovery
sadly there is no fix for this@bradley1982 said in Blank screen after a couple of hours:
[16.04.2024 07:04.26.190] [ERROR] ERROR! Could not validate main module js file.
[16.04.2024 07:04.26.205] [ERROR] ReferenceError: defaults is not defined
at Object. (/home/bradley/MagicMirror/modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.js:80:22)this one is a module problem that should be reported on the module.
-
@sdetweil oh ok. thanks for your help.
any recommendation what to do?
-
@sdetweil on the second look at the module github page, issues and see if anyone has posted a fix
-
@bradley1982 ok thanks very much for all you help!