Read the statement by Michael Teeuw here.
Mirror Crashing
-
Hey Guys. I am having an issue. I recently updated my mirror to 2.12.0 and I have noticed that it crashes a few times a day. Below the error log.
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 2 info using npm@6.1.0 3 info using node@v9.11.2 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.12.0~prestart: magicmirror@2.12.0 6 info lifecycle magicmirror@2.12.0~start: magicmirror@2.12.0 7 verbose lifecycle magicmirror@2.12.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle magicmirror@2.12.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/nod$ 9 verbose lifecycle magicmirror@2.12.0~start: CWD: /home/pi/MagicMirror 10 silly lifecycle magicmirror@2.12.0~start: Args: [ '-c', 10 silly lifecycle 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ] 11 silly lifecycle magicmirror@2.12.0~start: Returned: code: 1 signal: null 12 info lifecycle magicmirror@2.12.0~start: Failed to exec start script 13 verbose stack Error: magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16) 13 verbose stack at EventEmitter.emit (events.js:180:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:180:13) 13 verbose stack at maybeClose (internal/child_process.js:936:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 14 verbose pkgid magicmirror@2.12.0 15 verbose cwd /home/pi/MagicMirror 16 verbose Linux 4.14.52-v7+ 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" 18 verbose node v9.11.2 19 verbose npm v6.1.0 20 error code ELIFECYCLE 21 error errno 1 22 error magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 22 error Exit status 1 23 error Failed at the magicmirror@2.12.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]
I have also noticed this font error in the pm2 logs. Not sure if this is an issue and which module it refers to.
Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" ATTENTION: default value of option force_s3tc_enable overridden by environment. [2020-07-09 20:17:13.954] [ERROR] Thu Jul 09 2020 20:17:13 GMT+0200 (South Africa Standard Time) - WatchDog: Heartbeat timeout. Frontend migh$ npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.12.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-07-09T18_17_14_885Z-debug.log Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" ATTENTION: default value of option force_s3tc_enable overridden by environment.
Any help or advice would be appreciated.
Thanks
-
Hi,
can you try this :
pm2 stop 0 cd ~/MagicMirror npm start
and give me full log result because PM2 log don’t speak enough
-
@Bugsounet Hi. Below from the npm log on start of mirror.
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start', 'mm' ] 2 info using npm@6.1.0 3 info using node@v9.11.2 4 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/.npm/_logs/package.json' 5 verbose cwd /home/pi/.npm/_logs 6 verbose Linux 4.14.52-v7+ 7 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" "mm" 8 verbose node v9.11.2 9 verbose npm v6.1.0 10 error path /home/pi/.npm/_logs/package.json 11 error code ENOENT 12 error errno -2 13 error syscall open 14 error enoent ENOENT: no such file or directory, open '/home/pi/.npm/_logs/package.json' 15 error enoent This is related to npm not being able to find a file. 16 verbose exit [ -2, true ]
And from the NPM tail on npm start I can see only 1 error:
[2020-07-10 20:06:50.717] [LOG] Connecting socket for: MMM-NOAA3 [2020-07-10 20:06:50.724] [LOG] Sockets connected & modules started ... Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" [2020-07-10 20:06:51.372] [LOG] Launching application. Username for 'https://github.com': [2020-07-10 20:07:13.490] [LOG] [20:07:13] - DEBUG - MMM-OpeningHours : Notification - SETUP [2020-07-10 20:07:13.499] [LOG] [20:07:13] - DEBUG - MMM-OpeningHours : Started - false [2020-07-10 20:07:13.502] [LOG] [20:07:13] - DEBUG - MMM-OpeningHours : Config - {
-
I say don’t want this…
I want the log when you start it …pi@Raspberry:~/MagicMirror $ npm start magicmirror@2.12.0 start /home/pi/MagicMirror DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-07-10 20:17:18.854] [LOG] Starting MagicMirror: v2.12.0 [2020-07-10 20:17:18.871] [LOG] Loading config ... [2020-07-10 20:17:18.884] [LOG] Loading module helpers ... [2020-07-10 20:17:18.888] [LOG] No helper found for module: alert. [2020-07-10 20:17:18.988] [LOG] Initializing new module helper ... [2020-07-10 20:17:18.990] [LOG] Module helper loaded: updatenotification ...
sorry if I ask a complex thing for you
-
@Bugsounet Hi. Not complex at all.
It seems that a module I installed previously was failing looking for my github credentials. I have removed the module and am tailing to log to see if any other errors pop up. It is just after 23:00 here. I will post tomorrow morning if there is anything else.
-
@Bugsounet So, it seems like after removing that module the mirror hasn’t crashed again. It has been steady since around 23:00 last night. I will monitor today and see what it does.
-
@Bugsounet Ok, so mirror is still crashing. [0_1594471563735_log3.txt](Uploading 100%)
This is from the npm log: Not sure if it is electron related or not. I have also attached the npm log which I piped to file when running
npm start
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 2 info using npm@6.1.0 3 info using node@v9.11.2 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.12.0~prestart: magicmirror@2.12.0 6 info lifecycle magicmirror@2.12.0~start: magicmirror@2.12.0 7 verbose lifecycle magicmirror@2.12.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle magicmirror@2.12.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/hom$ 9 verbose lifecycle magicmirror@2.12.0~start: CWD: /home/pi/MagicMirror 10 silly lifecycle magicmirror@2.12.0~start: Args: [ '-c', 10 silly lifecycle 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ] 11 silly lifecycle magicmirror@2.12.0~start: Returned: code: 1 signal: null 12 info lifecycle magicmirror@2.12.0~start: Failed to exec start script 13 verbose stack Error: magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16) 13 verbose stack at EventEmitter.emit (events.js:180:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:180:13) 13 verbose stack at maybeClose (internal/child_process.js:936:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 14 verbose pkgid magicmirror@2.12.0 15 verbose cwd /home/pi/MagicMirror 16 verbose Linux 4.14.52-v7+ 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" 18 verbose node v9.11.2 19 verbose npm v6.1.0 20 error code ELIFECYCLE 21 error errno 1 22 error magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 22 error Exit status 1 23 error Failed at the magicmirror@2.12.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]
-
Seems like one can’t upload text files. So here is the log:
> magicmirror@2.12.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-07-11 14:38:29.082] [LOG] Starting MagicMirror: v2.12.0 [2020-07-11 14:38:29.107] [LOG] Loading config ... [2020-07-11 14:38:29.126] [LOG] Loading module helpers ... [2020-07-11 14:38:29.134] [LOG] No helper found for module: alert. [2020-07-11 14:38:29.327] [LOG] Initializing new module helper ... [2020-07-11 14:38:29.336] [LOG] Module helper loaded: updatenotification [2020-07-11 14:38:29.339] [LOG] No helper found for module: clock. [2020-07-11 14:38:29.375] [LOG] Initializing new module helper ... [2020-07-11 14:38:29.377] [LOG] Module helper loaded: MMM-Admin-Interface [2020-07-11 14:38:30.746] [LOG] Initializing new module helper ... [2020-07-11 14:38:30.747] [LOG] Module helper loaded: MMM-COVID19 [2020-07-11 14:38:30.893] [LOG] Initializing new module helper ... [2020-07-11 14:38:30.895] [LOG] Module helper loaded: MMM-OpeningHours [2020-07-11 14:38:30.897] [LOG] No helper found for module: MMM-QRCode. [2020-07-11 14:38:30.899] [LOG] No helper found for module: MMM-pages. [2020-07-11 14:38:30.901] [LOG] No helper found for module: MMM-page-indicator. [2020-07-11 14:38:31.040] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.042] [LOG] Module helper loaded: MMM-NetworkScanner [2020-07-11 14:38:31.322] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.325] [LOG] Module helper loaded: calendar [2020-07-11 14:38:31.327] [LOG] No helper found for module: compliments. [2020-07-11 14:38:31.452] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.454] [LOG] Module helper loaded: newsfeed [2020-07-11 14:38:31.456] [LOG] No helper found for module: MMM-Hue. [2020-07-11 14:38:31.520] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.522] [LOG] Module helper loaded: MMM-RandomQuranAyah [2020-07-11 14:38:31.728] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.730] [LOG] Module helper loaded: MMM-Remote-Control [2020-07-11 14:38:31.805] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.807] [LOG] Module helper loaded: MMM-SystemStats [2020-07-11 14:38:31.816] [LOG] Initializing new module helper ... [2020-07-11 14:38:31.817] [LOG] Module helper loaded: MMM-WatchDog [2020-07-11 14:38:33.536] [LOG] Initializing new module helper ... [2020-07-11 14:38:33.538] [LOG] Module helper loaded: MMM-NOAA3 [2020-07-11 14:38:33.539] [LOG] All module helpers loaded. [2020-07-11 14:38:34.140] [LOG] Starting server on port 8080 ... [2020-07-11 14:38:34.180] [LOG] Server started ... [2020-07-11 14:38:34.182] [LOG] Connecting socket for: updatenotification [2020-07-11 14:38:34.184] [LOG] Connecting socket for: MMM-Admin-Interface [2020-07-11 14:38:34.186] [LOG] Starting node helper for: MMM-Admin-Interface [2020-07-11 14:38:34.540] [LOG] Connecting socket for: MMM-COVID19 [2020-07-11 14:38:34.548] [LOG] Starting node helper for: MMM-COVID19 [2020-07-11 14:38:34.550] [LOG] Connecting socket for: MMM-OpeningHours [2020-07-11 14:38:34.755] [LOG] [14:38:34] - MMM-OpeningHours : Starting helper: MMM-OpeningHours [2020-07-11 14:38:34.759] [LOG] Connecting socket for: MMM-NetworkScanner [2020-07-11 14:38:34.761] [LOG] Starting module: MMM-NetworkScanner [2020-07-11 14:38:34.763] [LOG] Connecting socket for: calendar [2020-07-11 14:38:34.765] [LOG] Starting node helper for: calendar [2020-07-11 14:38:34.767] [LOG] Connecting socket for: newsfeed [2020-07-11 14:38:34.768] [LOG] Starting node helper for: newsfeed [2020-07-11 14:38:34.770] [LOG] Connecting socket for: MMM-RandomQuranAyah [2020-07-11 14:38:34.771] [LOG] Starting node_helper.js for MMM-RandomQuranAyah. [2020-07-11 14:38:34.773] [LOG] Connecting socket for: MMM-Remote-Control [2020-07-11 14:38:34.775] [LOG] Starting node helper for: MMM-Remote-Control [2020-07-11 14:38:34.803] [LOG] Connecting socket for: MMM-SystemStats [2020-07-11 14:38:34.806] [LOG] Connecting socket for: MMM-WatchDog [2020-07-11 14:38:34.808] [LOG] Starting module helper: MMM-WatchDog [2020-07-11 14:38:34.809] [LOG] Connecting socket for: MMM-NOAA3 [2020-07-11 14:38:34.816] [LOG] Sockets connected & modules started ... Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" [2020-07-11 14:38:35.278] [LOG] Launching application. ATTENTION: default value of option force_s3tc_enable overridden by environment. [2020-07-11 14:38:55.482] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : Notification - SETUP [2020-07-11 14:38:55.485] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : Started - false [2020-07-11 14:38:55.487] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : Config - { googleApiKey: 'MY-API-KEY', places: [ 'ChIJl8h2VlIJlR4Rn5311bQlcXQ', 'ChIJB0lb_mgPlR4Rje4UAMJnOvY', 'ChIJZwMQpQGglR4RLpdkGUhNZTE', 'ChIJ-cM-E1kJlR4R_roOyHfbmaI', 'ChIJe-_APDkJlR4Rux6UduHCpvg' ], scheduleTime: 14400000, timeFormat: 24, language: 'en', styling: { showTimeUntil: true, textAlign: 'center', size: 'xsmall' }, debug: 'false', mockData: false } [2020-07-11 14:38:55.715] [LOG] [14:38:55] - MMM-OpeningHours : Fetching opening hours [2020-07-11 14:38:55.721] [LOG] [14:38:55] - MMM-OpeningHours : Using Google Places API. [2020-07-11 14:38:55.751] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : googlePromise - Promise { <pending> } [2020-07-11 14:38:55.756] [LOG] [14:38:55] - MMM-OpeningHours : Using Google Places API. [2020-07-11 14:38:55.764] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : googlePromise - Promise { <pending> } [2020-07-11 14:38:55.766] [LOG] [14:38:55] - MMM-OpeningHours : Using Google Places API. [2020-07-11 14:38:55.770] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : googlePromise - Promise { <pending> } [2020-07-11 14:38:55.774] [LOG] [14:38:55] - MMM-OpeningHours : Using Google Places API. [2020-07-11 14:38:55.777] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : googlePromise - Promise { <pending> } [2020-07-11 14:38:55.778] [LOG] [14:38:55] - MMM-OpeningHours : Using Google Places API. [2020-07-11 14:38:55.780] [LOG] [14:38:55] - DEBUG - MMM-OpeningHours : googlePromise - Promise { <pending> } [2020-07-11 14:38:55.782] [LOG] MMM-NetworkScanner received CONFIG [2020-07-11 14:38:55.947] [LOG] Create new calendar fetcher for url: https://www.officeholidays.com/ics/ics_country_iso.php?tbl_country=ZA - Interval: 14400000 [2020-07-11 14:38:55.966] [LOG] Create new news fetcher for url: http://feeds.news24.com/articles/news24/SouthAfrica/rss - Interval: 300000 [2020-07-11 14:38:56.122] [LOG] MMM-RandomQuranAyah node helper received a socket notification: START_QURAN - Payload: [object Object] [2020-07-11 14:38:56.632] [LOG] WatchDog started. Maximum timeout: 10s. [2020-07-11 14:38:56.651] [LOG] wb [2020-07-11 14:38:56.733] [LOG] 1594471136 [2020-07-11 14:38:56.783] [INFO] Checking git for module: MMM-Admin-Interface [2020-07-11 14:38:56.874] [INFO] Checking git for module: MMM-COVID19 [2020-07-11 14:38:56.958] [INFO] Checking git for module: MMM-OpeningHours [2020-07-11 14:38:57.072] [INFO] Checking git for module: MMM-QRCode [2020-07-11 14:38:57.144] [INFO] Checking git for module: MMM-pages [2020-07-11 14:38:57.205] [INFO] Checking git for module: MMM-page-indicator [2020-07-11 14:38:57.267] [INFO] Checking git for module: MMM-NetworkScanner [2020-07-11 14:38:57.358] [INFO] Checking git for module: MMM-Hue [2020-07-11 14:38:57.443] [INFO] Checking git for module: MMM-RandomQuranAyah [2020-07-11 14:38:57.531] [INFO] Checking git for module: MMM-Remote-Control [2020-07-11 14:38:57.607] [INFO] Checking git for module: MMM-SystemStats [2020-07-11 14:38:57.680] [INFO] Checking git for module: MMM-WatchDog [2020-07-11 14:38:57.751] [INFO] Checking git for module: MMM-NOAA3 [2020-07-11 14:39:02.458] [LOG] [14:39:02] - DEBUG - MMM-OpeningHours : Response - {"status":200,"headers":{"content-type":"application/json; charset=UTF-8","date":"Sat, 11 Jul 2020 12:35:26 GMT","expires":"Sat, 11 Jul 2020 12:40:26 GMT","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","server-timing":"gfet4t7; dur=287","cache-control":"public, max-age=300","age":"215","alt-svc":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","vary":"Accept-Encoding","connection":"close","transfer-encoding":"chunked"},"json":{"html_attributions":[],"result":{"name":"Makro Store Crown Mines","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1400"},"open":{"day":0,"time":"0900"}},{"close":{"day":1,"time":"1730"},"open":{"day":1,"time":"0830"}},{"close":{"day":2,"time":"1730"},"open":{"day":2,"time":"0830"}},{"close":{"day":3,"time":"1730"},"open":{"day":3,"time":"0830"}},{"close":{"day":4,"time":"1730"},"open":{"day":4,"time":"0830"}},{"close":{"day":5,"time":"1730"},"open":{"day":5,"time":"0830"}},{"close":{"day":6,"time":"1600"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 8:30 AM – 5:30 PM","Tuesday: 8:30 AM – 5:30 PM","Wednesday: 8:30 AM – 5:30 PM","Thursday: 8:30 AM – 5:30 PM","Friday: 8:30 AM – 5:30 PM","Saturday: 8:00 AM – 4:00 PM","Sunday: 9:00 AM – 2:00 PM"]},"place_id":"ChIJl8h2VlIJlR4Rn5311bQlcXQ"},"status":"OK"},"requestUrl":"https://maps.googleapis.com/maps/api/place/details/json?fields=name%2Copening_hours%2Cplace_id&language=en&placeid=ChIJl8h2VlIJlR4Rn5311bQlcXQ&key=MY-API-KEY","query":{"fields":"name,opening_hours,place_id","language":"en","placeid":"ChIJl8h2VlIJlR4Rn5311bQlcXQ","key":"MY-API-KEY"}} [2020-07-11 14:39:02.513] [LOG] [14:39:02] - DEBUG - MMM-OpeningHours : Response - {"status":200,"headers":{"content-type":"application/json; charset=UTF-8","date":"Sat, 11 Jul 2020 12:35:20 GMT","expires":"Sat, 11 Jul 2020 12:40:20 GMT","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","server-timing":"gfet4t7; dur=190","cache-control":"public, max-age=300","age":"221","alt-svc":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","vary":"Accept-Encoding","connection":"close","transfer-encoding":"chunked"},"json":{"html_attributions":[],"result":{"name":"Builders Warehouse Glen Eagles","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1600"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1700"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"1700"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"1700"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"1700"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"1700"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"1700"},"open":{"day":6,"time":"0700"}}],"weekday_text":["Monday: 7:00 AM – 5:00 PM","Tuesday: 7:00 AM – 5:00 PM","Wednesday: 7:00 AM – 5:00 PM","Thursday: 7:00 AM – 5:00 PM","Friday: 7:00 AM – 5:00 PM","Saturday: 7:00 AM – 5:00 PM","Sunday: 8:00 AM – 4:00 PM"]},"place_id":"ChIJB0lb_mgPlR4Rje4UAMJnOvY"},"status":"OK"},"requestUrl":"https://maps.googleapis.com/maps/api/place/details/json?fields=name%2Copening_hours%2Cplace_id&language=en&placeid=ChIJB0lb_mgPlR4Rje4UAMJnOvY&key=MY-API-KEY","query":{"fields":"name,opening_hours,place_id","language":"en","placeid":"ChIJB0lb_mgPlR4Rje4UAMJnOvY","key":"MY-API-KEY"}} [2020-07-11 14:39:02.555] [LOG] [14:39:02] - DEBUG - MMM-OpeningHours : Response - {"status":200,"headers":{"content-type":"application/json; charset=UTF-8","date":"Sat, 11 Jul 2020 12:35:21 GMT","expires":"Sat, 11 Jul 2020 12:40:21 GMT","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","server-timing":"gfet4t7; dur=224","cache-control":"public, max-age=300","age":"221","alt-svc":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","vary":"Accept-Encoding","connection":"close","transfer-encoding":"chunked"},"json":{"html_attributions":[],"result":{"name":"Food Lover's Market Hillfox","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1700"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1800"},"open":{"day":1,"time":"0900"}},{"close":{"day":2,"time":"1800"},"open":{"day":2,"time":"0800"}},{"close":{"day":3,"time":"1800"},"open":{"day":3,"time":"0800"}},{"close":{"day":4,"time":"1800"},"open":{"day":4,"time":"0800"}},{"close":{"day":5,"time":"1800"},"open":{"day":5,"time":"0800"}},{"close":{"day":6,"time":"1800"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 9:00 AM – 6:00 PM","Tuesday: 8:00 AM – 6:00 PM","Wednesday: 8:00 AM – 6:00 PM","Thursday: 8:00 AM – 6:00 PM","Friday: 8:00 AM – 6:00 PM","Saturday: 8:00 AM – 6:00 PM","Sunday: 8:00 AM – 5:00 PM"]},"place_id":"ChIJZwMQpQGglR4RLpdkGUhNZTE"},"status":"OK"},"requestUrl":"https://maps.googleapis.com/maps/api/place/details/json?fields=name%2Copening_hours%2Cplace_id&language=en&placeid=ChIJZwMQpQGglR4RLpdkGUhNZTE&key=MY-API-KEY","query":{"fields":"name,opening_hours,place_id","language":"en","placeid":"ChIJZwMQpQGglR4RLpdkGUhNZTE","key":"MY-API-KEY"}} [2020-07-11 14:39:02.609] [LOG] [14:39:02] - DEBUG - MMM-OpeningHours : Response - {"status":200,"headers":{"content-type":"application/json; charset=UTF-8","date":"Sat, 11 Jul 2020 12:35:20 GMT","expires":"Sat, 11 Jul 2020 12:40:20 GMT","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","server-timing":"gfet4t7; dur=159","cache-control":"public, max-age=300","age":"222","alt-svc":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","vary":"Accept-Encoding","connection":"close","transfer-encoding":"chunked"},"json":{"html_attributions":[],"result":{"name":"SUPERSPAR Xavier","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"2000"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"2000"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"2000"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"2000"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"2000"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"2000"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"2000"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 7:00 AM – 8:00 PM","Tuesday: 7:00 AM – 8:00 PM","Wednesday: 7:00 AM – 8:00 PM","Thursday: 7:00 AM – 8:00 PM","Friday: 7:00 AM – 8:00 PM","Saturday: 8:00 AM – 8:00 PM","Sunday: 8:00 AM – 8:00 PM"]},"place_id":"ChIJ-cM-E1kJlR4R_roOyHfbmaI"},"status":"OK"},"requestUrl":"https://maps.googleapis.com/maps/api/place/details/json?fields=name%2Copening_hours%2Cplace_id&language=en&placeid=ChIJ-cM-E1kJlR4R_roOyHfbmaI&key=MY-API-KEY","query":{"fields":"name,opening_hours,place_id","language":"en","placeid":"ChIJ-cM-E1kJlR4R_roOyHfbmaI","key":"MY-API-KEY"}} [2020-07-11 14:39:04.032] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [2020-07-11 14:39:04.436] [LOG] /nodehelper/get arabic with statuscode-200 [2020-07-11 14:39:04.457] [LOG] /nodehelper/get translation with statuscode-200 [2020-07-11 14:39:04.470] [LOG] /nodehelper/result-Al-Qalam:31 [2020-07-11 14:39:05.420] [LOG] [14:39:05] - DEBUG - MMM-OpeningHours : Response - {"status":200,"headers":{"content-type":"application/json; charset=UTF-8","date":"Sat, 11 Jul 2020 12:35:25 GMT","expires":"Sat, 11 Jul 2020 12:40:25 GMT","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","server-timing":"gfet4t7; dur=125","cache-control":"public, max-age=300","age":"219","alt-svc":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","vary":"Accept-Encoding","connection":"close","transfer-encoding":"chunked"},"json":{"html_attributions":[],"result":{"name":"Mochachos Ormonde","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"2100"},"open":{"day":0,"time":"1000"}},{"close":{"day":1,"time":"2100"},"open":{"day":1,"time":"1000"}},{"close":{"day":2,"time":"2100"},"open":{"day":2,"time":"1000"}},{"close":{"day":3,"time":"2100"},"open":{"day":3,"time":"1000"}},{"close":{"day":4,"time":"2100"},"open":{"day":4,"time":"1000"}},{"close":{"day":5,"time":"2200"},"open":{"day":5,"time":"1000"}},{"close":{"day":6,"time":"2200"},"open":{"day":6,"time":"1000"}}],"weekday_text":["Monday: 10:00 AM – 9:00 PM","Tuesday: 10:00 AM – 9:00 PM","Wednesday: 10:00 AM – 9:00 PM","Thursday: 10:00 AM – 9:00 PM","Friday: 10:00 AM – 10:00 PM","Saturday: 10:00 AM – 10:00 PM","Sunday: 10:00 AM – 9:00 PM"]},"place_id":"ChIJe-_APDkJlR4Rux6UduHCpvg"},"status":"OK"},"requestUrl":"https://maps.googleapis.com/maps/api/place/details/json?fields=name%2Copening_hours%2Cplace_id&language=en&placeid=ChIJe-_APDkJlR4Rux6UduHCpvg&key=MY-API-KEY","query":{"fields":"name,opening_hours,place_id","language":"en","placeid":"ChIJe-_APDkJlR4Rux6UduHCpvg","key":"MY-API-KEY"}} [2020-07-11 14:39:05.432] [LOG] [14:39:05] - DEBUG - MMM-OpeningHours : Sending to frontend - [{"name":"Makro Store Crown Mines","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1400"},"open":{"day":0,"time":"0900"}},{"close":{"day":1,"time":"1730"},"open":{"day":1,"time":"0830"}},{"close":{"day":2,"time":"1730"},"open":{"day":2,"time":"0830"}},{"close":{"day":3,"time":"1730"},"open":{"day":3,"time":"0830"}},{"close":{"day":4,"time":"1730"},"open":{"day":4,"time":"0830"}},{"close":{"day":5,"time":"1730"},"open":{"day":5,"time":"0830"}},{"close":{"day":6,"time":"1600"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 8:30 AM – 5:30 PM","Tuesday: 8:30 AM – 5:30 PM","Wednesday: 8:30 AM – 5:30 PM","Thursday: 8:30 AM – 5:30 PM","Friday: 8:30 AM – 5:30 PM","Saturday: 8:00 AM – 4:00 PM","Sunday: 9:00 AM – 2:00 PM"]},"place_id":"ChIJl8h2VlIJlR4Rn5311bQlcXQ"},{"name":"Builders Warehouse Glen Eagles","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1600"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1700"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"1700"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"1700"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"1700"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"1700"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"1700"},"open":{"day":6,"time":"0700"}}],"weekday_text":["Monday: 7:00 AM – 5:00 PM","Tuesday: 7:00 AM – 5:00 PM","Wednesday: 7:00 AM – 5:00 PM","Thursday: 7:00 AM – 5:00 PM","Friday: 7:00 AM – 5:00 PM","Saturday: 7:00 AM – 5:00 PM","Sunday: 8:00 AM – 4:00 PM"]},"place_id":"ChIJB0lb_mgPlR4Rje4UAMJnOvY"},{"name":"Food Lover's Market Hillfox","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1700"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1800"},"open":{"day":1,"time":"0900"}},{"close":{"day":2,"time":"1800"},"open":{"day":2,"time":"0800"}},{"close":{"day":3,"time":"1800"},"open":{"day":3,"time":"0800"}},{"close":{"day":4,"time":"1800"},"open":{"day":4,"time":"0800"}},{"close":{"day":5,"time":"1800"},"open":{"day":5,"time":"0800"}},{"close":{"day":6,"time":"1800"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 9:00 AM – 6:00 PM","Tuesday: 8:00 AM – 6:00 PM","Wednesday: 8:00 AM – 6:00 PM","Thursday: 8:00 AM – 6:00 PM","Friday: 8:00 AM – 6:00 PM","Saturday: 8:00 AM – 6:00 PM","Sunday: 8:00 AM – 5:00 PM"]},"place_id":"ChIJZwMQpQGglR4RLpdkGUhNZTE"},{"name":"SUPERSPAR Xavier","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"2000"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"2000"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"2000"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"2000"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"2000"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"2000"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"2000"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 7:00 AM – 8:00 PM","Tuesday: 7:00 AM – 8:00 PM","Wednesday: 7:00 AM – 8:00 PM","Thursday: 7:00 AM – 8:00 PM","Friday: 7:00 AM – 8:00 PM","Saturday: 8:00 AM – 8:00 PM","Sunday: 8:00 AM – 8:00 PM"]},"place_id":"ChIJ-cM-E1kJlR4R_roOyHfbmaI"},{"name":"Mochachos Ormonde","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"2100"},"open":{"day":0,"time":"1000"}},{"close":{"day":1,"time":"2100"},"open":{"day":1,"time":"1000"}},{"close":{"day":2,"time":"2100"},"open":{"day":2,"time":"1000"}},{"close":{"day":3,"time":"2100"},"open":{"day":3,"time":"1000"}},{"close":{"day":4,"time":"2100"},"open":{"day":4,"time":"1000"}},{"close":{"day":5,"time":"2200"},"open":{"day":5,"time":"1000"}},{"close":{"day":6,"time":"2200"},"open":{"day":6,"time":"1000"}}],"weekday_text":["Monday: 10:00 AM – 9:00 PM","Tuesday: 10:00 AM – 9:00 PM","Wednesday: 10:00 AM – 9:00 PM","Thursday: 10:00 AM – 9:00 PM","Friday: 10:00 AM – 10:00 PM","Saturday: 10:00 AM – 10:00 PM","Sunday: 10:00 AM – 9:00 PM"]},"place_id":"ChIJe-_APDkJlR4Rux6UduHCpvg"}] [2020-07-11 14:39:07.365] [INFO] Calendar-Fetcher: Broadcasting 14 events. [2020-07-11 14:39:08.019] [ERROR] Sat Jul 11 2020 14:39:08 GMT+0200 (South Africa Standard Time) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.12.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-07-11T12_39_08_390Z-debug.log
-
@mumblebaj said in Mirror Crashing:
[ERROR] Sat Jul 11 2020 14:39:08 GMT+0200 (South Africa Standard Time) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
and it will stop MagicMirror app
I think it should be configured ;) -
@Bugsounet Watchdog? How do I configure it?