Unsolved Gateway and MM Stop working properly with the updates
-
Hello,
With the last update of Magic Mirror, gateway and googleassistant, the MM is not working fine.
It seems that now, the calendar and newsfeed (default modules) are not working properly…
The error is: “Error in the calendar module. Check logs for more details”Ok in this point i thought " Im going to install from scrach"
I have tried to reinstall 6 times of more (in the past with your old script) with the sdetweil script and it seems that everything is OK, I can configure calendar, RSS etc etc. But when I install de gateway module the MM doesnt start automatically, maybe pm2 issues.
If I try, npm start the MM start but with the same issue with calendar and newfeeds modules.I am in the bullseye version… Could you please help me with another trick or something like that?
Thanks for your effort!!!
-
Hi, for better helping,
Can I have the content of
npm start
command in MagicMirror folder
(don’t forget to stoppm2
app) -
Horge please create your own post because my issues is not solved and bugsounet can mix the errors.
@bugsounet tomorrow i will send you my log, thanks !! -
@bugsounet
This is my “original” microsd with my first MM. It worked perfectly but after the update sometimes (most os the times) calendar and newsfeed they don´t load. (the first time that i do npm start coincidentally everything started ok, but the second one the same error):raspi@raspberrypi:~ $ cd MagicMirror/ raspi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [20.10.2023 09:12.00.516] [LOG] Starting MagicMirror: v2.25.0 [20.10.2023 09:12.00.535] [LOG] Loading config ... [20.10.2023 09:12.00.543] [DEBUG] config template file not exists, no envsubst [20.10.2023 09:12.00.558] [LOG] Loading module helpers ... [20.10.2023 09:12.00.563] [LOG] No helper found for module: MMM-iFrameReload. [20.10.2023 09:12.00.566] [LOG] No helper found for module: alert. [20.10.2023 09:12.00.656] [LOG] Initializing new module helper ... [20.10.2023 09:12.00.659] [LOG] Module helper loaded: updatenotification [20.10.2023 09:12.00.662] [LOG] No helper found for module: clock. [20.10.2023 09:12.01.249] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.251] [LOG] Module helper loaded: calendar [20.10.2023 09:12.01.254] [LOG] No helper found for module: compliments. [20.10.2023 09:12.01.256] [LOG] No helper found for module: weather. [20.10.2023 09:12.01.645] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.646] [LOG] Module helper loaded: newsfeed [20.10.2023 09:12.01.659] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.660] [LOG] Module helper loaded: MMM-GoogleAssistant [20.10.2023 09:12.01.673] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.675] [LOG] Module helper loaded: Gateway [20.10.2023 09:12.01.687] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.689] [LOG] Module helper loaded: EXT-Detector [20.10.2023 09:12.01.694] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.696] [LOG] Module helper loaded: EXT-Alert [20.10.2023 09:12.01.849] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.850] [LOG] Module helper loaded: MMM-text-clock [20.10.2023 09:12.01.862] [LOG] Initializing new module helper ... [20.10.2023 09:12.01.863] [LOG] Module helper loaded: EXT-Pir [20.10.2023 09:12.02.107] [LOG] Initializing new module helper ... [20.10.2023 09:12.02.108] [LOG] Module helper loaded: EXT-Screen [20.10.2023 09:12.02.116] [LOG] Initializing new module helper ... [20.10.2023 09:12.02.117] [LOG] Module helper loaded: MMM-KeyBindings [20.10.2023 09:12.02.120] [LOG] No helper found for module: MMM-Carousel. [20.10.2023 09:12.02.121] [LOG] All module helpers loaded. [20.10.2023 09:12.02.152] [LOG] Starting server on port 8080 ... [20.10.2023 09:12.02.177] [WARN] You're using a full whitelist configuration to allow for all IPs [20.10.2023 09:12.03.065] [LOG] Server started ... [20.10.2023 09:12.03.073] [LOG] Connecting socket for: updatenotification [20.10.2023 09:12.03.078] [LOG] Starting module helper: updatenotification [20.10.2023 09:12.03.082] [LOG] Connecting socket for: calendar [20.10.2023 09:12.03.088] [LOG] Starting node helper for: calendar [20.10.2023 09:12.03.090] [LOG] Connecting socket for: newsfeed [20.10.2023 09:12.03.093] [LOG] Starting node helper for: newsfeed [20.10.2023 09:12.03.095] [LOG] Connecting socket for: MMM-GoogleAssistant [20.10.2023 09:12.03.099] [LOG] Connecting socket for: Gateway [20.10.2023 09:12.03.104] [LOG] Connecting socket for: EXT-Detector [20.10.2023 09:12.03.107] [LOG] Connecting socket for: EXT-Alert [20.10.2023 09:12.03.109] [LOG] Starting module helper: EXT-Alert [20.10.2023 09:12.03.111] [LOG] Connecting socket for: MMM-text-clock [20.10.2023 09:12.03.113] [LOG] Starting module helper: MMM-text-clock [20.10.2023 09:12.03.115] [LOG] Connecting socket for: EXT-Pir [20.10.2023 09:12.03.119] [LOG] Connecting socket for: EXT-Screen [20.10.2023 09:12.03.122] [LOG] Connecting socket for: MMM-KeyBindings [20.10.2023 09:12.03.124] [LOG] MMM-KeyBindings helper has started... [20.10.2023 09:12.03.126] [LOG] Sockets connected & modules started ... [20.10.2023 09:12.03.317] [LOG] Launching application. [2980:1020/091204.148573:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information ../../buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[2980:1020/091207.049591:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=6 MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information ../../buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[2980:1020/091208.840665:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=6 MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information ../../buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[2980:1020/091211.381730:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=6 [3031:1020/091212.729642:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [20.10.2023 09:12.22.126] [LOG] Create new calendarfetcher for url: https://opendata.euskadi.eus/contenidos/ds_eventos/calendario_laboral_2023/opendata/calendario_laboral_2023.ics - Interval: 3600000 [20.10.2023 09:12.22.624] [LOG] Create new newsfetcher for url: https://www.elcorreo.com/rss/2.0/?section=ultima-hora - Interval: 300000 [20.10.2023 09:12.22.649] [LOG] Create new newsfetcher for url: https://www.naiz.eus/eu/rss/news.rss - Interval: 300000 [20.10.2023 09:12.22.677] [LOG] [GA] MMM-GoogleAssistant Version: 5.2.1 rev: 230714 [20.10.2023 09:12.26.058] [LOG] [GA] [LIB] All libraries loaded! [20.10.2023 09:12.26.082] [LOG] [GATEWAY] Gateway Version: 3.6.3 rev: 231008 [20.10.2023 09:12.26.090] [INFO] Checking git for module: MMM-iFrameReload [20.10.2023 09:12.26.177] [LOG] [GA] [CONFIG_MERGE] Read config.js and check ConfigDeepMerge... [20.10.2023 09:12.26.180] [LOG] [GA] [CONFIG_MERGE] Perfect ConfigDeepMerge activated! [20.10.2023 09:12.26.182] [LOG] [GA] [SECURE] Check digital footprint... [20.10.2023 09:12.26.258] [LOG] [GA] [DATA] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [20.10.2023 09:12.26.268] [LOG] [GA] [DATA] Google Assistant is initialized. [20.10.2023 09:12.36.861] [LOG] [GATEWAY] [LIB] All libraries loaded! [20.10.2023 09:12.36.865] [LOG] [GATEWAY] Detected: MMM-GoogleAssistant [20.10.2023 09:12.36.895] [LOG] [GATEWAY] MagicMirror address: localhost [20.10.2023 09:12.36.900] [LOG] [GATEWAY] [TRANSLATION] [HOME] Use: default.home [20.10.2023 09:12.36.930] [LOG] [GA] [SECURE] Happy use ! [20.10.2023 09:12.36.933] [INFO] Checking git for module: MMM-GoogleAssistant [20.10.2023 09:12.37.236] [ERROR] Calendar Error. Could not fetch calendar: https://opendata.euskadi.eus/contenidos/ds_eventos/calendario_laboral_2023/opendata/calendario_laboral_2023.ics TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11457:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at runNextTicks (node:internal/process/task_queues:64:3) at process.processImmediate (node:internal/timers:447:9) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8422:28) at node:internal/deps/undici/undici:8380:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [20.10.2023 09:12.37.250] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://www.naiz.eus/eu/rss/news.rss TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11457:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8422:28) at node:internal/deps/undici/undici:8380:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [20.10.2023 09:12.37.878] [INFO] Checking git for module: Gateway [20.10.2023 09:12.37.993] [LOG] [GATEWAY] [PM2] checking PM2 using... [20.10.2023 09:12.38.112] [INFO] Newsfeed-Fetcher: reloadInterval set to ttl=3600000 for url https://www.elcorreo.com/rss/2.0/?section=ultima-hora [20.10.2023 09:12.39.130] [INFO] Checking git for module: EXT-Detector [20.10.2023 09:12.40.433] [INFO] Checking git for module: EXT-Alert [20.10.2023 09:12.41.273] [INFO] Checking git for module: MMM-text-clock [20.10.2023 09:12.41.437] [INFO] Newsfeed-Fetcher: Broadcasting 100 items. [20.10.2023 09:12.41.467] [INFO] Checking git for module: EXT-Pir [20.10.2023 09:12.41.603] [INFO] Checking git for module: EXT-Screen [20.10.2023 09:12.41.782] [INFO] Checking git for module: MMM-KeyBindings [20.10.2023 09:12.42.094] [INFO] Checking git for module: MMM-Carousel [20.10.2023 09:12.42.367] [INFO] Checking git for module: MagicMirror [20.10.2023 09:12.44.453] [LOG] [GATEWAY] [PM2] You don't use PM2 [20.10.2023 09:12.51.504] [ERROR] Failed to retrieve repo info for MMM-GoogleAssistant: Error: Command failed: cd /home/raspi/MagicMirror/modules/MMM-GoogleAssistant && git fetch -n --dry-run error: archivo de objeto .git/objects/10/ca945f9aabbc8d4fedc9879ef4142fcac3e2c5 está vacío fatal: no se puede leer la información existente del objeto 10ca945f9aabbc8d4fedc9879ef4142fcac3e2c5 fatal: index-pack falló [20.10.2023 09:13.08.338] [LOG] [GATEWAY] [SYSTEMINFO] Read Uptimed [20.10.2023 09:13.08.341] [LOG] [GATEWAY] [SYSTEMINFO] Initialized [20.10.2023 09:13.08.342] [LOG] [GATEWAY] no CLIENT_ID found in your config! [20.10.2023 09:13.08.343] [WARN] [GATEWAY] SmartHome functionality is disabled [20.10.2023 09:13.08.346] [WARN] [GATEWAY] WARN: You are using default username or default password [20.10.2023 09:13.08.347] [WARN] [GATEWAY] WARN: Don't forget to change it! [20.10.2023 09:13.09.696] [LOG] [GATEWAY] [HyperWatch] Logger is enabled [20.10.2023 09:13.09.699] [LOG] [GATEWAY] Start listening on port 8081 [20.10.2023 09:13.09.700] [LOG] [GATEWAY] Available locally at http://192.168.130.24:8081 [20.10.2023 09:13.09.702] [LOG] [GATEWAY] Gateway Ready! [20.10.2023 09:13.09.708] [LOG] [GATEWAY] Detected: Gateway [20.10.2023 09:13.09.829] [LOG] [GATEWAY] Detected: EXT-Alert [20.10.2023 09:13.09.847] [LOG] [DETECTOR] EXT-Detector Version: 2.3.5 rev: 231001 [20.10.2023 09:13.10.615] [LOG] [DETECTOR] [LIB] All libraries loaded! [20.10.2023 09:13.10.620] [LOG] [DETECTOR] [DATA] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [20.10.2023 09:13.10.629] [LOG] [DETECTOR] [DATA] Snowboy is initialized with 1 Models: jarvis [20.10.2023 09:13.10.633] [LOG] [DETECTOR] [DATA] Initialized [20.10.2023 09:13.10.649] [LOG] [GATEWAY] Detected: EXT-Detector [20.10.2023 09:13.10.666] [LOG] [ALERT] EXT-Alert Version: 1.3.0 rev: 231001 [20.10.2023 09:13.10.700] [LOG] [PIR] EXT-Pir Version: 1.1.4 rev: 231001 [20.10.2023 09:13.10.754] [LOG] [PIR] [LIB] All libraries loaded! [20.10.2023 09:13.10.758] [LOG] [SCREEN] EXT-Screen Version: 2.2.1 rev: 231010 [20.10.2023 09:13.10.764] [LOG] [SCREEN] Mode 1: vcgencmd [20.10.2023 09:13.10.768] [LOG] [SCREEN] [CRON] [ON] no cron defined [20.10.2023 09:13.10.770] [LOG] [SCREEN] [CRON] [OFF] no cron defined [20.10.2023 09:13.10.881] [LOG] [GATEWAY] Detected: EXT-Screen [20.10.2023 09:13.10.901] [LOG] [GATEWAY] Detected: EXT-Pir [20.10.2023 09:13.11.117] [LOG] [DETECTOR] [RULES] Start listening. 1 Models
-
@bugsounet
In another try with another SD (maybe i have tried in another 3 micro sd with the same result)
This is the installation from scratch, i have installed de MM with the script and it seems that everything goes well, configurations, calendar, newsfeed, autorun etc… but when I install the gateway module the things start to go wrong.TEST
Is strange because sometimes it detects de pm2 and sometime no:
For example:raspi@raspberrypi:~ $ pm2 stop all [PM2] Spawning PM2 daemon with pm2_home=/home/raspi/.pm2 [PM2] PM2 Successfully daemonized [PM2][WARN] No process found
and when i do npm start the result (gateway and googleassistant are working):
raspi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [20.10.2023 09:53.58.778] [LOG] Starting MagicMirror: v2.25.0 [20.10.2023 09:53.58.808] [LOG] Loading config ... [20.10.2023 09:53.58.819] [DEBUG] config template file not exists, no envsubst [20.10.2023 09:53.58.835] [LOG] Loading module helpers ... [20.10.2023 09:53.58.874] [LOG] Initializing new module helper ... [20.10.2023 09:53.58.878] [LOG] Module helper loaded: Gateway [20.10.2023 09:53.58.902] [LOG] Initializing new module helper ... [20.10.2023 09:53.58.904] [LOG] Module helper loaded: MMM-GoogleAssistant [20.10.2023 09:53.58.910] [LOG] No helper found for module: alert. [20.10.2023 09:53.58.992] [LOG] Initializing new module helper ... [20.10.2023 09:53.58.994] [LOG] Module helper loaded: updatenotification [20.10.2023 09:53.58.998] [LOG] No helper found for module: clock. [20.10.2023 09:53.59.865] [LOG] Initializing new module helper ... [20.10.2023 09:53.59.866] [LOG] Module helper loaded: calendar [20.10.2023 09:53.59.870] [LOG] No helper found for module: compliments. [20.10.2023 09:53.59.873] [LOG] No helper found for module: weather. [20.10.2023 09:54.00.414] [LOG] Initializing new module helper ... [20.10.2023 09:54.00.415] [LOG] Module helper loaded: newsfeed [20.10.2023 09:54.00.416] [LOG] All module helpers loaded. [20.10.2023 09:54.00.446] [LOG] Starting server on port 8080 ... [20.10.2023 09:54.02.151] [LOG] Server started ... [20.10.2023 09:54.02.154] [LOG] Connecting socket for: Gateway [20.10.2023 09:54.02.158] [LOG] Connecting socket for: MMM-GoogleAssistant [20.10.2023 09:54.02.161] [LOG] Connecting socket for: updatenotification [20.10.2023 09:54.02.163] [LOG] Starting module helper: updatenotification [20.10.2023 09:54.02.164] [LOG] Connecting socket for: calendar [20.10.2023 09:54.02.166] [LOG] Starting node helper for: calendar [20.10.2023 09:54.02.168] [LOG] Connecting socket for: newsfeed [20.10.2023 09:54.02.170] [LOG] Starting node helper for: newsfeed [20.10.2023 09:54.02.172] [LOG] Sockets connected & modules started ... [20.10.2023 09:54.02.705] [LOG] Launching application. [1437:1020/095403.838870:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information ../../buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[1437:1020/095408.306338:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=6 MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information ../../buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[1437:1020/095410.807011:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=6 MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information ../../buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[1437:1020/095412.795436:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=6 [1486:1020/095414.307135:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [20.10.2023 09:54.18.818] [LOG] [GA] MMM-GoogleAssistant Version: 5.4.3 rev: 231014 [20.10.2023 09:54.18.859] [LOG] [GA] [LIB] Loaded: ../components/BufferToMP3.js -> this.lib.BufferToMP3 [20.10.2023 09:54.18.869] [LOG] [GA] [LIB] Loaded: ../components/lpcm16.js -> this.lib.Recorder [20.10.2023 09:54.22.147] [LOG] [GA] [LIB] Loaded: ../components/googleAssistant -> this.lib.GoogleAssistant [20.10.2023 09:54.22.463] [LOG] [GA] [LIB] Loaded: axios -> this.lib.axios [20.10.2023 09:54.23.709] [LOG] [GA] [LIB] Loaded: cheerio -> this.lib.cheerio [20.10.2023 09:54.23.712] [LOG] [GA] [LIB] Loaded: child_process -> this.lib.childProcess [20.10.2023 09:54.23.714] [LOG] [GA] [LIB] Loaded: fs -> this.lib.fs [20.10.2023 09:54.23.716] [LOG] [GA] [LIB] Loaded: os -> this.lib.os [20.10.2023 09:54.23.827] [LOG] [GA] [LIB] Loaded: html-entities -> this.lib.html-entities [20.10.2023 09:54.24.053] [LOG] [GA] [LIB] Loaded: node-html-parser -> this.lib.HTMLParser [20.10.2023 09:54.24.055] [LOG] [GA] [LIB] Loaded: path -> this.lib.path [20.10.2023 09:54.24.063] [LOG] [GA] [LIB] Loaded: ../components/assistantConverse.js -> this.lib.Assistant [20.10.2023 09:54.24.071] [LOG] [GA] [LIB] Loaded: ../components/screenParser.js -> this.lib.ScreenParser [20.10.2023 09:54.24.080] [LOG] [GA] [LIB] Loaded: ../components/platform.js -> this.lib.platform [20.10.2023 09:54.24.087] [LOG] [GA] [LIB] Loaded: ../components/shellExec.js -> this.lib.shellExec [20.10.2023 09:54.24.095] [LOG] [GA] [LIB] Loaded: ../components/configMerge.js -> this.lib.configMerge [20.10.2023 09:54.24.105] [LOG] [GA] [LIB] Loaded: ../components/googleSearch.js -> this.lib.googleSearch [20.10.2023 09:54.24.113] [LOG] [GA] [LIB] Loaded: ../components/searchOnGoogle.js -> this.lib.searchOnGoogle [20.10.2023 09:54.24.121] [LOG] [GA] [LIB] Loaded: ../components/recipes.js -> this.lib.recipes [20.10.2023 09:54.24.130] [LOG] [GA] [LIB] Loaded: ../components/activateAssistant.js -> this.lib.activateAssistant [20.10.2023 09:54.24.132] [LOG] [GA] [LIB] All libraries loaded! [20.10.2023 09:54.24.136] [LOG] Create new calendarfetcher for url: https://opendata.euskadi.eus/contenidos/ds_eventos/calendario_laboral_2023/opendata/calendario_laboral_2023.ics - Interval: 3600000 [20.10.2023 09:54.24.697] [LOG] Create new newsfetcher for url: https://www.elcorreo.com/rss/2.0/?section=ultima-hora - Interval: 300000 [20.10.2023 09:54.24.724] [LOG] Create new newsfetcher for url: https://www.naiz.eus/eu/rss/news.rss - Interval: 300000 [20.10.2023 09:54.24.768] [LOG] [GATEWAY] Gateway Version: 3.6.3 rev: 231008 [20.10.2023 09:54.24.785] [INFO] Checking git for module: Gateway [20.10.2023 09:54.24.866] [LOG] [GA] [CONFIG_MERGE] Read config.js and check ConfigDeepMerge... [20.10.2023 09:54.24.870] [LOG] [GA] [CONFIG_MERGE] Perfect ConfigDeepMerge activated! [20.10.2023 09:54.24.876] [LOG] [GA] [SECURE] Check digital footprint... [20.10.2023 09:54.24.953] [LOG] [GA] [DATA] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [20.10.2023 09:54.24.960] [LOG] [GA] [DATA] Google Assistant is initialized. [20.10.2023 09:54.25.095] [LOG] [GATEWAY] [LIB] Loaded: ../components/GWTools.js -> this.lib.GWTools [20.10.2023 09:54.25.104] [LOG] [GATEWAY] [LIB] Loaded: ../components/SHTools.js -> this.lib.SHTools [20.10.2023 09:54.25.135] [LOG] [GATEWAY] [LIB] Loaded: ../components/GatewayMiddleware.js -> this.lib.Gateway [20.10.2023 09:54.25.145] [LOG] [GATEWAY] [LIB] Loaded: ../components/hyperwatch.js -> this.lib.hyperwatch [20.10.2023 09:54.25.154] [LOG] [GATEWAY] [LIB] Loaded: ../components/SmartHomeMiddleware.js -> this.lib.SmartHome [20.10.2023 09:54.25.164] [LOG] [GATEWAY] [LIB] Loaded: ../components/actionsOnGoogle.js -> this.lib.ActionsOnGoogle [20.10.2023 09:54.25.173] [LOG] [GATEWAY] [LIB] Loaded: ../components/DeviceManagement.js -> this.lib.Device [20.10.2023 09:54.25.181] [LOG] [GATEWAY] [LIB] Loaded: ../components/SHCallbacks.js -> this.lib.callback [20.10.2023 09:54.25.190] [LOG] [GATEWAY] [LIB] Loaded: ../components/homegraph.js -> this.lib.homegraph [20.10.2023 09:54.25.200] [LOG] [GATEWAY] [LIB] Loaded: ../components/systemInformation.js -> this.lib.SystemInformation [20.10.2023 09:54.25.208] [LOG] [GATEWAY] [LIB] Loaded: ../components/speedtest.js -> this.lib.speedtest [20.10.2023 09:54.25.219] [LOG] [GATEWAY] [LIB] Loaded: ../components/speedtest-net.js -> this.lib.speedtest-net [20.10.2023 09:54.25.363] [LOG] [GATEWAY] [LIB] Loaded: node-pty -> this.lib.pty [20.10.2023 09:54.25.367] [LOG] [GATEWAY] [LIB] Loaded: express -> this.lib.express [20.10.2023 09:54.25.370] [LOG] [GATEWAY] [LIB] Loaded: http -> this.lib.http [20.10.2023 09:54.26.031] [LOG] [GATEWAY] [LIB] Loaded: semver -> this.lib.semver [20.10.2023 09:54.26.035] [LOG] [GATEWAY] [LIB] Loaded: body-parser -> this.lib.bodyParser [20.10.2023 09:54.26.246] [LOG] [GATEWAY] [LIB] Loaded: express-session -> this.lib.session [20.10.2023 09:54.26.364] [LOG] [GATEWAY] [LIB] Loaded: passport -> this.lib.passport [20.10.2023 09:54.26.394] [LOG] [GATEWAY] [LIB] Loaded: passport-local -> this.lib.LocalStrategy [20.10.2023 09:54.26.397] [LOG] [GATEWAY] [LIB] Loaded: socket.io -> this.lib.Socket [20.10.2023 09:54.26.401] [LOG] [GATEWAY] [LIB] Loaded: cors -> this.lib.cors [20.10.2023 09:54.26.403] [LOG] [GATEWAY] [LIB] Loaded: path -> this.lib.path [20.10.2023 09:54.26.405] [LOG] [GATEWAY] [LIB] Loaded: child_process -> this.lib.childProcess [20.10.2023 09:54.26.408] [LOG] [GATEWAY] [LIB] Loaded: fs -> this.lib.fs [20.10.2023 09:54.26.410] [LOG] [GATEWAY] [LIB] Loaded: util -> this.lib.util [20.10.2023 09:54.26.745] [LOG] [GATEWAY] [LIB] Loaded: systeminformation -> this.lib.si [20.10.2023 09:54.26.765] [LOG] [GATEWAY] [LIB] Loaded: command-exists -> this.lib.commandExists [20.10.2023 09:54.26.767] [LOG] [GATEWAY] [LIB] Loaded: readline -> this.lib.readline [20.10.2023 09:54.26.769] [LOG] [GATEWAY] [LIB] Loaded: stream -> this.lib.Stream [20.10.2023 09:54.37.521] [LOG] [GATEWAY] [LIB] Loaded: actions-on-google -> this.lib.actions [20.10.2023 09:54.37.525] [LOG] [GATEWAY] [LIB] Loaded: googleapis -> this.lib.googleapis [20.10.2023 09:54.37.527] [LOG] [GATEWAY] [LIB] Loaded: google-auth-library -> this.lib.GoogleAuthLibrary [20.10.2023 09:54.37.741] [LOG] [GATEWAY] [LIB] Loaded: lodash -> this.lib._ [20.10.2023 09:54.37.743] [LOG] [GATEWAY] [LIB] Loaded: moment -> this.lib.moment [20.10.2023 09:54.37.790] [LOG] [GATEWAY] [LIB] Loaded: mkdirp -> this.lib.mkdirp [20.10.2023 09:54.37.791] [LOG] [GATEWAY] [LIB] Loaded: https -> this.lib.https [20.10.2023 09:54.38.406] [LOG] [GATEWAY] [LIB] Loaded: decompress -> this.lib.decompress [20.10.2023 09:54.38.408] [LOG] [GATEWAY] [LIB] Loaded: decompress-tar -> this.lib.decompressTar [20.10.2023 09:54.38.410] [LOG] [GATEWAY] [LIB] Loaded: decompress-tarbz2 -> this.lib.decompressTarbz2 [20.10.2023 09:54.38.412] [LOG] [GATEWAY] [LIB] Loaded: decompress-targz -> this.lib.decompressTargz [20.10.2023 09:54.38.413] [LOG] [GATEWAY] [LIB] Loaded: decompress-unzip -> this.lib.decompressUnzip [20.10.2023 09:54.38.746] [LOG] [GATEWAY] [LIB] Loaded: @felipecrs/decompress-tarxz -> this.lib.decompressTarXz [20.10.2023 09:54.38.757] [LOG] [GATEWAY] [LIB] Loaded: tree-kill -> this.lib.kill [20.10.2023 09:54.38.767] [LOG] [GATEWAY] [LIB] Loaded: sha256-file -> this.lib.sha256_file [20.10.2023 09:54.38.767] [LOG] [GATEWAY] [LIB] All libraries loaded! [20.10.2023 09:54.38.770] [LOG] [GATEWAY] Detected: MMM-GoogleAssistant [20.10.2023 09:54.38.796] [LOG] [GATEWAY] MagicMirror address: localhost [20.10.2023 09:54.38.811] [LOG] [GATEWAY] [TRANSLATION] [HOME] Use: default.home [20.10.2023 09:54.38.897] [ERROR] Calendar Error. Could not fetch calendar: https://opendata.euskadi.eus/contenidos/ds_eventos/calendario_laboral_2023/opendata/calendario_laboral_2023.ics TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11457:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at runNextTicks (node:internal/process/task_queues:64:3) at process.processImmediate (node:internal/timers:447:9) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8422:28) at node:internal/deps/undici/undici:8380:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [20.10.2023 09:54.38.915] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://www.elcorreo.com/rss/2.0/?section=ultima-hora TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11457:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at runNextTicks (node:internal/process/task_queues:64:3) at process.processImmediate (node:internal/timers:447:9) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8422:28) at node:internal/deps/undici/undici:8380:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [20.10.2023 09:54.38.929] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://www.naiz.eus/eu/rss/news.rss TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11457:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8422:28) at node:internal/deps/undici/undici:8380:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [20.10.2023 09:54.38.942] [INFO] Checking git for module: MMM-GoogleAssistant [20.10.2023 09:54.39.056] [LOG] [GA] [SECURE] Happy use ! [20.10.2023 09:54.39.097] [INFO] Checking git for module: MagicMirror [20.10.2023 09:54.39.185] [LOG] [GATEWAY] [PM2] checking PM2 using... [20.10.2023 09:54.43.777] [LOG] [GATEWAY] [PM2] You don't use PM2 [20.10.2023 09:55.05.647] [LOG] [GATEWAY] [SYSTEMINFO] Read Uptimed [20.10.2023 09:55.05.650] [LOG] [GATEWAY] [SYSTEMINFO] Initialized [20.10.2023 09:55.05.651] [LOG] [GATEWAY] no CLIENT_ID found in your config! [20.10.2023 09:55.05.652] [WARN] [GATEWAY] SmartHome functionality is disabled [20.10.2023 09:55.05.655] [LOG] [GATEWAY] EXT plugins in database: 32 [20.10.2023 09:55.05.657] [WARN] [GATEWAY] WARN: You are using default username or default password [20.10.2023 09:55.05.658] [WARN] [GATEWAY] WARN: Don't forget to change it! [20.10.2023 09:55.05.687] [LOG] [GATEWAY] Find 1 installed plugins in MagicMirror [20.10.2023 09:55.05.689] [LOG] [GATEWAY] Find 0 configured plugins in config file [20.10.2023 09:55.05.691] [LOG] [GATEWAY] Find MMM-GoogleAssistant v5.4.3 [20.10.2023 09:55.05.692] [LOG] [GATEWAY] Find MMM-GoogleAssistant configured in MagicMirror [20.10.2023 09:55.05.694] [LOG] [GATEWAY] webviewTag Configured: false [20.10.2023 09:55.05.695] [LOG] [GATEWAY] Language set es [20.10.2023 09:55.05.711] [LOG] [GATEWAY] Create Gateway needed routes... [20.10.2023 09:55.07.029] [LOG] [GATEWAY] [HyperWatch] Logger is enabled [20.10.2023 09:55.07.033] [LOG] [GATEWAY] Start listening on port 8081 [20.10.2023 09:55.07.034] [LOG] [GATEWAY] Available locally at http://192.168.130.24:8081 [20.10.2023 09:55.07.035] [LOG] [GATEWAY] Gateway Ready! [20.10.2023 09:55.07.039] [LOG] [GATEWAY] Detected: Gateway
summarizing:
With the original microsd everything was going well until I updated MM, gateway and googleassistant, in this moment calendar and newsfeed they stopped working well, sometimes fine, sometimes wrong.
I tried several times with another installations from scrach with the same result:
First of all everything well until gateway installation, in this moment
it no longer autostarts and if i do npm start I can start the MM but with the calendar and newsfeed errors.Im very rookie and maybe is a simple fix that i dont know but if you can help me i apreciate very much!!
Sorry for the long post :S and for being such a pain in the ass.
Thanks for your work
-
Hi, there is no problem but loading take many times (it’s depend of rapsberry do you use)
there is 2 solution for this:
- in magicmirror config
don’t load
MMM-GoogleAssistant
/Gateway
at first
and load it on the end... modules: [ { module: "alert", }, { module: "clock", .... }, { module: "weather", .... }, .... { module: "MMM-GoogleAssistant", .... }, { module: "Gateway", ... } ... ]
- after you can change fetch interval
and it will retry on next fetch
sample for calendar, add this on config
"fetchInterval": 60000,
and it will fetch every minutes -
Hello again!
I tried it this morning and you are right! my raspberry is a 3b model and it seems to be underpowered with the last update (maybe this update needs more powerfull) if I set up the fetch interval after some second it works properly… but firt of all always appears the error message yet (i configured gateway and google assistand in the end of the config list) so in any case it works and that is the important thing
thank you very much!
Anyway, do you know why in the last installations the pm2 is not working properly? when i intall gateway module MM doesnt start automatically, strange right? or maybe Iam doing something wrong? (you have the log too) I say this for future installations.
thanks you are a rock star!
-
bugsounet