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
    31 Posts 7 Posters 804 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.
    • 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 Offline
            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 Offline
                sdetweil @doogy_rev
                last edited by sdetweil

                @doogy_rev it looks like you tried it manually, git 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

                  @sdetweil said:

                  @doogy_rev it looks like you tried it manually, git 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 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @doogy_rev
                    last edited by

                    @doogy_rev if you copy paste the second upgrade command from my script GitHub repo, you will see the word

                    apply

                    At the end

                    Change that to

                    force

                    And hit enter

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil That worked, thanks very much.

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

                        @doogy_rev awesome… thanks for the feedback

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Athlon @sdetweil
                          last edited by

                          @sdetweil

                          My calendar also stopped showing events (from my Google calendar).

                          Running

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

                          fixed it for me. It worked like ‘Magic’ - pun intended.

                          Thank you!!

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

                            @Athlon ok, that means the manual upgrade failed. but pulled the new code

                            git pull && npm run install-mm
                            

                            means the git pull encountered a problem, and the npm run didn’t happen,m
                            but there is no log…

                            can you send me the ~/MagicMirror/installers/upgrade.log so I can see what the problem might have been

                            same userid at gmail, thanks…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              Athlon @sdetweil
                              last edited by

                              @sdetweil

                              sent…

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

                                @Athlon replied

                                for others, this was a node version mismatch that cause the npm run install-mm to fail,
                                leaving the new source installed, but the dependencies NOT installed.

                                so, something will fail… calendar for you

                                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
                                • 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