question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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] You’re using a full whitelist configuration to allow for all IPs 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] WARNING! 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  {  ^

SyntaxError: Unexpected token '{'  at wrapSafe (internal/modules/cjs/loader.js:986:16)  at Module._compile (internal/modules/cjs/loader.js:1034:27)  at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)  at Module.load (internal/modules/cjs/loader.js:935:32)  at Module._load (internal/modules/cjs/loader.js:776:14)  at Function.f._load (electron/js2c/asar_bundle.js:5:12913)  at Module.require (internal/modules/cjs/loader.js:959:19)  at require (internal/modules/cjs/helpers.js:88:18)  at loadConfig (/home/pi/MagicMirror/js/app.js:69:14)  at App.start (/home/pi/MagicMirror/js/app.js:212:3) /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:50.25.169] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:52.34.401] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:54.24.598] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:56.15.696] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 13:57.12.836] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:03.35.703] [WARN] You’re using a full whitelist configuration to allow for all IPs [28.12.2021 14:12.06.071] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:19.11.743] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:21.01.131] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:22.10.511] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:23.36.657] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:25.07.967] [ERROR] WARNING! 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 { ^

SyntaxError: Unexpected token '{'  at wrapSafe (internal/modules/cjs/loader.js:986:16)  at Module._compile (internal/modules/cjs/loader.js:1034:27)  at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)  at Module.load (internal/modules/cjs/loader.js:935:32)  at Module._load (internal/modules/cjs/loader.js:776:14)  at Function.f._load (electron/js2c/asar_bundle.js:5:12913)  at Module.require (internal/modules/cjs/loader.js:959:19)  at require (internal/modules/cjs/helpers.js:88:18)  at loadConfig (/home/pi/MagicMirror/js/app.js:69:14)  at App.start (/home/pi/MagicMirror/js/app.js:212:3) /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:26.33.999] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:28.47.516] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:29.16.076] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [28.12.2021 14:31.13.222] [WARN] You’re using a full whitelist configuration to allow for all IPs 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] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:02.36.709] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:02.45.547] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:02.52.936] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.11.406] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.21.152] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.29.015] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.38.495] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV [28.12.2021 23:03.43.583] [WARN] You’re using a full whitelist configuration to allow for all IPs 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] You’re using a full whitelist configuration to allow for all IPs [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] You’re using a full whitelist configuration to allow for all IPs 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] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 16:23.58.486] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 16:24.22.567] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [29.12.2021 16:32.14.842] [WARN] You’re using a full whitelist configuration to allow for all IPs [29.12.2021 16:37.41.656] [WARN] You’re using a full whitelist configuration to allow for all IPs 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] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:28.24.729] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:28.34.006] [WARN] You’re using a full whitelist configuration to allow for all IPs /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [30.12.2021 22:33.18.173] [WARN] You’re using a full whitelist configuration to allow for all IPs

<— 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] You’re using a full whitelist configuration to allow for all IPs

<— 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:closed
  • Created 2 years ago
  • Comments:53

github_iconTop GitHub Comments

1reaction
sdetweilcommented, May 7, 2022

@dieseltravis no idea, you would have to look at the logs to see whats going on

1reaction
sdetweilcommented, Mar 10, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

UNSOLVED Magic Mirror Black Screen after "pm2 start mm"
The magicmirror service is set to start after x amount of seconds ... I noticed is once the module loaded, all I get...
Read more >
Logs - PM2
I am using pm2-logrotate module for rotation of log files. So i have a custom folder inside my project to save the output...
Read more >
Node.js pm2 keeps restarting almost every second
Check if your app modifies a file in the project folder (such as a log file). A change to any of the files...
Read more >
DustTrak DRX Aerosol Monitor Model 8533/8534/8533EP - TSI
When the unit is idle and is not connected to the External Pump Module, a warning displays on the Main screen. NOTE. “No...
Read more >
bam 1020 particulate monitor operation manual
The rings and shim should be replaced when the BAM 1020 is ... F3 “Error Recall”: This key allows the user to view...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found