• 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 Offline
    sdetweil @matt216
    last edited by sdetweil Jan 1, 2024, 10:48 PM Jan 1, 2024, 8:17 PM

    @matt216 pm2 stop all

    then npm start again

    no idea on the Vulcan driver issue…

    what os are u running on what hardware…

    uname -a
    lsb_release -a

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Jan 2, 2024, 9:50 AM Reply Quote 0
    • A avano referenced this topic on Jan 1, 2024, 10:42 PM
    • M Offline
      matt216 @sdetweil
      last edited by Jan 2, 2024, 9:50 AM

      @sdetweil

      pi@magicmirror:~ $ uname -a
      Linux magicmirror 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux
      pi@magicmirror:~ $ lsb_release -a
      No LSB modules are available.
      Distributor ID:	Raspbian
      Description:	Raspbian GNU/Linux 11 (bullseye)
      Release:	11
      Codename:	bullseye
      

      Stopped and re-started npm… the npm start seems to generate a rolling log output (with some sensitive info), so I’ve selected what I think is relevant to the calendar for my reply. There are no errors/warning this time :)

      [02.01.2024 09:15.55.833] [LOG]   Module helper loaded: calendar
      ...
      [02.01.2024 09:15.58.013] [LOG]   Connecting socket for: calendar
      [02.01.2024 09:15.58.014] [LOG]   Starting node helper for: calendar
      ...
      [02.01.2024 09:16.02.605] [LOG]   Create new calendarfetcher for url: https://my.cal.url - Interval: 120000
      ...
      [02.01.2024 09:16.27.480] [INFO]  Calendar-Fetcher: Broadcasting 380 events from https://my.cal.url.
      [02.01.2024 09:16.47.441] [LOG]   Use existing calendarfetcher for url: https://my.cal.url
      [02.01.2024 09:16.47.442] [INFO]  Calendar-Fetcher: Broadcasting 380 events from https://my.cal.url.
      ...
      [02.01.2024 09:17.12.085] [INFO]  Calendar-Fetcher: Broadcasting 380 events from https://my.cal.url.
      

      Mostly looks ok, but the “use existing calendarfetcher for url:…” concerns me.

      Still, I have an event upcoming soon that should be displaying in my 5 entries that isn’t.

      Thanks

      M 1 Reply Last reply Jan 2, 2024, 10:20 AM Reply Quote 0
      • M Offline
        matt216 @matt216
        last edited by Jan 2, 2024, 10:20 AM

        I can also see in pm2 logs:

        0|MagicMir | [02.01.2024 10:11.33.120] [ERROR] Calendar Error. Could not fetch calendar:  https://my.cal.url TypeError: fetch failed
        

        I wonder why.
        Getting the calendar to show in the first place was achieved by changing my baikal calendar WebDAV authentication type to ‘basic’ and setting the same in the calendar module. I’ve confirmed this is still set.

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

          @matt216 well the type error is the problem.
          the calendar.module doesn’t recover after the error.

          can you open an issue on the mm GitHub page, with that info

          are there any errors above that?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil None that I can see.

            pi@magicmirror:~/.pm2/logs $ tail --lines=1000 MagicMirror-error.log | grep calendar
            [02.01.2024 10:29.43.758] [ERROR] Calendar Error. Could not fetch calendar:  https://my.cal.url TypeError: fetch failed
            [02.01.2024 10:31.53.769] [ERROR] Calendar Error. Could not fetch calendar:  https://my.cal.url TypeError: fetch failed
            
            

            Will open an issue. Thanks for assisting. I might have a play with a couple of the other calendar modules there are out there…

            S 1 Reply Last reply Jan 2, 2024, 1:55 PM Reply Quote 0
            • S Offline
              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 Offline
                    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 Offline
                      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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 2 / 10
                      2 / 10
                      • First post
                        18/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