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

Calendar not updating

Scheduled Pinned Locked Moved Unsolved Troubleshooting
95 Posts 4 Posters 44.4k 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 Away
    sdetweil @matt216
    last edited by Jan 2, 2024, 1:55 PM

    @matt216 generally there is a more specific error earlier in the log.

    if you clear it
    pm2 flush
    the restart
    pm2 restart all

    you will have the smallest output to look at

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Jan 2, 2024, 2:25 PM Reply Quote 0
    • M Offline
      matt216 @sdetweil
      last edited by matt216 Jan 2, 2024, 2:25 PM Jan 2, 2024, 2:25 PM

      @sdetweil Can’t see any calendar errors in error.log now! :grinning_squinting_face:
      But still my new events are not showing up when they should…

      S 1 Reply Last reply Jan 2, 2024, 2:42 PM Reply Quote 0
      • M Offline
        matt216
        last edited by Jan 2, 2024, 2:25 PM

        https://github.com/MagicMirrorOrg/MagicMirror/issues/3329

        S 1 Reply Last reply Jan 2, 2024, 2:32 PM Reply Quote 1
        • S Away
          sdetweil @matt216
          last edited by Jan 2, 2024, 2:32 PM

          @matt216 thank you… i posted a an additional grep thru the log to the issue

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @matt216
            last edited by Jan 2, 2024, 2:42 PM

            @matt216 cant see any errors… well not with the grep search you do

            can u do this

            pm2 stop all
            cd ~/MagicMirror
            npm start >somefile.txt 2>&1
            

            wait, til UI up with no issues, or no updates

            ctrl-q on MM screen to end

            edit the somefile.txt

            loo at messages after “Starting server on port”

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Jan 2, 2024, 3:02 PM Reply Quote 0
            • M Offline
              matt216 @sdetweil
              last edited by Jan 2, 2024, 3:02 PM

              @sdetweil

              pi@magicmirror:~/MagicMirror $ cat somefile.txt | grep calendar
              [02.01.2024 14:56.40.510] [LOG]   Module helper loaded: calendar
              [02.01.2024 14:56.42.557] [LOG]   Connecting socket for: calendar
              [02.01.2024 14:56.42.558] [LOG]   Starting node helper for: calendar
              [02.01.2024 14:56.46.986] [LOG]   Create new calendarfetcher for url: https://my.cal.url - Interval: 120000
              [02.01.2024 14:57.13.099] [INFO]  Calendar-Fetcher: Broadcasting 379 events from https://my.cal.url.
              [02.01.2024 14:59.23.139] [ERROR] Calendar Error. Could not fetch calendar:  https://my.cal.url TypeError: fetch failed
              
              
              M 1 Reply Last reply Jan 2, 2024, 4:20 PM Reply Quote 0
              • M Offline
                matt216 @matt216
                last edited by Jan 2, 2024, 4:20 PM

                @sdetweil

                [02.01.2024 14:59.23.139] [ERROR] Calendar Error. Could not fetch calendar:  https://my.cal.url TypeError: fetch failed
                    at Object.fetch (node:internal/deps/undici/undici:11576:11)
                    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                  cause: ConnectTimeoutError: Connect Timeout Error
                      at onConnectTimeout (node:internal/deps/undici/undici:8522:28)
                      at node:internal/deps/undici/undici:8480:50
                      at Immediate._onImmediate (node:internal/deps/undici/undici:8511:13)
                      at process.processImmediate (node:internal/timers:476:21) {
                    code: 'UND_ERR_CONNECT_TIMEOUT'
                  }
                }
                

                Timeout…
                Let me know if the full somefile.txt by email is still wanted.

                S 1 Reply Last reply Jan 2, 2024, 4:21 PM Reply Quote 0
                • S Away
                  sdetweil @matt216
                  last edited by Jan 2, 2024, 4:21 PM

                  @matt216 no… not needed…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Jan 2, 2024, 4:23 PM Reply Quote 0
                  • M Offline
                    matt216 @sdetweil
                    last edited by Jan 2, 2024, 4:23 PM

                    @sdetweil If I enter my calendar URL in to a web browser I can download the ics file fine, FYI

                    S 2 Replies Last reply Jan 2, 2024, 4:25 PM Reply Quote 0
                    • S Away
                      sdetweil @matt216
                      last edited by Jan 2, 2024, 4:25 PM

                      @matt216 yes, it was a momentary delay, which caused the timeout… trying to see why the catch() block didn’t

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 2 / 10
                      2 / 10
                      • First post
                        20/95
                        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