Read the statement by Michael Teeuw here.
Problems after Update
-
Hi Forum ;-)
I updated my MagicMirror after a long time …
Now I have a big issue.
I recognized it, because I use MMM-TelgrammBot.
My MM server ist starting new every minute.
First I thought the problem is caused by MMM-NOAA3 because of this error:
0|MagicMirror | [22.11.2021 15:01.41.333] [ERROR] 0|MagicMirror | Whoops! There was an uncaught exception... 0|MagicMirror | [22.11.2021 15:01.41.357] [ERROR] TypeError: Cannot read property 'pollution' of undefined 0|MagicMirror | at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:205:36) 0|MagicMirror | at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:198:27) 0|MagicMirror | at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22) 0|MagicMirror | at Request.emit (events.js:315:20) 0|MagicMirror | at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1154:10) 0|MagicMirror | at Request.emit (events.js:315:20) 0|MagicMirror | at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1076:12) 0|MagicMirror | at Object.onceWrapper (events.js:421:28) 0|MagicMirror | at IncomingMessage.emit (events.js:327:22) 0|MagicMirror | at endReadableNT (internal/streams/readable.js:1327:12) 0|MagicMirror | at processTicksAndRejections (internal/process/task_queues.js:80:21) 0|MagicMirror | [22.11.2021 15:01.41.363] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMirror | [22.11.2021 15:01.41.364] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
But even after disabling MMM-NOAA3 and getting no errors, it keeps restarting every minute:
0|MagicMirror | > magicmirror@2.17.1 start 0|MagicMirror | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMirror | [22.11.2021 15:04.26.396] [LOG] 0|MagicMirror | Starting MagicMirror: v2.17.1 0|MagicMirror | [22.11.2021 15:04.26.422] [LOG] 0|MagicMirror | Loading config ... 0|MagicMirror | [22.11.2021 15:04.26.445] [LOG] 0|MagicMirror | Loading module helpers ... 0|MagicMirror | [22.11.2021 15:04.26.462] [LOG] 0|MagicMirror | No helper found for module: alert. 0|MagicMirror | [22.11.2021 15:04.26.508] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.26.517] [LOG] 0|MagicMirror | Module helper loaded: updatenotification 0|MagicMirror | [22.11.2021 15:04.26.526] [LOG] 0|MagicMirror | No helper found for module: clock. 0|MagicMirror | [22.11.2021 15:04.26.548] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.26.551] [LOG] 0|MagicMirror | Module helper loaded: MMM-MotionDetector 0|MagicMirror | [22.11.2021 15:04.26.962] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.26.964] [LOG] Module helper loaded: calendar 0|MagicMirror | [22.11.2021 15:04.27.026] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.27.027] [LOG] Module helper loaded: MMM-MyGarbage 0|MagicMirror | [22.11.2021 15:04.27.338] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.27.340] [LOG] Module helper loaded: MMM-BackgroundSlideshow 0|MagicMirror | [22.11.2021 15:04.28.272] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.28.276] [LOG] Module helper loaded: MMM-DWD-WarnWeather 0|MagicMirror | [22.11.2021 15:04.28.295] [LOG] No helper found for module: MMM-Homematic. 0|MagicMirror | [22.11.2021 15:04.30.169] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.30.170] [LOG] Module helper loaded: MMM-TelegramBot 0|MagicMirror | [22.11.2021 15:04.30.365] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.30.366] [LOG] Module helper loaded: MMM-COVID19-AMPEL 0|MagicMirror | [22.11.2021 15:04.30.432] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.11.2021 15:04.30.433] [LOG] Module helper loaded: newsfeed 0|MagicMirror | [22.11.2021 15:04.30.434] [LOG] All module helpers loaded. 0|MagicMirror | [22.11.2021 15:04.30.692] [LOG] 0|MagicMirror | Starting server on port 8080 ... 0|MagicMirror | [22.11.2021 15:04.30.728] [LOG] 0|MagicMirror | Server started ... 0|MagicMirror | [22.11.2021 15:04.30.730] [LOG] Connecting socket for: updatenotification 0|MagicMirror | [22.11.2021 15:04.30.732] [LOG] Connecting socket for: MMM-MotionDetector 0|MagicMirror | [22.11.2021 15:04.30.790] [LOG] 0|MagicMirror | Connecting socket for: calendar 0|MagicMirror | [22.11.2021 15:04.30.793] [LOG] Starting node helper for: calendar 0|MagicMirror | [22.11.2021 15:04.30.796] [LOG] Connecting socket for: MMM-MyGarbage 0|MagicMirror | [22.11.2021 15:04.30.797] [LOG] Starting node_helper for module: MMM-MyGarbage 0|MagicMirror | [22.11.2021 15:04.30.799] [LOG] Connecting socket for: MMM-BackgroundSlideshow 0|MagicMirror | [22.11.2021 15:04.30.801] [LOG] Connecting socket for: MMM-DWD-WarnWeather 0|MagicMirror | [22.11.2021 15:04.30.802] [LOG] MMM-DWD-WarnWeather helper started... 0|MagicMirror | [22.11.2021 15:04.30.804] [LOG] Connecting socket for: MMM-TelegramBot 0|MagicMirror | [22.11.2021 15:04.30.809] [LOG] 0|MagicMirror | Connecting socket for: MMM-COVID19-AMPEL 0|MagicMirror | [22.11.2021 15:04.30.813] [LOG] Starting node helper for: MMM-COVID19-AMPEL 0|MagicMirror | [22.11.2021 15:04.30.817] [LOG] Connecting socket for: newsfeed 0|MagicMirror | [22.11.2021 15:04.30.820] [LOG] Starting node helper for: newsfeed 0|MagicMirror | [22.11.2021 15:04.30.823] [LOG] Sockets connected & modules started ... 0|MagicMirror | [22.11.2021 15:04.31.340] [INFO] 0|MagicMirror | MMM-MotionDetector: monitor status is display_power=1 0|MagicMirror | [22.11.2021 15:04.31.343] [INFO] MMM-MotionDetector: monitor is ON. 0|MagicMirror | [22.11.2021 15:04.31.417] [LOG] 0|MagicMirror | Launching application. 0|MagicMirror | [22.11.2021 15:04.38.016] [LOG] 0|MagicMirror | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/f3hc4hvoq0kmkb20vu5mt7tbvo%40group.calendar.google.com/private-611b9353388c626debf93989171bfe71/basic.ics - Interval: 300000 0|MagicMirror | [22.11.2021 15:04.38.298] [INFO] 0|MagicMirror | MMM-MotionDetector: activating monitor. 0|MagicMirror | [22.11.2021 15:04.38.369] [INFO] 0|MagicMirror | MMM-MotionDetector: monitor status is display_power=1 0|MagicMirror | [22.11.2021 15:04.38.479] [LOG] 0|MagicMirror | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/klmriov1e3toti8ab9gf8phchk%40group.calendar.google.com/private-31317289a174cbef37aec4747f366685/basic.ics - Interval: 300000 0|MagicMirror | [22.11.2021 15:04.38.532] [LOG] 0|MagicMirror | [TELBOT] MMM-TelegramBot Version: 1.3.8 0|MagicMirror | [22.11.2021 15:04.38.602] [LOG] 0|MagicMirror | [TELBOT] Ready! 0|MagicMirror | [22.11.2021 15:04.38.652] [LOG] Create new newsfetcher for url: https://www.wiesbadener-kurier.de/rss/lokales/rheingau - Interval: 300000 0|MagicMirror | [22.11.2021 15:04.38.671] [LOG] 0|MagicMirror | Create new newsfetcher for url: https://www.hessenschau.de/rheinmain/index.rss - Interval: 300000 0|MagicMirror | [22.11.2021 15:04.38.697] [INFO] 0|MagicMirror | Checking git for module: default 0|MagicMirror | [22.11.2021 15:04.38.758] [INFO] 0|MagicMirror | Checking git for module: MMM-MotionDetector 0|MagicMirror | [22.11.2021 15:04.38.830] [INFO] 0|MagicMirror | Checking git for module: MMM-MyGarbage 0|MagicMirror | [22.11.2021 15:04.38.888] [INFO] 0|MagicMirror | Checking git for module: MMM-BackgroundSlideshow 0|MagicMirror | [22.11.2021 15:04.38.940] [INFO] 0|MagicMirror | Checking git for module: MMM-DWD-WarnWeather 0|MagicMirror | [22.11.2021 15:04.39.019] [INFO] 0|MagicMirror | Checking git for module: MMM-Homematic 0|MagicMirror | [22.11.2021 15:04.39.097] [INFO] 0|MagicMirror | Checking git for module: MMM-TelegramBot 0|MagicMirror | [22.11.2021 15:04.39.166] [INFO] 0|MagicMirror | Checking git for module: MMM-COVID19-AMPEL 0|MagicMirror | [22.11.2021 15:04.39.455] [INFO] 0|MagicMirror | BACKGROUNDSLIDESHOW: Reading directory "modules/MMM-BackgroundSlideshow/exampleImages/wir/" for images. 0|MagicMirror | [22.11.2021 15:04.39.468] [INFO] 0|MagicMirror | BACKGROUNDSLIDESHOW: 16 files found 0|MagicMirror | [22.11.2021 15:04.39.938] [INFO] 0|MagicMirror | BACKGROUNDSLIDESHOW_NEXT_IMAGE 0|MagicMirror | [22.11.2021 15:04.39.966] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages/wir//Weinberg1.jpeg" 0|MagicMirror | [22.11.2021 15:04.41.967] [INFO] 0|MagicMirror | Newsfeed-Fetcher: Broadcasting 10 items. 0|MagicMirror | [22.11.2021 15:04.43.272] [INFO] 0|MagicMirror | Newsfeed-Fetcher: Broadcasting 24 items. 0|MagicMirror | [22.11.2021 15:04.48.489] [INFO] 0|MagicMirror | Calendar-Fetcher: Broadcasting 3 events. 0|MagicMirror | [22.11.2021 15:04.52.520] [INFO] 0|MagicMirror | Calendar-Fetcher: Broadcasting 4 events. 0|MagicMirror | [22.11.2021 15:05.39.535] [INFO] 0|MagicMirror | BACKGROUNDSLIDESHOW_NEXT_IMAGE 0|MagicMirror | [22.11.2021 15:05.39.545] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages/wir//IMG_4869.jpg" 0|MagicMirror | [22.11.2021 15:05.46.330] [LOG] Shutting down server... 0|MagicMirror | [22.11.2021 15:05.46.334] [LOG] Stopping module helper: updatenotification 0|MagicMirror | [22.11.2021 15:05.46.364] [LOG] Stopping module helper: MMM-MotionDetector 0|MagicMirror | [22.11.2021 15:05.46.367] [LOG] Stopping module helper: calendar 0|MagicMirror | [22.11.2021 15:05.46.369] [LOG] Stopping module helper: MMM-MyGarbage 0|MagicMirror | [22.11.2021 15:05.46.371] [LOG] Stopping module helper: MMM-BackgroundSlideshow 0|MagicMirror | [22.11.2021 15:05.46.380] [LOG] Stopping module helper: MMM-DWD-WarnWeather 0|MagicMirror | [22.11.2021 15:05.46.384] [LOG] Stopping module helper: MMM-TelegramBot 0|MagicMirror | [22.11.2021 15:05.46.420] [LOG] Stopping module helper: MMM-COVID19-AMPEL 0|MagicMirror | [22.11.2021 15:05.46.461] [LOG] Stopping module helper: newsfeed
This messages repeat every minute…
Can anyone give me a glue what is wrong ?
I did already a complete new setup, but the problem isn’t gone, after the first reboot of the Pi it’s back…
Thanks for any assistance
-
@dotmatrix812 said in Problems after Update:
[ERROR] TypeError: Cannot read property ‘pollution’ of undefined
some error, causing MM crash, and pm2 is restarting it as its supposed to do
there have been problems with the api not being available.
-
@sdetweil Thanks for the fast reply. That’s why I disabled NOAA3. But the problem still exists. See second code. But with no error shown in log. I just stops the server and is starting again every minute ?!
-
@dotmatrix812 how did you do the update?
-
@sdetweil
I did it with the script. Due to the problem I installed MM new.I moved the magic mirror folder and installed it new with the install script. After that I installed all modules again from GitHub and I set up the config.js
But the problem is still there :-(
-
@dotmatrix812 probably this
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
tho I don’t know why u don’t see the errors…
if u use the sample config does it still happen? (config.js.sample in the config folder)
-
@dotmatrix812 can u send me the ~/MagicMirror/installers/upgrade.log if u still have it, via email
same userid as here , at gmail -
@sdetweil That error indicates that the API key has expired. I get it once a year when the key expires. After renewing the key that error goes away for me.
-
@mumblebaj but that shouldn’t kill MM, which is his problem
-
@sdetweil Correct and it doesn’t for me so I would eliminate that as an issue.