Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): Arch Linux
Apache or nginx version (eg, Apache 2.4.25): Caddy 2
PHP version (eg, 7.4): PHP 8.1
The issue you are facing:
On my macOS and iPadOS devices, CalDAV syncing for calendar and reminders doesn‘t work as expected. When I create and edit events/reminders on those devices, they get properly pushed to the server. When I edit/remove events with other clients or using the web interface, the changes aren‘t fetched by the Calendar/Reminders app and sort of get stuck on iPadOS/macOS. Even when force-refreshing calendars (Command+R on macOS, pull-to-refresh on iPadOS) it does not update (for Reminders, there is no manual way to update).
If I remove the account and re-add it, the data is fetched properly. It‘s not a good workaround however to do this every so often.
Is this the first time you’ve seen this error? (Y/N): Yes.
Steps to replicate it:
Setup Calendar/Reminders sync on an iPad/Mac.
Delete an already existing event using the web interface.
Open the calendar app on the Mac/iPad and refresh. The deleted event is still there.
The output of your Nextcloud log in Admin > Logging:
Output after refreshing:
On macOS 12.6 “Montery” with Nextcloud version 26.0.2 on a DirectAdmin server I have the same issue. Also on iOS (quite recent, I don’t have the version available now).
When I start the Reminders app on macOS I get serveral log entries:
[webdav] Debug: Sabre\DAV\Exception\NotAuthenticated: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured at <<closure>>
0. /public_html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\Auth\Plugin->beforeMethod()
1. /public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 456
Sabre\DAV\Server->emit()
2. /public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod()
3. /public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
4. /public_html/apps/dav/lib/Server.php line 366
Sabre\DAV\Server->exec()
5. /public_html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
6. /public_html/remote.php line 172
require_once(" ... p")
PROPFIND /remote.php/dav/calendars/joost/
from <my IP> by joost at 2023-05-30T20:22:37+00:00
And the simular Sabre\DAV\Exception\NotAuthenticated errors for: