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.

    Default Calendar Not Loading Events After New MM Update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    13 Posts 4 Posters 71 Views 4 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 @inteeraymee
      last edited by

      @inteeraymee can you tell us more?

      Where is your calendar sourced? Google, Apple, caldav,
      How did you update to latest MagicMirror

      How do you start MagicMirror? Pm2, or some other way

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      H I 2 Replies Last reply Reply Quote 0
      • H Offline
        HeikoGr @sdetweil
        last edited by HeikoGr

        @sdetweil @inteeraymee

        I have the same issue after updating from MagicMirror 2.34.0 to 2.35.0.

        In my case this is not a general calendar config problem and not an auth/fetch problem either. Some calendars still load fine, others fail right after the update, which pointed me to a parser regression.

        What I found:

        MagicMirror 2.34.0 used node-ical 0.22.1
        MagicMirror 2.35.0 uses node-ical 0.25.6
        The affected calendars are fetched successfully with HTTP 200
        The failure happens during ICS parsing
        These are the two of the log lines I get:

        [ERROR] [calendar] https://<server>/remote.php/dav/calendars/xx1/?export - iCal parsing failed: Cannot parse: 1-01-15T12:00:00Z
        [DEBUG] [calendar] Parsed iCal data from https://<server>/remote.php/dav/calendars/xx2/?export with 130 entries.
        

        The important detail in the broken ICS files is this VTIMEZONE block:

        BEGIN:VTIMEZONE
        TZID:W. Europe Standard Time
        BEGIN:DAYLIGHT
        DTSTART:00010325T020000
        TZOFFSETFROM:+0100
        TZOFFSETTO:+0200
        RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
        END:DAYLIGHT
        BEGIN:STANDARD
        DTSTART:00011028T030000
        TZOFFSETFROM:+0200
        TZOFFSETTO:+0100
        RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
        END:STANDARD
        END:VTIMEZONE
        

        I tested the exact same ICS file with both node-ical versions:

        node-ical 0.22.1: parses successfully
        node-ical 0.25.6: fails with Cannot parse: 1-01-15T12:00:00Z
        I also verified that if I remove only that W. Europe Standard Time VTIMEZONE block from the failing ICS, the file parses again with node-ical 0.25.6.

        So the problem seems to be a regression in node-ical 0.25.x when resolving VTIMEZONE definitions with year 0001 in DTSTART. The calendar fetch itself succeeds; the crash happens while parsing timezone metadata.

        This may especially affect calendars coming from Outlook/Exchange/Nextcloud imports, because W. Europe Standard Time looks like a Microsoft-style timezone definition.

        1 Reply Last reply Reply Quote 0
        • H Offline
          HeikoGr
          last edited by HeikoGr

          i filed an issue: https://github.com/jens-maus/node-ical/issues/495

          it could be an edge case on my side.
          @inteeraymee by any chance: did you use emClient anytime in the past?

          only workaround for my setup is to pin to v2.34.0 .
          Updating the calendars might be the best solution for me…

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            sdetweil @HeikoGr
            last edited by

            @HeikoGr we originally never parsed the vtimezone sections

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • I Offline
              inteeraymee @sdetweil
              last edited by

              @sdetweil I have about 5 that are sourced in Google and another 2 or so that are subscription-based (i.e. sports teams).

              The way that I am starting MM is via ssh since my monitor is inside a frame up on a wall, making it a challenge to connect directly. The script I use is:

              sudo -u rudin-fam
              DISPLAY=:0
              XAUTHORITY=/home/rudin-fam/.Xauthority
              nohup chromium --kiosk http://localhost:8080
              –noerrdialogs
              –disable-infobars
              –disable-session-crashed-bubble
              –disable-restore-session-state
              >/dev/null 2>&1 &

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @inteeraymee
                last edited by

                @inteeraymee that’s the display side, where is the server side?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  hrt13 @sdetweil
                  last edited by

                  @sdetweil Hi, I am having the same problem since upgrading this morning (MM v2.35)

                  5 calendars, all from Google

                  Platform: Raspberry Pi3 B
                  OS: Debian GNU/Linux 11 (bullseye)

                  I haven’t tried regenerating the calendar links, should I?

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @hrt13
                    last edited by

                    @hrt13 shouldn’t need to

                    Are there any errors reported in the console log where you start MagicMirror?

                    If using pm2, then

                    pm2 logs —lines=xxx
                    Xxx is the number of latest lines to display, default 15
                    You might need 100

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      hrt13 @sdetweil
                      last edited by

                      @sdetweil Using pm2, I see a lot of “could not expand event” errors. Here’s one:

                      " [2026-04-02 12:29:21.274] [ERROR] [calendar] Could not expand event “Hockey vs. C”: ical.expandRecurringEvent is not a function"

                      Thanks

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @hrt13
                        last edited by sdetweil

                        @hrt13 awesome to help could you find that event

                        curl -sL the_url_for_calendar >somefile.txt
                        

                        Then edit somefile.txt and search for that title
                        Copy
                        Begin:vevent
                        …
                        End:vevent

                        And paste here. In code block
                        Edit Any info that might identify you, just dont delete any lines

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        H 1 Reply Last reply Reply Quote 0
                        • H Offline
                          hrt13 @sdetweil
                          last edited by sdetweil

                          @sdetweil

                          I think this is it, it may be in the past (I’ll look for a more current one, I didn’t think I was getting events from the past), also, sorry about the ^M’s:

                          BEGIN:VEVENT
                          DTSTART:20150228T005000Z
                          DTEND:20150228T022000Z
                          DTSTAMP:20260402T201324Z
                          UID:somenumber@google.com
                          CREATED:20150130T132500Z
                          LAST-MODIFIED:20150130T132500Z
                          LOCATION:GIH - Logsdon
                          SEQUENCE:0
                          STATUS:CONFIRMED
                          SUMMARY:Hockey vs. C
                          TRANSP:OPAQUE
                          END:VEVENT
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @hrt13
                            last edited by

                            @hrt13 is there one on a repeating schedule?

                            We shouldn’t expand one if it doesn’t have an rrule

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0

                            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
                            • 1 / 1
                            • First post
                              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