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.

    Nextcloud calendar error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    15 Posts 2 Posters 1.7k Views 2 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.
    • T Offline
      theaddies
      last edited by

      I would appreciate any help that could be provided to resolve the error below. When I paste the url into a browser it asks for username and password and downloads a .ics file. seems to be working.

      pi@mirror:~ $ pm2 logs --lines=150 | grep calendar
      (node:1722) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
      (Use `node --trace-deprecation ...` to show where the warning was created)
      0|MagicMir | [2025-04-07 11:16:40.134] [ERROR] Calendar Error. Could not fetch calendar:  https://xxxxxxxx.com/remote.php/dav/calendars/admin/personal?export TypeError: fetch failed
      0|MagicMir | [2025-04-09 14:20:23.014] [ERROR] Calendar Error. Could not fetch calendar:  https://xxxxxxxxxxx.com/remote.php/dav/calendars/admin/personal?export TypeError: fetch failed
      0|MagicMir | [2025-04-11 19:24:15.796] [ERROR] Calendar Error. Could not fetch calendar:  https://xxxxxxxxxxx.com/remote.php/dav/calendars/admin/personal?export TypeError: fetch failed
      0|MagicMir | [2025-04-12 07:48:48.631] [ERROR] Calendar Error. Could not fetch calendar:  https://xxxxxxxxxxx.com/remote.php/dav/calendars/admin/work?export TypeError: terminated
      0|MagicMir | [2025-04-12 07:48:50.089] [ERROR] Calendar Error. Could not fetch calendar:  https://xxxxxxxxxxx.com/remote.php/dav/calendars/admin/work?export TypeError: terminated
      0|MagicMir | [2025-04-12 04:24:55.238] [INFO]  Calendar-Fetcher: Broadcasting 8 events from https://xxxxxxxxxxx.com/remote.php/dav/calendars/admin/personal?export. 
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @theaddies
        last edited by

        @theaddies said in Nextcloud calendar error:

        04-12 04:24:55.238] [INFO] Calendar-Fetcher: Broadcasting 8 events from https://xxxxxxxxxxx.com/remote.php/dav/calendars/admin/personal?export

        looks like it recovered for one

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • T Offline
          theaddies
          last edited by theaddies

          I made the changes here disabling IPV6 and they seem to work now.

          disable IPV6

          However I have one calendar that just says loading on the mirror and it doesn’t change. The log thinks it has pulled the calendar but it never displays.

          0|MagicMirror  | [2025-04-12 08:44:45.983] [INFO]  Calendar-Fetcher: Broadcasting 9 events from https://xxxxxxx.com/remote.php/dav/calendars/admin/work?export. 
          
          S T 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @theaddies
            last edited by

            @theaddies are those old events? we don’t display past events…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              theaddies @theaddies
              last edited by theaddies

              @sdetweil Thanks for the reply. Nope, not old events. 2 of the calendars have loaded. The work calendar just says “Loading …” on the Pi.

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

                @theaddies but the log said failed

                comment out the other cal definitions, so only that one is active

                /* …*/ is comment block

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  theaddies
                  last edited by theaddies

                  I removed all calendars but the work one. It just says “Loading …”.

                  0|MagicMir | [2025-04-12 08:59:19.015] [LOG]   No helper found for module: calendar_monthly. 
                  0|MagicMir | [2025-04-12 08:59:19.316] [LOG]   Module helper loaded: calendar 
                  0|MagicMir | [2025-04-12 08:59:22.922] [LOG]   Connecting socket for: calendar 
                  0|MagicMir | [2025-04-12 08:59:22.925] [LOG]   Starting node helper for: calendar 
                  0|MagicMirror  | [2025-04-12 08:59:32.795] [LOG]   Create new calendarfetcher for url: https://x.com/remote.php/dav/calendars/admin/work?export - Interval: 3600000 
                  0|MagicMirror  | [2025-04-12 08:59:34.361] [INFO]  Checking git for module: calendar_monthly 
                  0|MagicMirror  | [2025-04-12 09:00:47.009] [INFO]  Calendar-Fetcher: Broadcasting 486 events from https://x.com/remote.php/dav/calendars/admin/work?export. 
                  

                  The config file is below.

                  module: "calendar",
                                          header: "Work",
                                          position: "top_left",   // This can be any of the regions. Best results in left or right regions.
                                          config: {
                                                  //colored: true,
                                                  //coloredSymbolOnly: true,
                                                  //limitDays1
                                                  calendars: [
                                                          {
                                                          url: 'https://x.com/remote.php/dav/calendars/admin/work?expor>
                                                          //symbol: 'briefcase',
                                                          auth: {
                                                                      user: 'admin',
                                                                      pass: 'xxxxxx',
                                                                      method: 'basic'
                                                                  },
                                                          maximumEntries: 5,
                  //                                        maximumNumberOfDays: 4,
                  
                                                          },
                                                          ],
                                                  }
                  
                  
                  S 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @theaddies
                    last edited by

                    @theaddies ok, can you open the developers window

                    ctrl-shift-i, select the console tab, and entry cal in the filter field

                    see if there is any error?

                    maximumEntries:5 could be limiting too

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 2 Replies Last reply Reply Quote 0
                    • T Offline
                      theaddies @sdetweil
                      last edited by theaddies

                      @sdetweil I am only using ssh. I will plug a keyboard into it.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        theaddies @sdetweil
                        last edited by

                        @sdetweil OK, so in the console I do see the message below over and over and over. That is the only thing that appears odd to me.

                        slicing events total maxcount = 10   Calendar_js:744
                        sorting events count =0 Calendar_js: 704
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 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