Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs
-
@sdetweil
I used your upgrade script, update is completed, made an new install from MMM-PublicTransportHafas but it does not work -
@Volkae ok, did you do the apply ?
do
node -v cd ~/MagicMirror grep version package.jsonMagicMirror version should be 2.31.0
-
@p1lspeda just fyi, if you use the upgrade script it will npm install all the modules that have a package.json with dependencies after completing the MagicMirror upgrade
-
@Volkae @p1lspeda @KristjanESPERANTO will have to advise next steps
-
@sdetweil said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
@Volkae @p1lspeda @KristjanESPERANTO will have to advise next steps
I need the system information part from the logs. Like this:
[2025-01-14 20:05:03.529] [INFO] System information: ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.5; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.1.21-v8+ ### VERSIONS: electron: 31.2.1; used node: 20.15.0; installed node: 22.4.1; npm: 10.8.1; pm2: ### OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined -
@KristjanESPERANTO said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
Here you go
[2025-05-06 06:46:30.229] [INFO] System information: ### SYSTEM: manufacturer: ; model: ; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.20+rpt-rpi-v8 ### VERSIONS: electron: 32.2.7; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3 ### OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined -
@sdetweil said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
node -v
cd ~/MagicMirror
grep version package.json22.14.0
“version”: “2.30.0”, -
@KristjanESPERANTO said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
@sdetweil said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
@Volkae @p1lspeda @KristjanESPERANTO will have to advise next steps
I need the system information part from the logs. Like this:
[2025-01-14 20:05:03.529] [INFO] System information: ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.5; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.1.21-v8+ ### VERSIONS: electron: 31.2.1; used node: 20.15.0; installed node: 22.4.1; npm: 10.8.1; pm2: ### OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefinedSorry, but I am not sure how to see this informations
-
@Volkae said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
“version”: “2.30.0”,
You need to update MagicMirror. The module doesn’t work anymore with MagicMirror version 2.30.0.
-
@Volkae that means the upgrade didn’t execute
copy/paste and execute this in a terminal window on the MagicMirror systembash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply -
@p1lspeda said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
@KristjanESPERANTO said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
Here you go
[2025-05-06 06:46:30.229] [INFO] System information: ### SYSTEM: manufacturer: ; model: ; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.20+rpt-rpi-v8 ### VERSIONS: electron: 32.2.7; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3 ### OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefinedAlthough it is not listed, I am running a Raspberry Pi 4
pi@magicmirror:~ $ lscpu Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: ARM Model name: Cortex-A72 Model: 3 Thread(s) per core: 1 Core(s) per cluster: 4 Socket(s): - Cluster(s): 1 Stepping: r0p3 CPU(s) scaling MHz: 50% CPU max MHz: 1800.0000 CPU min MHz: 600.0000 BogoMIPS: 108.00 Flags: fp asimd evtstrm crc32 cpuid Caches (sum of all): L1d: 128 KiB (4 instances) L1i: 192 KiB (4 instances) L2: 1 MiB (1 instance) NUMA: NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerabilities: Gather data sampling: Not affected Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Reg file data sampling: Not affected Retbleed: Not affected Spec rstack overflow: Not affected Spec store bypass: Vulnerable Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Vulnerable Srbds: Not affected Tsx async abort: Not affected -
@p1lspeda have you tried the upgrade script?
I believe the module requires 2.31.0 as a minimum MM version now -
@p1lspeda said in MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs:
### VERSIONS: electron: 32.2.7; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3You still need to upgrade MagicMirror. I recommend the official upgrade process.
-
I used the update script again and now MM is 2.31.0
MMM-PublicTransportHafas works again, that`s fine, but now MMM-SmartWebDisplay is gone…
Not fine… -
@Volkae any errors listed in MagicMirror startup?
-
@sdetweil
Sorry, I don`t know how to show the errors during startup :-( -
@Volkae where does npm start output
if using pm2 tge
pm2 logs --lines=xxx
xxx is the number of most recent lines
default 15probably 100 good start
note the output comes in 2 partserror and output
-
@sdetweil
Not using pm2
using cronjob to start MM -
@Volkae i forgot to mention that the full calendar url
is shown
i have deleted the other message -
@sdetweil
Upps,
thank you!!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login