Read the statement by Michael Teeuw here.
Nextcloud calendar error
-
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. -
@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
-
I made the changes here disabling IPV6 and they seem to work now.
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. -
@theaddies are those old events? we don’t display past events…
-
@sdetweil Thanks for the reply. Nope, not old events. 2 of the calendars have loaded. The work calendar just says “Loading …” on the Pi.
-
@theaddies but the log said failed
comment out the other cal definitions, so only that one is active
/* …*/ is comment block
-
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, }, ], } -
@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
-
@sdetweil I am only using ssh. I will plug a keyboard into it.
-
@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 -
@theaddies this sounds like v 2.30, w the clipping problem
fixed in 2.31
-
@sdetweil I switched to the branch described in the other post and nothing changed. I switched back to main and I give up. Thanks very much for the help. I really appreciate it.
-
@theaddies the 2.30 fix branch isn’t there unless you manually install it
-
@sdetweil I did this. Nothing changed.
cd ~/MagicMirror git fetch origin pull/3679/head:_fix_clipping git switch _fix_clipping npm run install-mm # if you get an error error, rm package-lock.json # and repeat the git switch restart MM -
@theaddies said in Nextcloud calendar error:
maximumEntries: 5,if you try 100 instead of 5 does it make a difference?
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