SUMMARY Since re-installing a fresh Fedora 40 after using Fedora 39, I am no longer able to add my nextcloud calendar or addressbooks in akonadi. The error message shown in the window is completely useless (driver error, on German, couldn't get it to show it in English), on the console it's a bit more usefull, org.kde.pim.akonadiserver: Handler exception when handling command FetchCollections on connection akonadi_davgroupware_resource_0 (0x560355340ab0) : Hierarchical RID does not specify an existing collection org.kde.pim.davresource: Unable to fetch collections 320 "Ungültige Antwort des Treibers" STEPS TO REPRODUCE 1. Install Fedora 40 with akonadi 6.0.2 2. Try to add a nextcloud ressource, either via the built in Nextcloud setting in the drop down or by specifying the URLs manually OBSERVED RESULT You get the above error EXPECTED RESULT It works The same nextcloud instance works with other software, e.g. a still running KDE 5.* based kontact on my desktop box, davx on Android etc. Operating System: Fedora Linux 40 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: LENOVO Product Name: 20NQS30W00 System Version: ThinkPad X390 Yoga
I experience the same issue trying to fetch CardDav or CalDav from my Nextcloud (29.0.7) installation. The English error message is: org.kde.pim.davresource: Unable to fetch collections 320 "Invalid responses from backend" Operating System: CachyOS Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.11.0-2-cachyos-lto (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics Memory: 29.3 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: TUXEDO Product Name: TUXEDO Pulse 14 Gen1
I can confirm this error and it seems to be specific to Nextcloud servers. My logs show: org.kde.pim.akonadiserver: Handler exception when handling command FetchCollections on connection akonadi_davgroupware_resource_5 (0x5fe50fd8e1f0) : Hierarchical RID does not specify an existing collection The German error message is the same as reported by @Christian and also appears when you try to add the server again and test the connection. My other connection to a Horde-based Dav server works without problems in Korganizer. On the other hand, I have no troubles synchronizing to my Nextcloud using DavX5 on Android. So I think it's a Nextcloud-specific bug within Akonadi.
I wonder, did you try to add the resource via Merkuro (Settings > Accounts)? For me Nextcloud Calendars work just fine from there. Operating System: Fedora Linux 41 KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.12.13-200.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 PRO 6650U with Radeon Graphics Memory: 30.7 GiB of RAM Graphics Processor: AMD Radeon Graphics
(In reply to Gauthier from comment #3) > I wonder, did you try to add the resource via Merkuro (Settings > Accounts)? > For me Nextcloud Calendars work just fine from there. Yes. As I wrote in the other bug report, the issue is in the underlying akonadi. You can add it via korganizer, via merkuro (just tried again) or akonadiconsole, same error message. They all use the same logic, and the flaw is in there. As it doesn't affect all users, my best guess would be either some localization or it having issues with certain web setups (e.g. well-known ressources etc.), but since the error message is most unhelpful and there being no decent logs, it's very hard to pinpoint.
(In reply to Christian (Fuchs) from comment #4) > (In reply to Gauthier from comment #3) > > I wonder, did you try to add the resource via Merkuro (Settings > Accounts)? > > For me Nextcloud Calendars work just fine from there. > > Yes. As I wrote in the other bug report, the issue is in the underlying > akonadi. You can add it via korganizer, via merkuro (just tried again) or > akonadiconsole, same error message. They all use the same logic, and the > flaw is in there. > As it doesn't affect all users, my best guess would be either some > localization or it having issues with certain web setups (e.g. well-known > ressources etc.), but since the error message is most unhelpful and there > being no decent logs, it's very hard to pinpoint. Makes sense. I asked only because in my case it (very strangely) doesn't work when adding via Organiser but does when adding via Merkuro! I can't make sense of it since as you say they both use the same logic and the calendar setting UI is identical. But unfortunately your case seems different.
In my case, it also doesn't work when I try to fetch the calendars in Merkuro.
Exactly the same problem on Nextcloud 30.0.6.2 Operating System: Manjaro Linux KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.13.0-3-rt5-MANJARO (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-7Y54 CPU @ 1.20GHz Memory: 15.5 GiB of RAM Graphics Processor: Intel® HD Graphics 615 Manufacturer: TUXEDO Computers Product Name: TUXEDO InfinityBook 14v1 Synopsis: DavX on Android works. On this box it does not matter how I try to add the dav resource, via kontacts, via akonadiconsole, as manual dav resource, merkuro, all same errors as described in this bugreport. It was working before I tried to reinstall the calendar, so the incompatibility is in the detection likely and it seems an akonadi incompatibility.
Frank, the fix doesn't land until KDE Frameworks version 6.12
Created attachment 179911 [details] Error when using the setup assistant for DAV Groupware Even with KDE Frameworks 6.12, I still get the same error message.