Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pm2 Log Errors - How can i solve these errors ? Screen goes black after a while #2765

Closed
Fredi009sg opened this issue Jan 2, 2022 · 53 comments

Comments

@Fredi009sg
Copy link

/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 ()
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 ()
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)

@Fredi009sg Fredi009sg changed the title Pm2 Log Error - How can i solve these errors ? Pm2 Log Errors - How can i solve these errors ? Screen goes black after a while Jan 2, 2022
@sdetweil
Copy link
Collaborator

sdetweil commented Jan 2, 2022

what mm version?

grep version ~/MagicMirror/package.json

what node and npm version

node -v
npm -v

what os?
lsb_release -a

how did u get here? install today, or upgrade

in either case how did u do it? manual or automated?

@Fredi009sg
Copy link
Author

what mm version?
2.18.0
grep version ~/MagicMirror/package.json

what node and npm version

node -v
v16.13.1
npm -v
8.1.2
what os?
lsb_release -a

how did u get here? install today, or upgrade
i installed it with the script from your site https://github.com/sdetweil/MagicMirror_scripts
in either case how did u do it? manual or automated?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

thanks.. can u give results of

lsb_release -a

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

also, could you post ~/install.log

I just redid install on bullseye and it worked fine.. same node/npm/pm2

~/MagicMirror $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

@Fredi009sg
Copy link
Author

thanks.. can u give results of

lsb_release -a

No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

@Fredi009sg
Copy link
Author

also, could you post ~/install.log

I just redid install on bullseye and it worked fine.. same node/npm/pm2

~/MagicMirror $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

