Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version (eg, 20.0.5): 27.1.4
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): 8.1.2
I have a question about refresh subscribed calendars(like google calendar)
An user have a big google calendar and when cron.php runs takes like 10 minutes to process.
Debugging this times i see that is related to this subscribed calendar.
Running some sql queries i see when the cron.php is running this calendar is like recreates every time. I use this SQL querie to debug
SELECT calendarid,calendartype, COUNT(*) FROM `oc_calendarobjects` GROUP BY calendarid,calendartype ORDER BY COUNT(*);
and i see that calendar 52 is recreating all time:
calendarid calendartype count
| 52 | 1 | 7818 |
now has 7800+ calendar objects but when the cron starts again go to 0 objects and stat to add all again.
The question i have if this is normal behavior that recreates the objects of the subscribed calendar every refresh.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Subscribe to big calendar
- wait cron.php runs
- check calendar objects related to this subscribed calendar(using the querie provided above)
The output of your Nextcloud log in Admin > Logging:
I don’t see anything related to this.
some errors like:
{"reqId":"0","level":3,"time":"2024-01-11T12:55:23+00:00","remoteAddr":"","user":"--","app":"dav","method":"","url":"--",
"message":"Unable to create calendar object from subscription 52","userAgent":"--","version":"27.1.4.1",
"exception":{"Exception":"Sabre\\VObject\\Recur\\NoInstancesException","Message":"This recurrence rule does not generate any valid instances","Code":0,"
Trace":[{"file":"/var/www/cloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":2824,"function":"__construct","class":"Sabre\\VObject\\Recur\\EventIterator",
"type":"->"},{"file":"/var/www/cloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":1229,"function":"getDenormalizedData","class":"OCA\\DAV\\CalDAV\\CalDavBackend","
type":"->"},{"file":"/var/www/cloud/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php","line":129,"function":"createCalendarObject","class":"OCA\\DAV\\CalDAV\\CalDavBackend",
"type":"->","args":["*** sensitive parameters replaced ***"]}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
Default config
The output of your Apache/nginx/system log in /var/log/____
:
nothing related