Calendars (All Devices) Stopped Syncing

No changes were made to Nextcloud or my server. All calendars stopped syncing. I can’t even add an event to the online calendar. Calendars are logging in, however. I can uncheck show birthdays and they disappear. I can also add a new calendar that shows up on all devices, but it will not allow for a new event to be posted. It’s as if everything is in read only mode. I updated Nextcloud and all apps. No change.

  • Nextcloud Server: Nextcloud Hub 10 (31.0.3)

  • PHP: Version: 8.3.19

  • Database: mysql 10.6.21-MariaDB-log

  • Operating System: Linux 4.18.0-553.34.1.lve.el8.x86_64 x86_64

  • Is this the first time you’ve seen this error? Yes

  • When did this problem seem to first start? Late this afternoon.

  • Are you using CloudfIare, mod_security, or similar? No.

  • Apache Version: 2.4.63

Please find the support template, where you also the files to search for error messages are mentioned.

In addition please check, whether the connection from you device to the Nextcloud server still is working.

Here you go:

The Basics

  • Nextcloud Server version (31.0.3):
  • Operating system and version (Linux 4.18.0-553.34.1.lve.el8.x86_64 x86_64):
  • Web server and version (Apache 2.4.63):
  • Reverse proxy and version _(nginx 1.21.6-4.el7):
  • PHP version (8.3.19):
  • Is this the first time you’ve seen this error? Yes:
  • When did this problem seem to first start? Yesterday.
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.) Three years ago, don’t recall.
  • Are you using Cloudflare, mod_security, or similar? No

Summary of the issue you are facing:

Calendars on all devices and connecting to server, but no new events/other are able to be added.

Steps to replicate it (hint: details matter!): A new event is created on a device or inside the Nextcloud calendar and the system will not allow it to be distributed (handhelds) or saved (on all other devices including inside NC calendar).

  • Server has no maintenance window start time configured. This means resource intensive daily background jobs will also be executed during your main usage time. We recommend to set it to a time of low usage, so users are less impacted by the load caused from these heavy tasks. For more details see the documentation :arrow_upper_right:.

  • Some headers are not set correctly on your instance - The Strict-Transport-Security HTTP header is not set (should be at least 15552000 seconds). For enhanced security, it is recommended to enable HSTS. For more details see the documentation :arrow_upper_right:.

  • The database is used for transactional file locking. To enhance performance, please configure memcache, if available. For more details see the documentation :arrow_upper_right:.

  • No memory cache has been configured. To enhance performance, please configure a memcache, if available. For more details see the documentation :arrow_upper_right:.

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"Z_1Wd5nOEsUEtK0fYrHNWQAAA5c","level":0,"time":"2025-04-14T18:39:51+00:00","remoteAddr":"71.196.186.160","user":"polina","app":"logreader","method":"PUT","url":"/index.php/apps/logreader/api/settings","message":"Updating AppConfig: logLevel => 2","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15","version":"31.0.3.2","data":{"app":"logreader"}}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

NA

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

On a shared server, no access

Configuration

CloudLinux v8.10.0 with MySQL/MariaDB.

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'XXX',
  'passwordsalt' => 'XXX',
  'secret' => 'XXX',
  'trusted_domains' => 
  array (
    0 => 'XXX',
  ),
  'datadirectory' => '/home/XXX.com/data',
  'dbtype' => 'mysql',
  'version' => '31.0.3.2',
  'overwrite.cli.url' => 'http://www.XXX.XXX.com',
  'dbname' => 'XXX',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'XXX',
  'dbpassword' => 'XXX',
  'mysql.utf8mb4' => true,
  'installed' => true,
  'default_phone_region' => 'US',
  'mail_domain' => 'XXX',
  'mail_from_address' => 'XXX',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtpname' => 'XXX',
  'mail_smtppassword' => 'XXX',
  'mail_smtphost' => 'XXX',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '465',
);

Apps

The output of occ app:list (if possible):

Active apps
All apps are up-to-date.

Activity
4.0.0

AppAPI
5.0.2

Brute-force settings
4.0.0

Calendar
5.2.1

Collaborative tags
1.21.1

Comments
1.21.0

Contacts
7.0.5

Contacts Interaction
1.12.0

Dashboard
7.11.0

Deleted files
1.21.0

External storage support
1.23.0

Federation
1.21.0

File reminders
1.4.0

File sharing
1.23.1

Files download limit
4.0.0

First run wizard
4.0.0

Log Reader
4.0.0

Monitoring
3.0.0

Nextcloud announcements
3.0.0

Nextcloud Office
8.6.4

Nextcloud webhook support
1.2.0

Notifications
4.0.0

Password policy
3.0.0

PDF viewer
4.0.0

Photos
4.0.0-dev.1

Privacy
3.0.0

Recommendations
4.0.0

Related Resources
2.0.0

Share by mail
1.21.0

Support
3.0.0

Teams
31.0.0

Text
5.0.0

Update notification
1.21.0

Usage survey
3.0.0

User status
1.11.0

Versions
1.24.0

Weather status
1.11.0

Connection to devices is still working.

There is only one repeated debugging error, which based on other posts is not an issue:

Exception No parameters in call to OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::andX
Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.

Opcache has also been cleared.

Can’t wait any longer. Finding another solution.