install starting - Di Dez 28 12:51:23 CET 2021
installing on armv7l processor system
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
�[96mInstalling helper tools ...�[90m
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
build-essential ist schon die neueste Version (12.6).
curl ist schon die neueste Version (7.64.0-4+deb10u2).
git ist schon die neueste Version (1:2.20.1-2+deb10u3).
unzip ist schon die neueste Version (6.0-23+deb10u2).
wget ist schon die neueste Version (1.20.1-1.1).
Vorgeschlagene Pakete:
doc-base
Die folgenden NEUEN Pakete werden installiert:
pv
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
Es müssen 46,4 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 113 kB Plattenplatz zusätzlich benutzt.
Holen:1 https://archive.raspbian.org/raspbian buster/main armhf pv armhf 1.6.6-1 [46,4 kB]
Es wurden 46,4 kB in 0 s geholt (160 kB/s).
Vormals nicht ausgewähltes Paket pv wird gewählt.
(Lese Datenbank ...
(Lese Datenbank ... 5%
(Lese Datenbank ... 10%
(Lese Datenbank ... 15%
(Lese Datenbank ... 20%
(Lese Datenbank ... 25%
(Lese Datenbank ... 30%
(Lese Datenbank ... 35%
(Lese Datenbank ... 40%
(Lese Datenbank ... 45%
(Lese Datenbank ... 50%
(Lese Datenbank ... 55%
(Lese Datenbank ... 60%
(Lese Datenbank ... 65%
(Lese Datenbank ... 70%
(Lese Datenbank ... 75%
(Lese Datenbank ... 80%
(Lese Datenbank ... 85%
(Lese Datenbank ... 90%
(Lese Datenbank ... 95%
(Lese Datenbank ... 100%
(Lese Datenbank ... 166302 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../archives/pv_1.6.6-1_armhf.deb ...
Entpacken von pv (1.6.6-1) ...
pv (1.6.6-1) wird eingerichtet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
�[96mUpdating packages ...�[90m
OK:1 http://phoscon.de/apt/deconz buster InRelease OK:2 http://archive.raspberrypi.org/debian buster InRelease OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:4 https://repos.influxdata.com/debian buster InRelease OK:5 https://archive.raspbian.org/raspbian buster InRelease OK:6 https://deb.nodesource.com/node_16.x buster InRelease Paketlisten werden gelesen...
apt-get update completed ok
apt-get upgrade started
apt upgrade result =rc=0 Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Paketaktualisierung (Upgrade) wird berechnet...
Die folgenden Pakete sind zurückgehalten worden:
deconz
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
�[96mCheck current Node installation ...�[0m
�[0mNode currently installed. Checking version number.
�[0mMinimum Node version: �[1mv14.0.0�[0m
�[0mInstalled Node version: �[1mv16.13.1�[0m
�[92mNo Node.js upgrade necessary.�[0m
�[96mCheck current NPM installation ...�[0m
�[0mNPM currently installed. Checking version number.
�[0mMinimum npm version: �[1mV6.0.0�[0m
�[0mInstalled npm version: �[1mV8.1.2�[0m
�[92mNo npm upgrade necessary.�[0m
�[93mIt seems like MagicMirror is already installed.
To prevent overwriting, the installer will be aborted.
Please rename the �[1m~/MagicMirror�[0m�[93m folder and try again.�[0m
install starting - Di Dez 28 13:27:02 CET 2021
installing on armv7l processor system
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
�[96mInstalling helper tools ...�[90m
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
build-essential ist schon die neueste Version (12.6).
curl ist schon die neueste Version (7.64.0-4+deb10u2).
git ist schon die neueste Version (1:2.20.1-2+deb10u3).
pv ist schon die neueste Version (1.6.6-1).
unzip ist schon die neueste Version (6.0-23+deb10u2).
wget ist schon die neueste Version (1.20.1-1.1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
�[96mUpdating packages ...�[90m
OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:2 http://phoscon.de/apt/deconz buster InRelease OK:3 http://archive.raspberrypi.org/debian buster InRelease OK:4 https://deb.nodesource.com/node_16.x buster InRelease OK:5 https://repos.influxdata.com/debian buster InRelease OK:6 https://archive.raspbian.org/raspbian buster InRelease Paketlisten werden gelesen...
apt-get update completed ok
apt-get upgrade started
apt upgrade result =rc=0 Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Paketaktualisierung (Upgrade) wird berechnet...
Die folgenden Pakete sind zurückgehalten worden:
deconz
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
�[96mCheck current Node installation ...�[0m
�[0mNode currently installed. Checking version number.
�[0mMinimum Node version: �[1mv14.0.0�[0m
�[0mInstalled Node version: �[1mv16.13.1�[0m
�[92mNo Node.js upgrade necessary.�[0m
�[96mCheck current NPM installation ...�[0m
�[0mNPM currently installed. Checking version number.
�[0mMinimum npm version: �[1mV6.0.0�[0m
�[0mInstalled npm version: �[1mV8.1.2�[0m
�[92mNo npm upgrade necessary.�[0m
�[93mIt seems like MagicMirror is already installed.
To prevent overwriting, the installer will be aborted.
Please rename the �[1m~/MagicMirror�[0m�[93m folder and try again.�[0m
If you want to upgrade your installation run �[1m�[97mupgrade-script�[0m from the ~/MagicMirror/installers directory.
install starting - Di Dez 28 13:30:39 CET 2021
installing on armv7l processor system
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
�[96mInstalling helper tools ...�[90m
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
build-essential ist schon die neueste Version (12.6).
curl ist schon die neueste Version (7.64.0-4+deb10u2).
git ist schon die neueste Version (1:2.20.1-2+deb10u3).
pv ist schon die neueste Version (1.6.6-1).
unzip ist schon die neueste Version (6.0-23+deb10u2).
wget ist schon die neueste Version (1.20.1-1.1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
�[96mUpdating packages ...�[90m
OK:1 http://phoscon.de/apt/deconz buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 http://archive.raspberrypi.org/debian buster InRelease OK:4 https://repos.influxdata.com/debian buster InRelease OK:5 https://deb.nodesource.com/node_16.x buster InRelease OK:6 https://archive.raspbian.org/raspbian buster InRelease Paketlisten werden gelesen...
apt-get update completed ok
apt-get upgrade started
apt upgrade result =rc=0 Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Paketaktualisierung (Upgrade) wird berechnet...
Die folgenden Pakete sind zurückgehalten worden:
deconz
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
�[96mCheck current Node installation ...�[0m
�[0mNode currently installed. Checking version number.
�[0mMinimum Node version: �[1mv14.0.0�[0m
�[0mInstalled Node version: �[1mv16.13.1�[0m
�[92mNo Node.js upgrade necessary.�[0m
�[96mCheck current NPM installation ...�[0m
�[0mNPM currently installed. Checking version number.
�[0mMinimum npm version: �[1mV6.0.0�[0m
�[0mInstalled npm version: �[1mV8.1.2�[0m
�[92mNo npm upgrade necessary.�[0m
�[96mCloning MagicMirror ...�[90m
�[92mCloning MagicMirror Done!�[90m
�[96mInstalling dependencies ...�[90m

magicmirror@2.17.1 install > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error Installing vendor files ... added 9 packages, and audited 10 packages in 5s found 0 vulnerabilities > magicmirror@2.17.1 postinstall > npm run install-fonts && echo "MagicMirror installation finished successfully! > " > magicmirror@2.17.1 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error Installing fonts ... added 1 package, and audited 2 packages in 2s found 0 vulnerabilities MagicMirror installation finished successfully! > magicmirror@2.17.1 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. added 292 packages, and audited 293 packages in 3m 21 packages are looking for funding run npm fund for details found 0 vulnerabilities
�[92mDependencies installation Done!�[90m
fixing sandbox permissions
setting up initial config.js
�[96mCheck plymouth installation ...�[0m
�[90mSplashscreen: Checking themes directory.�[0m
�[90mSplashscreen: Create theme directory if not exists.�[0m
�[92mSplashscreen: Changed theme to MagicMirror successfully.�[0m
install and setup pm2
pm2 not installed, installing
pm2 install result npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. added 180 packages, and audited 181 packages in 38s 10 packages are looking for funding run npm fund for details found 0 vulnerabilities
get the pm2 platform specific startup command
startup command = sudo env PATH=$PATH:/usr/bin:/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
[PM2] Init System found: systemd
Platform systemd
Template
[Unit]
Description=PM2 process manager
Documentation=https://pm2.keymetrics.io/
After=network.target

[Service]
Type=forking
User=pi
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
Environment=PATH=$PATH:/usr/bin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Environment=PM2_HOME=/home/pi/.pm2
PIDFile=/home/pi/.pm2/pm2.pid
Restart=on-failure

ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill

[Install]
WantedBy=multi-user.target

Target path
/etc/systemd/system/pm2-pi.service
Command list
[ 'systemctl enable pm2-pi' ]
[PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service
[PM2] Making script booting at startup...
[PM2] [-] Executing: systemctl enable pm2-pi...
[PM2] [v] Command successfully executed.
+---------------------------------------+
[PM2] Freeze a process list on reboot via:
$ pm2 save

[PM2] Remove init script via:
$ pm2 unstartup systemd
pm2 startup command done
configure the pm2 config file for MagicMirror
start MagicMirror via pm2 now
save MagicMirror pm2 config now
stop MagicMirror via pm2 now
gsettings screen saver already disabled
screensaver via lightdm already disabled
lxsession screen saver already disabled
�[92mWe're ready! Run �[1m�[97mpm2 start MagicMirror�[0m�[92m from the ~/MagicMirror directory to start your MagicMirror.�[0m
install completed - Di Dez 28 13:35:45 CET 2021

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

how did u get node 16 installed? my script (before Saturday) only installed node 14

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

also, output of uname -a

@Fredi009sg
Copy link
Author

how did u get node 16 installed? my script (before Saturday) only installed node 14

i had a previous installation before but i deleted it because there were the same issue with the blackscreen after a while and i want to give it a try with a fresh installation

@Fredi009sg
Copy link
Author

also, output of uname -a

Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

did u accidentally close?

the answer for how you got node 16 didn't help me..

did u install node manually before starting my install???

@Fredi009sg
Copy link
Author

did u accidentally close?

yes can i open it again

the answer for how you got node 16 didn't help me..

did u install node manually before starting my install???

could be that i installed it with the previous installation manually

@Fredi009sg Fredi009sg reopened this Jan 3, 2022
@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 3, 2022

did u accidentally close?

yes i reopen it

the answer for how you got node 16 didn't help me..
did u install node manually before starting my install???

could be that i installed it with the previous installation manually

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

hm.. i can't reproduce it..
reflashed buster (legacy)
manually copied 2.17.1 (clone gets 2.18)
changed local copy of install script to not clone, as I already had it..
install script installed node v16.13.1 and npm 8.1.2
then installed MM and pm2, and started mm ok, with initial config.js

what pi is this? free -m might tell me..
i have a 4 gig pi 4

free -m
              total        used        free      shared  buff/cache   available
Mem:           3838         382        1724         297        1731        3018

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

so, i suggest u reflash the sd card and after boot, use my script to install again.. (it does all the work)

this will get you 2.18, and node 16

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 3, 2022

so, i suggest u reflash the sd card and after boot, use my script to install again.. (it does all the work)

this will get you 2.18, and node 16

sry but im not willing to reflash the sd card. This will delete all my other changes. Is there a way to do it without reflashing the sd card ?

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 3, 2022

hm.. i can't reproduce it.. reflashed buster (legacy) manually copied 2.17.1 (clone gets 2.18) changed local copy of install script to not clone, as I already had it.. install script installed node v16.13.1 and npm 8.1.2 then installed MM and pm2, and started mm ok, with initial config.js

what pi is this? free -m might tell me.. i have a 4 gig pi 4

free -m
              total        used        free      shared  buff/cache   available
Mem:           3838         382        1724         297        1731        3018

Yes its a 4gb pi 4

                total        used          free      shared      buff/cache available

Mem: 3838 2177 419 234 1241 1505
Swap: 99 99 0

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

i do not know.. something is messed up. I don't know what.

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 3, 2022

Are there any guideline how i delete Magic Mirror and necessary stuff ?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

sure, just delete the folder.. rm -rf ~/MagicMirror

to remove pm2

pm2 unstartup systemd
(it will give u a command to copy/paste to execute)
then
sudo npm uninstall pm2

after doing this reboot

then u can run the MM installer script again

@Fredi009sg
Copy link
Author

sure, just delete the folder.. rm -rf ~/MagicMirror

to remove pm2

pm2 unstartup systemd (it will give u a command to copy/paste to execute) then sudo npm uninstall pm2

after doing this reboot

then u can run the MM installer script again

doing it right now. how can i check if it works ?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

it will start MM if u say yes to pm2.

otherwise (if u say no to use pm2)
in the MagicMirror folder do

npm start 

@Fredi009sg
Copy link
Author

it will start MM if u say yes to pm2.

otherwise (if u say no to use pm2) in the MagicMirror folder do

npm start 

your recommandation is to use pm2 ?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

yes, if u want it to start on boot, and keep running if it crashes, and record the output in case of problems..

all things u have to develop solutions for yourself otherwise..

@Fredi009sg
Copy link
Author

now everything i alive. i installed the remote controller. but i cant restart it. Got this

grafik

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

the remote module defaults to the pm2 process name is 'mm'..

my setup script does 'MagicMirror'

so u have to set it in remote module config
pm2ProcessName: 'MagicMirror'

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 3, 2022

did it but nothing change.. With clicking twice or more i get the same issue.

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

so that is in the module config section, right?

{
   module: 
   position: 
   config: { 
       pm2ProcessName: 'MagicMirror'
    }
}

the module doesn't put out any debug info.. sorry, thats all I know about that module (from looking at the code)

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 3, 2022

/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/

var config =
{
address: '0.0.0.0',
electronOptions: {
fullscreen: true,
width: 3840,
x: 1920
},
ipWhitelist: [],
language: 'de',
modules: [
{
module: 'alert',
config: {}
},
{
module: 'updatenotification',
position: 'top_bar',
config: {}
},
{
module: 'clock',
position: 'top_left',
config: {}
},
{
module: 'calendar',
header: 'Termine',
position: 'top_left',
config: {
calendars: [
{
symbol: 'calendar-check',
url: ''
}
]
}
},
{
module: 'compliments',
position: 'top_center',
config: {
compliments: {
anytime: [
'Na du!'
],
morning: [
'Guten morgen',
'Genies deinen Tag!'
],
afternoon: [
'Du siehst gut aus!'
],
evening: [
'Bettzeit',
'Schlaf gut',
'Ab ins Bett'
],
'....-01-01': [
'Happy new year!'
]
}
},
header: ''
},
{
module: 'weather',
position: 'top_right',
config: {
location: '',
locationID: '',
apiKey: '',
iconTable: {
'01d': 'wi-day-sunny',
'02d': 'wi-day-cloudy',
'03d': 'wi-cloudy',
'04d': 'wi-cloudy-windy',
'09d': 'wi-showers',
'10d': 'wi-rain',
'11d': 'wi-thunderstorm',
'13d': 'wi-snow',
'50d': 'wi-fog',
'01n': 'wi-night-clear',
'02n': 'wi-night-cloudy',
'03n': 'wi-night-cloudy',
'04n': 'wi-night-cloudy',
'09n': 'wi-night-showers',
'10n': 'wi-night-rain',
'11n': 'wi-night-thunderstorm',
'13n': 'wi-night-snow',
'50n': 'wi-night-alt-cloudy-windy'
}
}
},
{
module: 'weather',
position: 'top_right',
header: 'Wettervorhersage',
config: {
type: 'forecast',
location: '',
locationID: '',
apiKey: ''
}
},
{
module: 'newsfeed',
position: 'bottom_bar',
config: {
feeds: [
{
title: 'Tagesschau',
url: 'http://www.tagesschau.de/xml/rss2/'
}
]
}
},
{
module: 'MMM-Remote-Control',
header: '',
config: {
apiKey: '',
pm2ProcessName: 'MagicMirror'
}
},
{
module: 'MMM-iHaveBeenThere',
position: 'fullscreen_below',
header: '',
config: {
success: true,
query: {
data: 'defaultConfig',
module: 'MMM-iHaveBeenThere'
},
data: {
title: '',
AnimationEnabled: true,
pauseDuration: 3,
animationDuration: 10,
displayDesc: false,
zoomLevel: 1.5,
zoomLongitude: -20,
zoomLatitude: 60,
home_lat: ,
home_lon: ,
home_desc: '',
away_lat: [
25.7741728,
21.1617854,
40.8998,
41.3874,
'52.520008',
'48.137154',
'-22.485331392'
],
away_lon: [
-80.19362,
-86.8510468,
9.5161,
2.1686,
'13.404954',
'11.576124',
'17.4631'
],
away_desc: [
'Miami',
'México ',
'Sardinien',
'Barcelona ',
'Berlin',
'München ',
'Namibia '
],
trip: [
false,
false,
false,
false
],
colorCountries: '#BDBDBD',
colorCountryBorders: '#000000',
colorTargetPoints: '#FFFFFF',
colorPlane: '#FF0000',
colorPlaneLine: '#FFFFFF',
colorLegendBorder: '#FFFFFF',
colorLegendFont: '#FFFFFF',
colorTitleFont: '#FFFFFF'
},
title: '',
home_lat: 51.1597436635867,
home_lon: 7.00222741009367,
away_desc: [
'Miami',
'México',
'Sardinien',
'Barcelona ',
'Berlin ',
'München ',
'Namibia'
],
displayDesc: false,
away_lat: [
25.7741728,
21.1617854,
40.8998,
41.3874,
'52.520008',
'48.137154',
'-22.485331392'
],
away_lon: [
-80.19362,
-86.8510468,
9.5161,
2.1686,
'13.404954',
'11.576124',
'17.4631'
],
home_desc: '',
trip: [
false,
false,
false,
false
],
zoomLevel: 1.5,
zoomLatitude: 30,
zoomLongitude: -50
}
},
{
module: 'MMM-MyGarbage',
position: 'top_left',
header: '',
config: {
success: true,
query: {
data: 'defaultConfig',
module: 'MMM-MyGarbage'
},
data: {
alert: false,
weeksToDisplay: 3,
limitTo: 99,
dateFormat: 'dddd D MMMM',
fade: true,
fadePoint: 0.25
}
}
}
],
useHttps: false,
httpsPrivateKey: '',
httpsCertificate: '',
locale: 'en-US'
}

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== 'undefined') {module.exports = config;}

@Fredi009sg
Copy link
Author

You mean i have to put it into the config.js file. like i post above.

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

thanks for the info ... please edit your post and remove any api keys, or other personal info

you can use XXXXXXX to take their place..

@Fredi009sg
Copy link
Author

Done.. Where i have to place it ?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

but we are past the original error.. system is running now

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

Done.. Where i have to place it ?

u did it correctly. (many users don't understand config:{} is parms TO the module..)

i don't know what the module problem is.. as I said, there is no debug info produced

I have a module that restarts MM via pm2, but uses my own code, and not the library he uses..

here is about MagicMirror, not any modules.

@Fredi009sg
Copy link
Author

is there any way to check the hole system in futher ? where i have an eye on it ?

@Fredi009sg
Copy link
Author

Thats what i found in the error log of pm2

/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT

what does it mean ?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

did u stop and restart magicmirror? it has to kill electron to restart it (in linux that is a signal)

@Fredi009sg
Copy link
Author

in the console with pm2 restart MagicMirror

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

yes, so it has to kill the prior to start another... so it sends an interrupt signal (SIGINT)

@Fredi009sg
Copy link
Author

means this isn't an issue, right ?

@sdetweil
Copy link
Collaborator

sdetweil commented Jan 3, 2022

correct, this is normal

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 10, 2022

Hi again, after a while working. Screen turns into blackscreen and i have to start the magic mirror via remote control to get back the view.

@sdetweil maybe you can help me

Here is the log:

PM2 | 2022-01-07T21:57:33: PM2 log: pid=32343 msg=process killed
PM2 | 2022-01-07T21:57:33: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-07T21:57:33: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-07T21:57:42: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-07T21:57:42: PM2 log: pid=25113 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-07T21:57:42: PM2 log: pid=25113 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-07T21:57:42: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-07T21:57:42: PM2 log: pid=25113 msg=process killed
PM2 | 2022-01-07T21:57:42: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-07T21:57:42: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-09T21:39:44: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-09T21:39:44: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-09T21:39:44: PM2 log: pid=25252 msg=process killed
PM2 | 2022-01-09T21:39:44: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-09T21:39:44: PM2 log: App [MagicMirror:0] online

/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | [07.01.2022 21:57.40.285] [WARN] You're using a full whitelist configuration to allow for all IPs
0|MagicMir | [07.01.2022 21:57.46.055] [WARN] You're using a full whitelist configuration to allow for all IPs
0|MagicMir |
0|MagicMir | <--- Last few GCs --->
0|MagicMir |
0|MagicMir | [1:0x2e160000] 104344852 ms: Scavenge 879.9 (981.0) -> 879.0 (981.0) MB, 10.3 / 0.1 ms (average mu = 0.928, current mu = 0.480) allocation failure
0|MagicMir | [1:0x2e160000] 104349947 ms: Scavenge 879.9 (981.0) -> 879.0 (982.0) MB, 6.8 / 0.0 ms (average mu = 0.928, current mu = 0.480) allocation failure
0|MagicMir | [1:0x2e160000] 104354859 ms: Scavenge 880.0 (982.0) -> 879.1 (984.0) MB, 11.9 / 0.7 ms (average mu = 0.928, current mu = 0.480) allocation failure
0|MagicMir |
0|MagicMir |
0|MagicMir | <--- JS stacktrace --->
0|MagicMir |
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | [09.01.2022 21:39.48.751] [WARN] You're using a full whitelist configuration to allow for all IPs

/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | [10.01.2022 17:46.24.490] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [10.01.2022 17:48.19.392] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [10.01.2022 17:48.20.285] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [10.01.2022 17:51.24.823] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [10.01.2022 17:53.21.458] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [10.01.2022 17:53.22.209] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [10.01.2022 17:56.25.164] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [10.01.2022 17:58.23.263] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [10.01.2022 17:58.24.087] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [10.01.2022 18:01.25.491] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [10.01.2022 18:03.25.085] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [10.01.2022 18:03.25.775] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [10.01.2022 18:06.25.823] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [10.01.2022 18:08.26.970] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [10.01.2022 18:08.27.714] [INFO] Calendar-Fetcher: Broadcasting 2 events.


@sdetweil
Copy link
Collaborator

you need to clear the logs or print more of them

the issues at the top are from Jan 7, and the stuff from below from Jan 10

do

pm2 stop all
pm2 flush
pm2 start MagicMirror

then when it fails. pm2 stop all

pm2 logs --lines=100 >somefile.txt

ctrl-c

then examine somefile.txt

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 11, 2022

PM2 | 2022-01-04T23:00:57: PM2 log: PM2 home : /home/pi/.pm2
PM2 | 2022-01-04T23:00:57: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
PM2 | 2022-01-04T23:00:57: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
PM2 | 2022-01-04T23:00:57: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
PM2 | 2022-01-04T23:00:57: PM2 log: Application log path : /home/pi/.pm2/logs
PM2 | 2022-01-04T23:00:57: PM2 log: Worker Interval : 30000
PM2 | 2022-01-04T23:00:57: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
PM2 | 2022-01-04T23:00:57: PM2 log: Concurrent actions : 2
PM2 | 2022-01-04T23:00:57: PM2 log: SIGTERM timeout : 1600
PM2 | 2022-01-04T23:00:57: PM2 log: ===============================================================================
PM2 | 2022-01-04T23:00:57: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-04T23:00:58: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-04T23:20:43: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-04T23:20:43: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:43: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:43: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:43: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:43: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:44: PM2 log: pid=1124 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-04T23:20:45: PM2 log: Process with pid 1124 still alive after 1600ms, sending it SIGKILL now...
PM2 | 2022-01-04T23:20:45: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGKILL]
PM2 | 2022-01-04T23:20:45: PM2 log: pid=1124 msg=process killed
PM2 | 2022-01-04T23:20:45: PM2 log: PM2 successfully stopped
PM2 | 2022-01-04T23:21:40: PM2 log: ===============================================================================
PM2 | 2022-01-04T23:21:40: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
PM2 | 2022-01-04T23:21:40: PM2 log: Time : Tue Jan 04 2022 23:21:40 GMT+0100 (Mitteleuropäische Normalzeit)
PM2 | 2022-01-04T23:21:40: PM2 log: PM2 version : 5.1.2
PM2 | 2022-01-04T23:21:40: PM2 log: Node.js version : 16.13.1
PM2 | 2022-01-04T23:21:40: PM2 log: Current arch : arm
PM2 | 2022-01-04T23:21:40: PM2 log: PM2 home : /home/pi/.pm2
PM2 | 2022-01-04T23:21:40: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
PM2 | 2022-01-04T23:21:40: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
PM2 | 2022-01-04T23:21:40: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
PM2 | 2022-01-04T23:21:40: PM2 log: Application log path : /home/pi/.pm2/logs
PM2 | 2022-01-04T23:21:40: PM2 log: Worker Interval : 30000
PM2 | 2022-01-04T23:21:40: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
PM2 | 2022-01-04T23:21:40: PM2 log: Concurrent actions : 2
PM2 | 2022-01-04T23:21:40: PM2 log: SIGTERM timeout : 1600
PM2 | 2022-01-04T23:21:40: PM2 log: ===============================================================================
PM2 | 2022-01-04T23:21:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-04T23:21:41: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-06T10:07:48: PM2 log: App [MagicMirror:0] exited with code [1] via signal [SIGINT]
PM2 | 2022-01-06T10:07:48: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-06T10:07:48: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-06T10:07:49: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-06T10:07:49: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-06T10:07:49: PM2 log: pid=18092 msg=process killed
PM2 | 2022-01-06T10:07:49: PM2 log: PM2 successfully stopped
PM2 | 2022-01-06T10:08:37: PM2 log: ===============================================================================
PM2 | 2022-01-06T10:08:37: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
PM2 | 2022-01-06T10:08:37: PM2 log: Time : Thu Jan 06 2022 10:08:37 GMT+0100 (Mitteleuropäische Normalzeit)
PM2 | 2022-01-06T10:08:37: PM2 log: PM2 version : 5.1.2
PM2 | 2022-01-06T10:08:37: PM2 log: Node.js version : 16.13.1
PM2 | 2022-01-06T10:08:37: PM2 log: Current arch : arm
PM2 | 2022-01-06T10:08:37: PM2 log: PM2 home : /home/pi/.pm2
PM2 | 2022-01-06T10:08:37: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
PM2 | 2022-01-06T10:08:37: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
PM2 | 2022-01-06T10:08:37: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
PM2 | 2022-01-06T10:08:37: PM2 log: Application log path : /home/pi/.pm2/logs
PM2 | 2022-01-06T10:08:37: PM2 log: Worker Interval : 30000
PM2 | 2022-01-06T10:08:37: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
PM2 | 2022-01-06T10:08:37: PM2 log: Concurrent actions : 2
PM2 | 2022-01-06T10:08:37: PM2 log: SIGTERM timeout : 1600
PM2 | 2022-01-06T10:08:37: PM2 log: ===============================================================================
PM2 | 2022-01-06T10:08:38: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-06T10:08:38: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-06T14:02:58: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-06T14:02:59: PM2 log: pid=1179 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-06T14:02:59: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-06T14:02:59: PM2 log: pid=1179 msg=process killed
PM2 | 2022-01-06T14:02:59: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-06T14:02:59: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-07T21:57:33: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-07T21:57:33: PM2 error: Process with pid 32343 already exists
PM2 | 2022-01-07T21:57:33: PM2 log: pid=32343 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-07T21:57:33: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-07T21:57:33: PM2 log: pid=32343 msg=process killed
PM2 | 2022-01-07T21:57:33: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-07T21:57:33: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-07T21:57:42: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-07T21:57:42: PM2 log: pid=25113 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-07T21:57:42: PM2 log: pid=25113 msg=failed to kill - retrying in 100ms
PM2 | 2022-01-07T21:57:42: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-07T21:57:42: PM2 log: pid=25113 msg=process killed
PM2 | 2022-01-07T21:57:42: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-07T21:57:42: PM2 log: App [MagicMirror:0] online
PM2 | 2022-01-09T21:39:44: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-01-09T21:39:44: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-01-09T21:39:44: PM2 log: pid=25252 msg=process killed
PM2 | 2022-01-09T21:39:44: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-01-09T21:39:44: PM2 log: App [MagicMirror:0] online

/home/pi/.pm2/logs/MagicMirror-error.log last 100 lines:
0|MagicMir | at emitErrorNT (node:internal/streams/destroy:157:8)
0|MagicMir | at emitErrorCloseNT (node:internal/streams/destroy:122:3)
0|MagicMir | at processTicksAndRejections (node:internal/process/task_queues:83:21) {
0|MagicMir | type: 'system',
0|MagicMir | errno: 'EAI_AGAIN',
0|MagicMir | code: 'EAI_AGAIN'
0|MagicMir | }
0|MagicMir |
0|MagicMir | <--- Last few GCs --->
0|MagicMir |
0|MagicMir | [1:0x29560000] 105082952 ms: Mark-sweep 880.6 (983.3) -> 879.4 (983.3) MB, 5995.8 / 0.7 ms (average mu = 0.355, current mu = 0.356) allocation failure scavenge might not succeed
0|MagicMir | [1:0x29560000] 105093208 ms: Mark-sweep 880.7 (983.3) -> 879.5 (983.0) MB, 6254.6 / 0.6 ms (average mu = 0.374, current mu = 0.390) allocation failure scavenge might not succeed
0|MagicMir |
0|MagicMir |
0|MagicMir | <--- JS stacktrace --->
0|MagicMir |
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | [07.01.2022 21:57.40.285] [WARN] You're using a full whitelist configuration to allow for all IPs
0|MagicMir | [07.01.2022 21:57.46.055] [WARN] You're using a full whitelist configuration to allow for all IPs
0|MagicMir |
0|MagicMir | <--- Last few GCs --->
0|MagicMir |
0|MagicMir | [1:0x2e160000] 104344852 ms: Scavenge 879.9 (981.0) -> 879.0 (981.0) MB, 10.3 / 0.1 ms (average mu = 0.928, current mu = 0.480) allocation failure
0|MagicMir | [1:0x2e160000] 104349947 ms: Scavenge 879.9 (981.0) -> 879.0 (982.0) MB, 6.8 / 0.0 ms (average mu = 0.928, current mu = 0.480) allocation failure
0|MagicMir | [1:0x2e160000] 104354859 ms: Scavenge 880.0 (982.0) -> 879.1 (984.0) MB, 11.9 / 0.7 ms (average mu = 0.928, current mu = 0.480) allocation failure
0|MagicMir |
0|MagicMir |
0|MagicMir | <--- JS stacktrace --->
0|MagicMir |
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | [09.01.2022 21:39.48.751] [WARN] You're using a full whitelist configuration to allow for all IPs
0|MagicMir | [11.01.2022 01:15.57.310] [ERROR] Calendar Error. Could not fetch calendar: XXXXXX FetchError: request to XXXXX failed, reason: getaddrinfo EAI_AGAIN p56-caldav.icloud.com
0|MagicMir | at ClientRequest. (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1483:11)
0|MagicMir | at ClientRequest.emit (node:events:394:28)
0|MagicMir | at Socket.socketErrorListener (node:_http_client:447:9)
0|MagicMir | at Socket.emit (node:events:394:28)
0|MagicMir | at emitErrorNT (node:internal/streams/destroy:157:8)
0|MagicMir | at emitErrorCloseNT (node:internal/streams/destroy:122:3)
0|MagicMir | at processTicksAndRejections (node:internal/process/task_queues:83:21) {
0|MagicMir | type: 'system',
0|MagicMir | errno: 'EAI_AGAIN',
0|MagicMir | code: 'EAI_AGAIN'
0|MagicMir | }
0|MagicMir | [11.01.2022 01:17.46.873] [ERROR] Calendar Error. Could not fetch calendar: XXXXX FetchError: request to XXXXX failed, reason: getaddrinfo EAI_AGAIN p12-caldav.icloud.com
0|MagicMir | at ClientRequest. (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1483:11)
0|MagicMir | at ClientRequest.emit (node:events:394:28)
0|MagicMir | at Socket.socketErrorListener (node:_http_client:447:9)
0|MagicMir | at Socket.emit (node:events:394:28)
0|MagicMir | at emitErrorNT (node:internal/streams/destroy:157:8)
0|MagicMir | at emitErrorCloseNT (node:internal/streams/destroy:122:3)
0|MagicMir | at processTicksAndRejections (node:internal/process/task_queues:83:21) {
0|MagicMir | type: 'system',
0|MagicMir | errno: 'EAI_AGAIN',
0|MagicMir | code: 'EAI_AGAIN'
0|MagicMir | }
0|MagicMir | [11.01.2022 01:18.15.014] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.tagesschau.de/xml/rss2/ FetchError: request to http://www.tagesschau.de/xml/rss2/ failed, reason: getaddrinfo EAI_AGAIN www.tagesschau.de
0|MagicMir | at ClientRequest. (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1483:11)
0|MagicMir | at ClientRequest.emit (node:events:394:28)
0|MagicMir | at Socket.socketErrorListener (node:_http_client:447:9)
0|MagicMir | at Socket.emit (node:events:394:28)
0|MagicMir | at emitErrorNT (node:internal/streams/destroy:157:8)
0|MagicMir | at emitErrorCloseNT (node:internal/streams/destroy:122:3)
0|MagicMir | at processTicksAndRejections (node:internal/process/task_queues:83:21) {
0|MagicMir | type: 'system',
0|MagicMir | errno: 'EAI_AGAIN',
0|MagicMir | code: 'EAI_AGAIN'
0|MagicMir | }
0|MagicMir | [11.01.2022 01:21.37.368] [ERROR] Calendar Error. Could not fetch calendar: XXXXXXX FetchError: request to XXXXX failed, reason: getaddrinfo EAI_AGAIN p56-caldav.icloud.com
0|MagicMir | at ClientRequest. (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1483:11)
0|MagicMir | at ClientRequest.emit (node:events:394:28)
0|MagicMir | at Socket.socketErrorListener (node:_http_client:447:9)
0|MagicMir | at Socket.emit (node:events:394:28)
0|MagicMir | at emitErrorNT (node:internal/streams/destroy:157:8)
0|MagicMir | at emitErrorCloseNT (node:internal/streams/destroy:122:3)
0|MagicMir | at processTicksAndRejections (node:internal/process/task_queues:83:21) {
0|MagicMir | type: 'system',
0|MagicMir | errno: 'EAI_AGAIN',
0|MagicMir | code: 'EAI_AGAIN'
0|MagicMir | }
0|MagicMir | [11.01.2022 01:22.04.150] [ERROR] Failed to retrieve repo info for MMM-Remote-Control: Error: Command failed: cd /home/pi/MagicMirror/modules/MMM-Remote-Control && git fetch --dry-run
0|MagicMir | fatal: unable to access 'https://github.com/Jopyth/MMM-Remote-Control.git/': Could not resolve host: github.com
0|MagicMir |
0|MagicMir | [11.01.2022 01:22.04.520] [ERROR] Failed to retrieve repo info for MMM-iHaveBeenThere: Error: Command failed: cd /home/pi/MagicMirror/modules/MMM-iHaveBeenThere && git fetch --dry-run
0|MagicMir | fatal: unable to access 'https://github.com/basti0001/MMM-iHaveBeenThere/': Could not resolve host: github.com
0|MagicMir |
0|MagicMir | [11.01.2022 01:22.04.858] [ERROR] Failed to retrieve repo info for MMM-MyGarbage: Error: Command failed: cd /home/pi/MagicMirror/modules/MMM-MyGarbage && git fetch --dry-run
0|MagicMir | fatal: unable to access 'https://github.com/htilburgs/MMM-MyGarbage.git/': Could not resolve host: github.com
0|MagicMir |
0|MagicMir | [11.01.2022 01:22.05.272] [ERROR] Failed to retrieve repo info for default: Error: Command failed: cd /home/pi/MagicMirror/ && git fetch --dry-run
0|MagicMir | fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com
0|MagicMir |
0|MagicMir |
0|MagicMir | <--- Last few GCs --->
0|MagicMir |
0|MagicMir | [1:0x35d60000] 104723155 ms: Mark-sweep 881.0 (983.5) -> 879.5 (983.5) MB, 3579.1 / 0.8 ms (average mu = 0.425, current mu = 0.580) allocation failure scavenge might not succeed
0|MagicMir | [1:0x35d60000] 104732206 ms: Mark-sweep 880.9 (983.5) -> 879.6 (983.8) MB, 6434.6 / 0.6 ms (average mu = 0.356, current mu = 0.289) allocation failure scavenge might not succeed
0|MagicMir |
0|MagicMir |
0|MagicMir | <--- JS stacktrace --->
0|MagicMir |

/home/pi/.pm2/logs/MagicMirror-out.log last 100 lines:
0|MagicMir | [11.01.2022 06:44.30.915] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 06:47.22.494] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 06:48.36.582] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 06:49.32.163] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 06:52.23.095] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 06:53.36.863] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 06:54.33.363] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 06:57.23.711] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 06:58.37.291] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 06:59.34.697] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:02.24.291] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:03.37.589] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:04.35.943] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:07.24.879] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:08.38.027] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:09.37.235] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:12.25.382] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:13.38.358] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:14.38.724] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:17.25.998] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:18.38.629] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:19.39.901] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:22.26.507] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:23.38.932] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:24.41.178] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:27.27.140] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:28.39.227] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:29.42.410] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:32.27.736] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:33.39.519] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:34.43.674] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:37.28.306] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:38.39.836] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:39.44.911] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:42.28.829] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:43.40.156] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:44.46.100] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:47.29.321] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:48.40.457] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:49.47.646] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:52.29.861] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:53.40.865] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:54.48.841] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 07:57.30.506] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 07:58.41.544] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 07:59.50.614] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:02.31.075] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:03.41.919] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:04.52.177] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:07.31.622] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:08.42.249] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:09.53.327] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:12.32.206] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:13.42.561] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:14.54.916] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:17.32.659] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:18.42.904] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:19.56.050] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:22.33.218] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:23.43.192] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:24.57.263] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:27.33.923] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:28.43.454] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:29.58.433] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:32.34.557] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:33.43.728] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:34.59.634] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:37.35.081] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:38.44.039] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:40.00.984] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:42.35.668] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:43.44.336] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:45.02.199] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:47.36.191] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:48.44.660] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:50.03.385] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:52.36.810] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:53.45.006] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 08:55.04.602] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 08:57.37.625] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 08:58.45.349] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:00.06.508] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 09:02.38.095] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 09:03.45.669] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:05.07.786] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 09:07.38.724] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 09:08.46.062] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:10.08.987] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 09:12.39.337] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 09:13.46.371] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:15.10.171] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 09:17.39.963] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 09:18.46.646] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:20.11.455] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 09:22.40.690] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 09:23.47.000] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:25.12.625] [INFO] Calendar-Fetcher: Broadcasting 5 events.
0|MagicMir | [11.01.2022 09:27.41.232] [INFO] Calendar-Fetcher: Broadcasting 2 events.
0|MagicMir | [11.01.2022 09:28.47.255] [INFO] Newsfeed-Fetcher: Broadcasting 39 items.
0|MagicMir | [11.01.2022 09:30.13.906] [INFO] Calendar-Fetcher: Broadcasting 5 events.

@khassel
Copy link
Collaborator

khassel commented Jan 11, 2022

googling EAI_AGAIN:

EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.

So you have problems with your internet connection, nothing we can do here.

@Fredi009sg
Copy link
Author

googling EAI_AGAIN:

EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.

So you have problems with your internet connection, nothing we can do here.

Ok can we increase the timeout maybe ? i don't know how i can solve this problem better...

@sdetweil
Copy link
Collaborator

Ok can we increase the timeout maybe ? i don't know how i can solve this problem better..

no, its WAY down in the system layer, way outside MagicMirror..

the whole system (raspberry pi) DEPENDS on reliable network connectivity, and name lookup is how it works.

I have seen this error a lot when the user is running a system, like pihole, to block advertisements

@Old-Engineer
Copy link

Old-Engineer commented Mar 10, 2022

Hi,
I am having similar / the same issue.
Error is -
[10.03.2022 03:18.39.287] [INFO] Calendar-Fetcher: Broadcasting 10 events.
[10.03.2022 03:20.50.355] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/XXXXXXXXXXXgmail.com/private-a5258b008b4d947ac79c51cc483979d6/basic.ics FetchError: request to https://calendar.google.com/calendar/ical/XXXXXXXXXXXXXgmail.com/private-a5258b008b4d947ac79c51cc483979d6/basic.ics failed, reason: getaddrinfo EAI_AGAIN calendar.google.com
at ClientRequest. (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
type: 'system',
errno: 'EAI_AGAIN',
code: 'EAI_AGAIN'
}
[10.03.2022 03:20.50.403] [ERROR] (node:28950) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined
at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:70:18
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[10.03.2022 03:20.50.405] [ERROR] (node:28950) 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: 1)
[10.03.2022 03:20.50.408] [ERROR] (node:28950) [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.

The pi connects wirelessly to my router.
Is there any merit in changing the DNS lookup information within the router to google's DNS servers?
It occasionally seems to ;-
a. Stop my wallpaper module from changing the background photos and/or
b. Going to a black screen.

A Ctrl_R forces a MM reread and restarts everything but it doesn't address the issue.

Any help / advise would be appreciated

@sdetweil
Copy link
Collaborator

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

@Old-Engineer
Copy link

@sdetweil

Thanks

@dieseltravis
Copy link

I have seen this many times when users are using an advertisement filter like pihole.

@sdetweil I always wondered what was causing my black screen! I have to keep a keyboard attached to the pi and hit CTRL+W about once every few days. Is there a domain or URL I can add to my pihole's allow list?

@sdetweil
Copy link
Collaborator

sdetweil commented May 7, 2022

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

@khassel
Copy link
Collaborator

khassel commented Oct 2, 2022

no update since May, can this be closed @Fredi009sg @MichMich ?

@MichMich MichMich closed this as completed Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants