Only ncp users' calendars are accessible

A couple of days ago, my calendar app (the whole calendar system realy) suddenly stopped working. I canā€™t tell when it happened exactly, nor what might have caused it. Right now, Iā€™m observing this strange behavior.

  1. No sync error message on my Android phone or computer (which is why I didnā€™t notice at first).
  2. I canā€™t see the calendar items in the web interface. I also canā€™t create a new item. The dots just keep spinning.
  3. My contactsā€™ birthdays calendar is still visible.
  4. Syncing between my devices doesnā€™t work. So itā€™s not just the web interface.

And, most strangely:
5. As far as I can tell, every user on my Nextcloud instance is affected, except for the original admin user ā€˜ncpā€™. If a add another user to the admin group, it doesnā€™t fix the problem.

NextCloudPi diagnostics

NextCloudPi version  v1.50.3
NextCloudPi image    NextCloudPi_06-09-22
OS                   Debian GNU/Linux 11. 5.15.61-v8+ (aarch64)
automount            yes
USB devices          sda 
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      44G/235G
rootfs usage         44G/235G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    24.0.5.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        closed
Port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               35min

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "myname.selfhost.me",
            "11": "188.98.244.121",
            "1": "192.168.178.55",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.5.1",
        "overwrite.cli.url": "https:\/\/myname.selfhost.me\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/var\/www\/nextcloud\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "maintenance": false,
        "has_rebuilt_cache": true,
        "theme": ""
    }
}

HTTPd logs

[Tue Oct 25 00:00:03.215805 2022] [ssl:warn] [pid 667:tid 547910186048] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 25 00:00:03.230645 2022] [mpm_event:notice] [pid 667:tid 547910186048] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Oct 25 00:00:03.232730 2022] [core:notice] [pid 667:tid 547910186048] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 25 20:26:27.093380 2022] [proxy_fcgi:error] [pid 119512:tid 547724214656] [client 192.168.178.45:50138] AH01067: Failed to read FastCGI header
[Tue Oct 25 20:26:27.123543 2022] [proxy_fcgi:error] [pid 119512:tid 547724214656] (104)Connection reset by peer: [client 192.168.178.45:50138] AH01075: Error dispatching request to :4443: 
[Tue Oct 25 20:26:27.438828 2022] [mpm_event:notice] [pid 667:tid 547910186048] AH00492: caught SIGWINCH, shutting down gracefully
[Tue Oct 25 20:26:30.829559 2022] [core:warn] [pid 667:tid 547910186048] AH00045: child process 119565 still did not exit, sending a SIGTERM
[Tue Oct 25 20:26:32.486453 2022] [http2:warn] [pid 119565:tid 547910186048] AH10291: h2_workers: cleanup, 2 idle workers did not exit after 5 seconds.
[Tue Oct 25 20:26:43.264101 2022] [ssl:warn] [pid 520:tid 547849303104] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 25 20:26:43.378583 2022] [ssl:warn] [pid 668:tid 547849303104] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 25 20:26:43.390206 2022] [mpm_event:notice] [pid 668:tid 547849303104] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Oct 25 20:26:43.390408 2022] [core:notice] [pid 668:tid 547849303104] AH00094: Command line: '/usr/sbin/apache2'

Database logs

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

Nextcloud logs

