Certain Calendar in calendar app loading forever

Upgrade from Nextcloud 24.0.1 to 24.0.2 resulted in an error. First Nginx gave me 502 error. After reboot Nextcloud loaded but was in maintenace mode. After manually disabling maintenance mode update continued, but a repair step for calendar threw an error. (I didn’t notice exact error message)

The setup warning said some calendar files were missing. I manually re-installed the calendar app and after rescan the errors went away.

But if I start the calendar app, one calendar seems to load forever (swirling animation around the calendar icon and the web page freezes.

The calendar data is stlll there and can be accessed by caldav.

Chrome console shows these 404 errors

GET https://MY IP ADDRESS/ocs/v2.php/apps/user_status/api/v1/statuses/cryptic numbers 404

Uninstalling and re-installing the calendar app does not solve the problem.

Please help!

[/details]

Nextcloud version (eg, 20.0.5): `24.0.2

Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04

Apache or nginx version (eg, Apache 2.4.25): NGINX `

PHP version (eg, 7.4): `PHP 8.1.2

The issue you are facing:
See above

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. Log-on to Nextcloud
  2. Open calendar app as a user with access to a particular (shared) calendar
  3. Calendar loads forever

The output of your Nextcloud log in Admin > Logging:

No errors

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
    1 => '',
  ),
  'datadirectory' => '/var/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '24.0.2.1',
  'overwrite.cli.url' => '',
  'dbname' => '',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'default_phone_region' => 'DE',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'mail_from_address' => '',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => ',
  'mail_smtpsecure' => 'tls',
  'mail_smtphost' => '',
  'mail_smtpauth' => 1,
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'overwriteprotocol' => 'https',
  'logtimezone' => 'Europe/Berlin',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => '',
);

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

No errors

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

No errors