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
    28 Posts 6 Posters 193 Views 6 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 Do not disturb
      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 Do not disturb
          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 Do not disturb
              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 Do not disturb
                  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 Do not disturb
                      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

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

                        @sdetweil said:

                        There are some recent repeating events though I’m not sure any show in the logs. I’ll see if I can find some new events. Looking at the logs again, it seems it’s retrieving lots of past events which, of course, wouldn’t show on the calendar. The latest I’ve seen so far is an event from Jan 2026.

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

                          @sdetweil this is definitely a repeating schedule

                          Log file error:
                          [2026-04-02 19:59:16.671] [ERROR] [calendar] Could not expand event “Tax Day”: ical.expandRecurringEvent is not a function

                          curl -sL output

                          BEGIN:VCALENDAR
                          PRODID:-//Google Inc//Google Calendar 70.9054//EN
                          VERSION:2.0
                          CALSCALE:GREGORIAN
                          METHOD:PUBLISH
                          X-WR-CALNAME:Holidays in United States
                          X-WR-TIMEZONE:UTC
                          X-WR-CALDESC:Holidays and Observances in United States
                          .
                          .
                          .
                          BEGIN:VEVENT
                          DTSTART;VALUE=DATE:20220418
                          DTEND;VALUE=DATE:20220419
                          DTSTAMP:20260403T003912Z
                          UID:20220418_clveaq2fmqp95elk3vma4ifhcs@google.com
                          CLASS:PUBLIC
                          CREATED:20240603T101345Z
                          DESCRIPTION:Observance\nTo hide observances\, go to Google Calendar Setting
                           s > Holidays in United States
                          LAST-MODIFIED:20240603T101345Z
                          SEQUENCE:0
                          STATUS:CONFIRMED
                          SUMMARY:Tax Day
                          TRANSP:TRANSPARENT
                          END:VEVENT
                          .
                          .
                          .
                          BEGIN:VEVENT
                          DTSTART;VALUE=DATE:20260415
                          DTEND;VALUE=DATE:20260416
                          DTSTAMP:20260403T003912Z
                          UID:20260415_fkehtfbgrr6j65q23flu2k5vu0@google.com
                          CLASS:PUBLIC
                          CREATED:20240603T101355Z
                          DESCRIPTION:Observance\nTo hide observances\, go to Google Calendar Setting
                           s > Holidays in United States
                          LAST-MODIFIED:20240603T101355Z
                          SEQUENCE:0
                          STATUS:CONFIRMED
                          SUMMARY:Tax Day
                          TRANSP:TRANSPARENT
                          END:VEVENT
                          
                          S KristjanESPERANTOK 2 Replies Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @hrt13
                            last edited by

                            @hrt13 hmm. A repeating event has one vevent, with an rrule line that describes how it repeats

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • KristjanESPERANTOK Offline
                              KristjanESPERANTO Module Developer @hrt13
                              last edited by

                              @hrt13 said:

                              [2026-04-02 19:59:16.671] [ERROR] [calendar] Could not expand event “Tax Day”: ical.expandRecurringEvent is not a function

                              Looks like you didn’t update the dependencies after you pulled the new MM version.

                              Please run node --run install-mm and check again.

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

                                @KristjanESPERANTO said:

                                node --run install-mm

                                trying it now, it is taking a while. Will let you know.
                                I used mmpm to update, I guess it doesn’t update the dependencies.

                                KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                                • KristjanESPERANTOK Offline
                                  KristjanESPERANTO Module Developer @hrt13
                                  last edited by

                                  A workaround for users still having issues with the calendar. There was a problem with the node-ical package for some events. This has just been fixed with a new node-ical release (v0.26.0).

                                  To use the new version, run this command in the MagicMirror directory:
                                  npm install node-ical@latest.

                                  Note that this will change your package.json and package-lock.json files, which would cause conflicts during the next MagicMirror update. Therefore, also run the following to restore them:
                                  git restore package*.json

                                  You will then have v0.26.0 installed - the package.json file say otherwise, but that doesn’t matter.

                                  Please give some feedback if that helps :-)

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    doogy_rev
                                    last edited by

                                    I have just updated to the latest version and have the same issue of the Calendar not loading.

                                    I have tried the above suggestions but still not able to load gmail calendars

                                    I did use the script to update MM and all dependancies

                                    Any help appreciated

                                    Thanks

                                    DoogyRev

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @doogy_rev
                                      last edited by

                                      @doogy_rev can you show me the ~/MagicMirror/installers/upgrade.log

                                      Maybe send it to me
                                      Same userid at gmail

                                      It is two part process, right?

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        doogy_rev
                                        last edited by

                                        Hi Sam,

                                        Log sent to your gmail

                                        Thanks

                                        DoogyRev

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @doogy_rev
                                          last edited by

                                          @doogy_rev it looks like you tried it manually, hit pull, and the latest code was already present

                                          local version 2.35.0 already same as master 2.35.0

                                          The upgrade by default will not upgrade over the existing version

                                          To fix, rerun and change the parm from apply to force

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            doogy_rev @sdetweil
                                            last edited by

                                            @sdetweil said:

                                            @doogy_rev it looks like you tried it manually, hit pull, and the latest code was already present

                                            local version 2.35.0 already same as master 2.35.0

                                            The upgrade by default will not upgrade over the existing version

                                            To fix, rerun and change the parm from apply to force

                                            ok, so I know enough to be dangerous, what is the command I should be committing?

                                            S 2 Replies 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
                                            • 2
                                            • 2 / 2
                                            • 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