{"reqId":"Y1gii-0ucb8G8CBXLiutTAAAAA4","level":2,"time":"2022-10-25T17:53:15+00:00","remoteAddr":"103.133.111.120","user":"--","app":"core","method":"GET","url":"//site/wp-includes/wlwmanifest.xml","message":"Trusted domain error. \"103.133.111.120\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1gije0ucb8G8CBXLiutTQAAAAg","level":2,"time":"2022-10-25T17:53:17+00:00","remoteAddr":"103.133.111.120","user":"--","app":"core","method":"GET","url":"//cms/wp-includes/wlwmanifest.xml","message":"Trusted domain error. \"103.133.111.120\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1giju0ucb8G8CBXLiutTgAAAAU","level":2,"time":"2022-10-25T17:53:18+00:00","remoteAddr":"103.133.111.120","user":"--","app":"core","method":"GET","url":"//sito/wp-includes/wlwmanifest.xml","message":"Trusted domain error. \"103.133.111.120\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1gmofZqu_hKcI6gK-EbygAAAI0","level":2,"time":"2022-10-25T18:10:41+00:00","remoteAddr":"164.90.137.12","user":"--","app":"core","method":"GET","url":"/","message":"Trusted domain error. \"164.90.137.12\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1goPu0ucb8G8CBXLiutYQAAABQ","level":2,"time":"2022-10-25T18:17:34+00:00","remoteAddr":"152.89.196.23","user":"--","app":"core","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"Trusted domain error. \"152.89.196.23\" tried to access using \"188.98.244.121:443\" as host.","userAgent":"Python-urllib/3.8","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1gure0ucb8G8CBXLiutagAAAAI","level":2,"time":"2022-10-25T18:45:01+00:00","remoteAddr":"152.89.196.211","user":"--","app":"core","method":"GET","url":"/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php","message":"Trusted domain error. \"152.89.196.211\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1gvmPZqu_hKcI6gK-Eb2gAAAJA","level":2,"time":"2022-10-25T18:48:56+00:00","remoteAddr":"152.89.196.211","user":"--","app":"core","method":"GET","url":"/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php","message":"Trusted domain error. \"152.89.196.211\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1g0R-0ucb8G8CBXLiut0wAAAAs","level":2,"time":"2022-10-25T19:08:55+00:00","remoteAddr":"152.89.196.211","user":"--","app":"core","method":"GET","url":"/solr/admin/info/system?wt=json","message":"Trusted domain error. \"152.89.196.211\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1g2m-0ucb8G8CBXLiuuBQAAAAQ","level":2,"time":"2022-10-25T19:18:51+00:00","remoteAddr":"152.89.196.211","user":"--","app":"core","method":"GET","url":"/index.php?s=/Index/\\think\\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP21","message":"Trusted domain error. \"152.89.196.211\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1g3CfZqu_hKcI6gK-EcVQAAAIE","level":2,"time":"2022-10-25T19:20:41+00:00","remoteAddr":"152.89.196.211","user":"--","app":"core","method":"GET","url":"/?a=fetch&content=<php>die(@md5(HelloThinkCMF))</php>","message":"Trusted domain error. \"152.89.196.211\" tried to access using \"188.98.244.121\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"Y1g5aVGtbT7sXxqcB_h5qwAATQA","level":3,"time":"2022-10-25T19:30:49+00:00","remoteAddr":"192.168.178.45","user":"ncp","app":"PHP","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=cal&from=%2Fsettings%2Fapps","message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","exception":{"Exception":"Error","Message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php","line":154,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":153,"function":"getOrCreateFolder","class":"OCA\\Notes\\Service\\NoteUtil","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":30,"function":"getNotesFolder","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":69,"function":"getAll","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/AppInfo/SearchProvider.php","line":52,"function":"search","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Search/SearchComposer.php","line":160,"function":"search","class":"OCA\\Notes\\AppInfo\\SearchProvider","type":"->"},{"file":"/var/www/nextcloud/core/Controller/UnifiedSearchController.php","line":115,"function":"search","class":"OC\\Search\\SearchComposer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y1g5alGtbT7sXxqcB_h5tgAATgc","level":3,"time":"2022-10-25T19:30:51+00:00","remoteAddr":"192.168.178.45","user":"ncp","app":"PHP","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=caldav&from=%2Fsettings%2Fapps","message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","exception":{"Exception":"Error","Message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php","line":154,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":153,"function":"getOrCreateFolder","class":"OCA\\Notes\\Service\\NoteUtil","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":30,"function":"getNotesFolder","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":69,"function":"getAll","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/AppInfo/SearchProvider.php","line":52,"function":"search","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Search/SearchComposer.php","line":160,"function":"search","class":"OCA\\Notes\\AppInfo\\SearchProvider","type":"->"},{"file":"/var/www/nextcloud/core/Controller/UnifiedSearchController.php","line":115,"function":"search","class":"OC\\Search\\SearchComposer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y1g5dFGtbT7sXxqcB_h5wgAAUQU","level":3,"time":"2022-10-25T19:31:00+00:00","remoteAddr":"192.168.178.45","user":"ncp","app":"PHP","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=cal&from=%2Fsettings%2Fapps","message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","exception":{"Exception":"Error","Message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php","line":154,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":153,"function":"getOrCreateFolder","class":"OCA\\Notes\\Service\\NoteUtil","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":30,"function":"getNotesFolder","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":69,"function":"getAll","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/AppInfo/SearchProvider.php","line":52,"function":"search","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Search/SearchComposer.php","line":160,"function":"search","class":"OCA\\Notes\\AppInfo\\SearchProvider","type":"->"},{"file":"/var/www/nextcloud/core/Controller/UnifiedSearchController.php","line":115,"function":"search","class":"OC\\Search\\SearchComposer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y1g8XRhqhVoo7t230hh0ggAADwQ","level":3,"time":"2022-10-25T19:43:25+00:00","remoteAddr":"192.168.178.45","user":"ncp","app":"PHP","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=new&from=%2Fsettings%2Fapps%2Finstalled%2Fholiday_calendars","message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","exception":{"Exception":"Error","Message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php","line":154,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":153,"function":"getOrCreateFolder","class":"OCA\\Notes\\Service\\NoteUtil","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":30,"function":"getNotesFolder","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":69,"function":"getAll","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/AppInfo/SearchProvider.php","line":52,"function":"search","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Search/SearchComposer.php","line":160,"function":"search","class":"OCA\\Notes\\AppInfo\\SearchProvider","type":"->"},{"file":"/var/www/nextcloud/core/Controller/UnifiedSearchController.php","line":115,"function":"search","class":"OC\\Search\\SearchComposer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y1g8XRhqhVoo7t230hh0jQAADxA","level":3,"time":"2022-10-25T19:43:27+00:00","remoteAddr":"192.168.178.45","user":"ncp","app":"PHP","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=news&from=%2Fsettings%2Fapps%2Finstalled%2Fholiday_calendars","message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","exception":{"Exception":"Error","Message":"Undefined variable $folder at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#154","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php","line":154,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":153,"function":"getOrCreateFolder","class":"OCA\\Notes\\Service\\NoteUtil","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":30,"function":"getNotesFolder","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/Service/NotesService.php","line":69,"function":"getAll","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/apps/notes/lib/AppInfo/SearchProvider.php","line":52,"function":"search","class":"OCA\\Notes\\Service\\NotesService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Search/SearchComposer.php","line":160,"function":"search","class":"OCA\\Notes\\AppInfo\\SearchProvider","type":"->"},{"file":"/var/www/nextcloud/core/Controller/UnifiedSearchController.php","line":115,"function":"search","class":"OC\\Search\\SearchComposer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y1g9bxhqhVoo7t230hh0wAAADgA","level":2,"time":"2022-10-25T19:48:00+00:00","remoteAddr":"192.168.178.45","user":"ncp","app":"ocs_api","method":"POST","url":"/ocs/v2.php/cloud/users","message":"Failed addUser attempt with hint exception.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","exception":{"Exception":"OC\\HintException","Message":"Password is present in compromised password list. Please choose a different password.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/password_policy/lib/Listener/ValidatePasswordPolicyEventListener.php","line":46,"function":"validate","class":"OCA\\Password_Policy\\PasswordValidator","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\Password_Policy\\Listener\\ValidatePasswordPolicyEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Database.php","line":123,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":463,"function":"createUser","class":"OC\\User\\Database","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":407,"function":"createUserFromBackend","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php","line":417,"function":"createUser","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"addUser","class":"OCA\\Provisioning_API\\Controller\\UsersController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/password_policy/lib/PasswordValidator.php","Line":87,"Hint":"Password is present in compromised password list. Please choose a different password.","message":"Failed addUser attempt with hint exception.","exception":{},"CustomMessage":"Failed addUser attempt with hint exception."}}
{"reqId":"Y1g-uVGtbT7sXxqcB_h6aQAAUQ0","level":2,"time":"2022-10-25T19:53:33+00:00","remoteAddr":"192.168.178.45","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: dienstothername (Remote IP: 192.168.178.45)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","data":[]}
{"reqId":"Y1g-zBhqhVoo7t230hh1jwAADQ0","level":2,"time":"2022-10-25T19:53:53+00:00","remoteAddr":"192.168.178.45","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: dienstothername (Remote IP: 192.168.178.45)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","data":[]}
{"reqId":"Y1g-3xhqhVoo7t230hh1kQAADxI","level":2,"time":"2022-10-25T19:54:10+00:00","remoteAddr":"192.168.178.45","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: dienstothername (Remote IP: 192.168.178.45)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","data":[]}
{"reqId":"Y1g-8BhqhVoo7t230hh1kwAAFBI","level":2,"time":"2022-10-25T19:54:28+00:00","remoteAddr":"192.168.178.45","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: dienstothername (Remote IP: 192.168.178.45)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.5.1","data":[]}

Why it says here that the ports are closed I donā€™t know. I can access the web server from outside my own network.

Does this make any sense to someone?

I saw there was a new version of the calendar app (3.5.2) and I upgraded. It didnā€™t fix the problem.

In the meantime, I donā€™t think itā€™s the calendar app that is broken but it has to be CalDAV. My tasks are also not synced. In the task app, I can still see some state, but each device has other states depending on which device I added a new task to or on which device I completed one.

Can CalDAV somehow have gotten shut down or damaged?

The problem is fixed. All calendars are working again.

Iā€™m not sure what the solution was. What I did right before was upgrading the packages (sudo apt-get update && sudo apt-get upgrade). There were a lot of new PHP packages. During the upgrade process I saw a message indicating the timezone setting was one hour off. I fixed this using sudo dpkg-reconfigure tzdata. When all this was done, the calendars worked again.

Good luck if youā€™re experiencing a similar problem!