Upgrading to Nextcloud 18 broke both importing public Google
calendars and external calendars so that they don’t update
automatically. Fortunately, both of these issues have
Importing Google Calendars
For external calendars, Nextcloud needs a
.ical file. To add a
Google Calendar, we just have to adjust the URL's formatting
which you can do automatically using
this online tool. Alternatively, you can follow the manual method below.
For embedded calendars (in this example the
you can find the
cid by clicking on the plus
button in the bottom right corner which will open the
Alternatively, you can get also use inspect element which
will yield the following URL containing the
Then take everything after
/ical/ and up to the next
oftentimes this will look something like
[id]@[group].calendar.google.com. Then, take
this string and add it to the following:
For example, using the Codeforces calendar you'd grab
and get the following:
You can then use this URL to as the external URL in the Nextcloud Calendar app.
Automatically Updating Calendars
The default subscription refreshing interval is of one week (unless the subscription itself asks for a different rate).
You may override it with something like:
sudo -u www-data php /var/www/html/occ config:app:set dav calendarSubscriptionRefreshRate --value "P1DT6H"
which would set the interval to 1 day and 6 hours. The
--value data type is