Pm2 Log Errors - How can i solve these errors ? Screen goes black after a while
See original GitHub issue/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:46.51.216] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m Tue, 28 Dec 2021 12:46:51 GMT express deprecated res.send(status): Use res.sendStatus(status) instead at modules/MMM-Remote-Control/node_helper.js:138:25 /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:48.37.248] [ERROR] [31mWARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:90[39m [31m {[39m [31m ^[39m
[31mSyntaxError: Unexpected token '{'[39m [31m at wrapSafe (internal/modules/cjs/loader.js:986:16)[39m [31m at Module._compile (internal/modules/cjs/loader.js:1034:27)[39m [31m at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)[39m [31m at Module.load (internal/modules/cjs/loader.js:935:32)[39m [31m at Module._load (internal/modules/cjs/loader.js:776:14)[39m [31m at Function.f._load (electron/js2c/asar_bundle.js:5:12913)[39m [31m at Module.require (internal/modules/cjs/loader.js:959:19)[39m [31m at require (internal/modules/cjs/helpers.js:88:18)[39m [31m at loadConfig (/home/pi/MagicMirror/js/app.js:69:14)[39m [31m at App.start (/home/pi/MagicMirror/js/app.js:212:3)[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:50.25.169] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:52.34.401] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:54.24.598] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:56.15.696] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:57.12.836] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:03.35.703] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m [28.12.2021 14:12.06.071] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:19.11.743] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:21.01.131] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:22.10.511] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:23.36.657] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:25.07.967] [ERROR] [31mWARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:143[39m [31m{[39m [31m^[39m
[31mSyntaxError: Unexpected token '{'[39m [31m at wrapSafe (internal/modules/cjs/loader.js:986:16)[39m [31m at Module._compile (internal/modules/cjs/loader.js:1034:27)[39m [31m at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)[39m [31m at Module.load (internal/modules/cjs/loader.js:935:32)[39m [31m at Module._load (internal/modules/cjs/loader.js:776:14)[39m [31m at Function.f._load (electron/js2c/asar_bundle.js:5:12913)[39m [31m at Module.require (internal/modules/cjs/loader.js:959:19)[39m [31m at require (internal/modules/cjs/helpers.js:88:18)[39m [31m at loadConfig (/home/pi/MagicMirror/js/app.js:69:14)[39m [31m at App.start (/home/pi/MagicMirror/js/app.js:212:3)[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:26.33.999] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:28.47.516] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:29.16.076] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:31.13.222] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m Gdk-Message: 23:00:00.970: electron: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
XIO: fatal IO error 62 (Der virtuelle Zeitnehmer ist abgelaufen) on X server “:0” after 11902688 requests (11902688 known processed) with 0 events remaining. [28.12.2021 23:02.28.676] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:02.36.709] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:02.45.547] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:02.52.936] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.11.406] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.21.152] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.29.015] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.38.495] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.43.583] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m Invalid MIT-MAGIC-COOKIE-1 key/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:04.08.158] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m [29.12.2021 06:27.59.070] [ERROR] Calendar Error. Could not fetch calendar: http://p12-caldav.icloud.com/published/2/MTk3NDg4NzIwOTE5NzQ4OJen2vZPDPO6ZjKDI5IIr79mZRTz4px5MNIbzMHGisQCPVn-bb7-rMKJRQXT-HvKaLs2H8xYBU6yq8si1DE_1Po Error: Internal Server Error at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) [29.12.2021 11:49.56.931] [ERROR] Calendar Error. Could not fetch calendar: http://p12-caldav.icloud.com/published/2/MTk3NDg4NzIwOTE5NzQ4OJen2vZPDPO6ZjKDI5IIr79mZRTz4px5MNIbzMHGisQCPVn-bb7-rMKJRQXT-HvKaLs2H8xYBU6yq8si1DE_1Po Error: Bad Request at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 15:28.38.305] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m Gdk-Message: 16:22:09.780: electron: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
[29.12.2021 16:23.10.686] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 16:23.58.486] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 16:24.22.567] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 16:32.14.842] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m [29.12.2021 16:37.41.656] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m XIO: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server “:0” after 41529100 requests (41529100 known processed) with 0 events remaining. Gdk-Message: 22:25:08.953: electron: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:27.46.806] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:28.24.729] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:28.34.006] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:33.18.173] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m
<— Last few GCs —>
[3787:0x6103000] 101962762 ms: Mark-sweep 876.8 (983.0) -> 870.2 (982.8) MB, 3464.2 / 40.3 ms (average mu = 0.990, current mu = 0.993) allocation failure scavenge might not succeed [3787:0x6103000] 101966444 ms: Scavenge 871.4 (982.8) -> 870.5 (982.8) MB, 26.0 / 0.1 ms (average mu = 0.990, current mu = 0.993) allocation failure [3787:0x6103000] 101974528 ms: Scavenge 871.4 (982.8) -> 870.5 (983.8) MB, 7.5 / 0.1 ms (average mu = 0.990, current mu = 0.993) allocation failure
<— JS stacktrace —>
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [01.01.2022 11:23.07.634] [WARN] [33mYou’re using a full whitelist configuration to allow for all IPs[39m
<— Last few GCs —>
[3302:0x75aa000] 105228928 ms: Mark-sweep 876.4 (983.5) -> 875.0 (983.5) MB, 3956.5 / 0.6 ms (average mu = 0.471, current mu = 0.450) allocation failure scavenge might not succeed [3302:0x75aa000] 105241072 ms: Mark-sweep 876.4 (983.5) -> 875.1 (983.8) MB, 6107.0 / 0.7 ms (average mu = 0.486, current mu = 0.497) allocation failure scavenge might not succeed
<— JS stacktrace —>
[02.01.2022 20:10.50.593] [ERROR] (node:3251) UnhandledPromiseRejectionWarning: Error: fatal: Konnte ‘/home/pi/MagicMirror/modules/MMM-MyGarbage/.git/index.lock’ nicht erstellen: Keine Berechtigung
at Object.action (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js:30:33)
at PluginStore.exec (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/plugins/plugin-store.js:21:33)
at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:95:45
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:93:16)
at GitExecutorChain.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:77:46)
at Generator.next (<anonymous>)
at fulfilled (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:5:58)
(Use electron --trace-warnings ...
to show where the warning was created)
[02.01.2022 20:10.50.596] [ERROR] (node:3251) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
[02.01.2022 20:10.50.601] [ERROR] (node:3251) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[02.01.2022 20:10.51.843] [ERROR] (node:3251) UnhandledPromiseRejectionWarning: Error: fatal: Konnte ‘/home/pi/MagicMirror/modules/MMM-MyGarbage/.git/index.lock’ nicht erstellen: Keine Berechtigung
at Object.action (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js:30:33)
at PluginStore.exec (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/plugins/plugin-store.js:21:33)
at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:95:45
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:93:16)
at GitExecutorChain.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:77:46)
at Generator.next (<anonymous>)
at fulfilled (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/runners/git-executor-chain.js:5:58)
[02.01.2022 20:10.51.844] [ERROR] (node:3251) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
Issue Analytics
- State:
- Created 2 years ago
- Comments:53
@dieseltravis no idea, you would have to look at the logs to see whats going on
EAI_AGAIN is a networking error, nothing we can do.
I have seen this many times when users are using an advertisement filter like pihole.
others have rebooted their routers.
nothing consistent.
mm assumes a working network. the error is reported way below any code mm provides