Read the statement by Michael Teeuw here.
pm2 errors
-
Lets try try this again… I now see the calendar errors and can probably figure tose out but the pm2 is another story.
1|mm | /tmp/start-dcfcac42.sh: 1: /tmp/start-dcfcac42.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-1274b738.sh: 1: /tmp/start-1274b738.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-c2007b47.sh: 1: /tmp/start-c2007b47.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-32dcf27c.sh: 1: /tmp/start-32dcf27c.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-132c9b31.sh: 1: /tmp/start-132c9b31.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-11e3e2b7.sh: 1: /tmp/start-11e3e2b7.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-54d113c7.sh: 1: /tmp/start-54d113c7.sh: ./node_modules/.bin/electron: not found
1|mm | /tmp/start-8e8129ea.sh: 1: /tmp/start-8e8129ea.sh: ./node_modules/.bin/electron: not found/home/pi/.pm2/logs/MagicMirror-error.log last 30 lines:
3|MagicMir | [13.08.2022 13:38.28.480] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/n28eorb78g9osq8n9k5h689jmg%40group.calendar.google.com/private-046ced3569f15a4ed126f5bb09847134/basic.ics Error: Not Found
3|MagicMir | at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
3|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
3|MagicMir | [13.08.2022 13:43.28.887] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/n28eorb78g9osq8n9k5h689jmg%40group.calendar.google.com/private-046ced3569f15a4ed126f5bb09847134/basic.ics Error: Not Found
3|MagicMir | at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
3|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
3|MagicMir | [13.08.2022 13:48.29.118] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/n28eorb78g9osq8n9k5h689jmg%40group.calendar.google.com/private-046ced3569f15a4ed126f5bb09847134/basic.ics Error: Not Found
3|MagicMir | at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
3|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
3|MagicMir | [13.08.2022 13:53.29.385] [ERR -
@N6NG I have no idea what u are looking at
is MagicMirror installed in ~/MagicMirror
like normal?if so, then
pm2 stop all
pm2 statustake the number of the entry
pm2 delete xx
pm2 save forcexx is the number
then run the fixuppm2 script from my scripts
https://github.com/sdetweil/MagicMirror_scripts
last entry on the page
-
@sdetweil - At a guess, something went wrong during his installation that is preventing electron from loading. But the failed calls to Google for the calendar worry me. I suspect that he has two issues: failed installation and a Google calendar configuration error that is preventing Google from serving up his calendar.
You gave good advice, getting the electron issue sorted. But I think @N6NG is still going to have calendar problems.
-
@sdetweil
I did the list as you said twice… With the same results. I think it will just be easier to start from scratch. What is the recommended O.S to load MM on now?
Here is the result after I did the pm2 reset and you listed.1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
1|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
1|MagicMir | at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:313:30)
1|MagicMir | at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:267:26
1|MagicMir | [1143:0814/120009.873359:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
1|MagicMir | [1219:0814/120011.296500:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
1|MagicMir | [1246:0814/120011.766627:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
1|MagicMir | [14.08.2022 12:00.20.655] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/n28eorb78g9osq8n9k5h689jmg%40group.calendar.google.com/private-046ced3569f15a4ed126f5bb09847134/basic.ics Error: Not Found
1|MagicMir | at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
1|MagicMir | [14.08.2022 12:01.53.089] [WARN] You’re using a full whitelist configuration to allow for all IPs
1|MagicMir | [14.08.2022 12:01.55.581] [ERROR] ERROR! Could not validate main module js file.
1|MagicMir | [14.08.2022 12:01.55.596] [ERROR] ReferenceError: Log is not defined
1|MagicMir | at Object. (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:28:151216)
1|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1118:14)
1|MagicMir | at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
1|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32)
1|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12)
1|MagicMir | at c._load (node:electron/js2c/asar_bundle:5:13343)
1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
1|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
1|MagicMir | at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:313:30)
1|MagicMir | at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:267:26
1|MagicMir | [2074:0814/120156.172072:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
1|MagicMir | [2166:0814/120200.161965:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
1|MagicMir | [2204:0814/120200.457971:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
1|MagicMir | [14.08.2022 12:02.13.913] [WARN] You’re using a full whitelist configuration to allow for all IPs/home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
1|MagicMir | [14.08.2022 12:02.00.537] [LOG] Shutting down server…
1|MagicMir | [14.08.2022 12:02.00.552] [LOG] Stopping module helper: MMM-Wallpaper
1|MagicMir | [14.08.2022 12:02.00.559] [LOG] Stopping module helper: MMM-3Day-Forecast -
@N6NG said in pm2 errors:
Module.require
this indicates a down level version of npm
please use use my script, it does everything.
start from fresh SD card flash, cause I don’t know what you’ve got now, but it’s a mess -
@N6NG said in pm2 errors:
What is the recommended O.S to load MM
either the latest 32 bit full desktop
or if using video streams with MM, then the legacy 32 bit image -
@sdetweil No 64?
-
@N6NG no. not yet… too many issues