Read the statement by Michael Teeuw here.
No news after update to 2.25
-
@MajorC hm… can you do node -v
should be 18 or 20
also send me the ~/MagicMirror/installers/upgrade.log
same userid at gmail
-
I changed it to https, but still no news. I will try your next suggestion.
-
This is with https:
pi@ratingen:~ $ pm2 logs --lines=50 [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 50 lines: PM2 | 2023-12-27T15:40:18: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2023-12-27T15:40:18: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2023-12-27T15:40:18: PM2 log: pid=1682 msg=process killed PM2 | 2023-12-27T15:40:18: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2023-12-27T15:40:18: PM2 log: App [MagicMirror:0] online PM2 | 2023-12-27T15:43:49: PM2 log: Change detected on path config/config.js for app MagicMirror - restarting PM2 | 2023-12-27T15:43:49: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2023-12-27T15:43:50: PM2 log: pid=2262 msg=failed to kill - retrying in 100ms PM2 | 2023-12-27T15:43:50: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2023-12-27T15:43:50: PM2 log: pid=2262 msg=process killed PM2 | 2023-12-27T15:43:50: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2023-12-27T15:43:50: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 0|MagicMir | at fetchNews (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:110:3) 0|MagicMir | at NewsfeedFetcher.startFetch (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:153:3) 0|MagicMir | at Class.createFetcher (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:72:11) 0|MagicMir | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:22:9) 0|MagicMir | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:104:11) 0|MagicMir | at Socket.emit (node:events:513:28) 0|MagicMir | at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22) 0|MagicMir | at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:704:39 0|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:78:11) 0|MagicMir | [27.12.2023 15:43.57.779] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [27.12.2023 15:43.57.780] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|MagicMir | [27.12.2023 15:43.57.783] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [27.12.2023 15:43.57.785] [ERROR] ReferenceError: fetch is not defined 0|MagicMir | at fetchNews (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:110:3) 0|MagicMir | at NewsfeedFetcher.startFetch (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:153:3) 0|MagicMir | at Class.createFetcher (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:72:11) 0|MagicMir | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:22:9) 0|MagicMir | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:104:11) 0|MagicMir | at Socket.emit (node:events:513:28) 0|MagicMir | at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22) 0|MagicMir | at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:704:39 0|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:78:11) 0|MagicMir | [27.12.2023 15:43.57.786] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [27.12.2023 15:43.57.786] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|MagicMir | [27.12.2023 15:43.57.790] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [27.12.2023 15:43.57.791] [ERROR] ReferenceError: fetch is not defined 0|MagicMir | at fetchNews (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:110:3) 0|MagicMir | at NewsfeedFetcher.startFetch (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:153:3) 0|MagicMir | at Class.createFetcher (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:72:11) 0|MagicMir | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:22:9) 0|MagicMir | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:104:11) 0|MagicMir | at Socket.emit (node:events:513:28) 0|MagicMir | at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22) 0|MagicMir | at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:704:39 0|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:78:11) 0|MagicMir | [27.12.2023 15:43.57.792] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [27.12.2023 15:43.57.792] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|MagicMir | [27.12.2023 15:43.57.796] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [27.12.2023 15:43.57.798] [ERROR] ReferenceError: fetch is not defined 0|MagicMir | at fetchNews (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:110:3) 0|MagicMir | at NewsfeedFetcher.startFetch (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:153:3) 0|MagicMir | at Class.createFetcher (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:72:11) 0|MagicMir | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:22:9) 0|MagicMir | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:104:11) 0|MagicMir | at Socket.emit (node:events:513:28) 0|MagicMir | at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22) 0|MagicMir | at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:704:39 0|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:78:11) 0|MagicMir | [27.12.2023 15:43.57.800] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [27.12.2023 15:43.57.800] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines: 0|MagicMir | [27.12.2023 15:43.54.094] [LOG] Starting server on port 8080 ... 0|MagicMir | [27.12.2023 15:43.54.113] [LOG] Server started ... 0|MagicMir | [27.12.2023 15:43.54.114] [LOG] Connecting socket for: updatenotification 0|MagicMir | [27.12.2023 15:43.54.115] [LOG] Starting module helper: updatenotification 0|MagicMir | [27.12.2023 15:43.54.115] [LOG] Connecting socket for: MMM-BackgroundSlideshow 0|MagicMir | [27.12.2023 15:43.54.117] [LOG] Connecting socket for: MMM-DWD-WarnWeather 0|MagicMir | [27.12.2023 15:43.54.118] [LOG] MMM-DWD-WarnWeather helper started... 0|MagicMir | [27.12.2023 15:43.54.118] [LOG] Connecting socket for: MMM-NINA 0|MagicMir | [27.12.2023 15:43.54.119] [LOG] MMM-NINA helper method started... 0|MagicMir | [27.12.2023 15:43.54.119] [LOG] Connecting socket for: MMM-TAF 0|MagicMir | [27.12.2023 15:43.54.121] [LOG] MMM-TAF helper started ... 0|MagicMir | [27.12.2023 15:43.54.122] [LOG] Connecting socket for: newsfeed 0|MagicMir | [27.12.2023 15:43.54.123] [LOG] Starting node helper for: newsfeed 0|MagicMir | [27.12.2023 15:43.54.123] [LOG] Sockets connected & modules started ... 0|MagicMir | [27.12.2023 15:43.54.373] [LOG] Launching application. 0|MagicMir | [27.12.2023 15:43.57.679] [LOG] Notification: GET_TAF 0|MagicMir | [27.12.2023 15:43.57.683] [LOG] --Aviation TAF: Fetching TAF Data-- 0|MagicMir | [27.12.2023 15:43.57.688] [LOG] Checking URL: http://avwx.rest/api/metar/EDDL?options=summary,translate,info&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.705] [LOG] Checking URL: http://avwx.rest/api/taf/EDDL?options=summary&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.709] [LOG] Checking URL: http://avwx.rest/api/metar/EDLP?options=summary,translate,info&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.714] [LOG] Checking URL: http://avwx.rest/api/taf/EDLP?options=summary&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.719] [LOG] Checking URL: http://avwx.rest/api/metar/EDDB?options=summary,translate,info&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.725] [LOG] Checking URL: http://avwx.rest/api/taf/EDDB?options=summary&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.729] [LOG] Checking URL: http://avwx.rest/api/metar/EDDH?options=summary,translate,info&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.733] [LOG] Checking URL: http://avwx.rest/api/taf/EDDH?options=summary&format=json&onfail=cache 0|MagicMir | [27.12.2023 15:43.57.738] [LOG] Create new newsfetcher for url: https://www.spiegel.de/schlagzeilen/tops/index.rss - Interval: 300000 0|MagicMir | [27.12.2023 15:43.57.768] [LOG] Create new newsfetcher for url: https://rss.sueddeutsche.de/rss/Topthemen - Interval: 300000 0|MagicMir | [27.12.2023 15:43.57.775] [LOG] Create new newsfetcher for url: https://www.tagesschau.de/infoservices/alle-meldungen-100~rss2.xml - Interval: 300000 0|MagicMir | [27.12.2023 15:43.57.781] [LOG] Create new newsfetcher for url: https://www.eddh.de/special/rss/feed.rss - Interval: 300000 0|MagicMir | [27.12.2023 15:43.57.789] [LOG] Create new newsfetcher for url: https://rp-online.de/feed.rss - Interval: 300000 0|MagicMir | [27.12.2023 15:43.57.795] [LOG] Create new newsfetcher for url: https://rp-online.de/nrw/staedte/ratingen/feed.rss - Interval: 300000 0|MagicMir | [27.12.2023 15:43.57.874] [INFO] Checking git for module: MMM-BackgroundSlideshow 0|MagicMir | [27.12.2023 15:43.57.986] [INFO] Checking git for module: MMM-DWD-WarnWeather 0|MagicMir | [27.12.2023 15:43.58.104] [INFO] Checking git for module: MMM-NINA 0|MagicMir | [27.12.2023 15:43.58.141] [INFO] BACKGROUNDSLIDESHOW: Reading directory "modules/MMM-BackgroundSlideshow/BackgroundImages" for images. 0|MagicMir | [27.12.2023 15:43.58.152] [INFO] BACKGROUNDSLIDESHOW: 48 files found 0|MagicMir | [27.12.2023 15:43.58.185] [INFO] Checking git for module: MMM-TAF 0|MagicMir | [27.12.2023 15:43.58.232] [INFO] BACKGROUNDSLIDESHOW_NEXT_IMAGE 0|MagicMir | [27.12.2023 15:43.58.234] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/BackgroundImages/IMG_1402.JPG" 0|MagicMir | [27.12.2023 15:43.58.386] [LOG] Airports remaining: 7 0|MagicMir | [27.12.2023 15:43.58.394] [INFO] Checking git for module: MMM-OpenmapWeather 0|MagicMir | [27.12.2023 15:43.58.456] [LOG] Airports remaining: 6 0|MagicMir | [27.12.2023 15:43.58.473] [LOG] Airports remaining: 5 0|MagicMir | [27.12.2023 15:43.58.482] [INFO] Checking git for module: MagicMirror 0|MagicMir | [27.12.2023 15:43.58.669] [LOG] Airports remaining: 4 0|MagicMir | [27.12.2023 15:43.59.642] [LOG] Airports remaining: 3 0|MagicMir | [27.12.2023 15:44.00.486] [LOG] Airports remaining: 2 0|MagicMir | [27.12.2023 15:44.00.492] [LOG] Airports remaining: 1 0|MagicMir | [27.12.2023 15:44.00.504] [LOG] Airports remaining: 0 0|MagicMir | [27.12.2023 15:44.00.509] [LOG] Socket notification sent.
-
@MajorC yeh it’s not code problem
the version of node is down level, but I should have upgraded it
I need to see the upgrade.log to figure out why.
did u try to manual upgrade first?
-
@MajorC I’m going to be gone for a few hours helping my daughter.
-
@MajorC I am back. I need to see the upgrade.log
~/MagicMirror/installers/upgrade.log
-
@sdetweil did you get my email with the log?
-
@MajorC yes, got sent to spam
-
@MajorC I tested with your feeds on 2.25, the installed version according to the log and files.
[28.12.2023 12:30.49.429] [INFO] Newsfeed-Fetcher: Broadcasting 6 items. [28.12.2023 12:30.49.474] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [28.12.2023 12:30.49.586] [INFO] Newsfeed-Fetcher: Broadcasting 5 items. [28.12.2023 12:30.49.813] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. [28.12.2023 12:30.50.037] [INFO] Newsfeed-Fetcher: Broadcasting 24 items. [28.12.2023 12:30.50.542] [INFO] Newsfeed-Fetcher: reloadInterval set to ttl=5400000 for url http://www.tagesschau.de/xml/rss2 [28.12.2023 12:30.50.603] [INFO] Newsfeed-Fetcher: Broadcasting 40 items.
worked as expected…
the log says node 20.08 is installed as it should be.
this provides the fecth() function the error claims to misscan you do
cd ~/MagicMirror node -v npm start
and see what happens?
I’m wondering if the pm2 saved data is reverting back to node 16, altho I’ve never seen that happen
-
@sdetweil Thank you for all the help.
The mirror is at my family’s house. So I have to find a way to VPN connect myself to that.I will come back to you asap.