• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs

Scheduled Pinned Locked Moved Unsolved Troubleshooting
43 Posts 7 Posters 5.3k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @Volkae
    last edited by May 6, 2025, 11:21 AM

    @Volkae that means the upgrade didn’t execute
    copy/paste and execute this in a terminal window on the MagicMirror system

    bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"  apply
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • P Offline
      p1lspeda @p1lspeda
      last edited by May 6, 2025, 1:00 PM

      @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: undefined
      
      

      Although 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
      
      S K 2 Replies Last reply May 6, 2025, 1:24 PM Reply Quote 0
      • S Offline
        sdetweil @p1lspeda
        last edited by sdetweil May 6, 2025, 2:03 PM May 6, 2025, 1:24 PM

        @p1lspeda have you tried the upgrade script?
        I believe the module requires 2.31.0 as a minimum MM version now

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • K Online
          KristjanESPERANTO Module Developer @p1lspeda
          last edited by May 6, 2025, 1:56 PM

          @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.3

          You still need to upgrade MagicMirror. I recommend the official upgrade process.

          P 1 Reply Last reply May 7, 2025, 8:01 AM Reply Quote 0
          • V Offline
            Volkae
            last edited by May 6, 2025, 6:40 PM

            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…

            S 1 Reply Last reply May 6, 2025, 7:00 PM Reply Quote 1
            • S Offline
              sdetweil @Volkae
              last edited by sdetweil May 6, 2025, 7:01 PM May 6, 2025, 7:00 PM

              @Volkae any errors listed in MagicMirror startup?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              V 1 Reply Last reply May 6, 2025, 7:10 PM Reply Quote 0
              • V Offline
                Volkae @sdetweil
                last edited by May 6, 2025, 7:10 PM

                @sdetweil
                Sorry, I don`t know how to show the errors during startup :-(

                S 1 Reply Last reply May 6, 2025, 7:16 PM Reply Quote 0
                • S Offline
                  sdetweil @Volkae
                  last edited by May 6, 2025, 7:16 PM

                  @Volkae where does npm start output

                  if using pm2 tge

                  pm2 logs --lines=xxx

                  xxx is the number of most recent lines
                  default 15

                  probably 100 good start
                  note the output comes in 2 parts

                  error and output

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  V 1 Reply Last reply May 6, 2025, 7:19 PM Reply Quote 0
                  • V Offline
                    Volkae @sdetweil
                    last edited by May 6, 2025, 7:19 PM

                    @sdetweil
                    Not using pm2
                    using cronjob to start MM

                    S 1 Reply Last reply May 6, 2025, 7:56 PM Reply Quote 0
                    • S Offline
                      sdetweil @Volkae
                      last edited by May 6, 2025, 7:56 PM

                      @Volkae i forgot to mention that the full calendar url
                      is shown
                      i have deleted the other message

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      V 1 Reply Last reply May 6, 2025, 8:01 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      3 / 5
                      • First post
                        22/43
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy