Incorrect calendar refresh rate when subscribing to a Nextcloud calendar (but works fine with other subscriptions)

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.3
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server set-up
    • Nextcloud installed via Cloudron

Summary of the issue you are facing:

I have create a calendar on one Nextcloud server, created a share link (edit > share link > copy subscription link) and imported it on another Nextcloud server (+ button > New subscription from link (read-only)). On import all events are loaded fine but any new changes take ages to appear (around 8hours).

I have changed the calendar subscription refresh rate on both servers to every 5 minutes (I also tried every 5 seconds) using

php occ config:app:set dav calendarSubscriptionRefreshRate --value "PT5M"

And the console confirms the variable has been set. Yet the refresh does not happen at the correct rate for this calendar.

On the same server where I subscribed to the Nextcloud calendar, I also have a subscription to a work google calendar and this one does refresh at the correct rate!

I wonder, is there anything I do wrong with subscribing to the nextcloud calendar?

Is there a way to manually trigger a calendar refresh (via occ command or otherwise) to to further testing?

1 Like

Can you see in the logs of either server whether the requests are made at the set interval? This may help to see if the issue is caused by the server making the requests or the server that hosts the calendar.
Perhaps the server that hosts the calendar has a firewall that prevents frequent requests? Or maybe the requesting server does not actually try to update the calendar as frequently as you wanted. Then maybe there is an issue with the calendar itself – I am really just guessing here – I would suggest an issue with cron, but a cron issue would also affect the other calendar subscription.