CalDAV Synchronization no longer working with nextcloud
Vojtěch Zeisek
vojtech.zeisek at opensuse.org
Thu Oct 24 12:22:41 BST 2019
Dne čtvrtek 24. října 2019 9:58:51 CEST, Christian Wolf napsal(a):
> Hello,
> since my last update (akonadi 19.08.1 -> 19.08.2) on Oct 22th I am no
> longer able to sync my appointments correctly with my nextcloud server.
> It used to work for quite some time.
This is same for me. Some regression between 19.08.1 and 19.08.2. Could anyone
skilled check what changed in the respective code?
> In the server I get messages like this:
> > [webdav] Fatal: Sabre\DAV\Exception\BadRequest: A calendar-query REPORT
> > on a calendar with a Depth: 0 is undefined. Set Depth to 1 at <<closure>>>
> > 0. /srv/http/nextcloud/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Plugin.php
> > line 250
> > Sabre\CalDAV\Plugin->calendarQueryReport(Sabre\CalDAV\Xml ... l})
> > 1. <<closure>>
> > Sabre\CalDAV\Plugin->report("{urn:ietf:param ... y", Sabre\CalDAV\Xml
> > ... l}, "calendars/christian-nextcloud/personal")
> > 2.
> > /srv/http/nextcloud/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.
> > php line 105
> > undefinedundefinedcall_user_func_array([OCA\DAV\CalDAV\Plugin
> > {},"report"], ["{urn:ietf:para ... "])
> > 3.
> > /srv/http/nextcloud/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php
> > line 718
> > Sabre\Event\EventEmitter->emit("report", ["{urn:ietf:para ... "])
> > 4. <<closure>>
> > Sabre\DAV\CorePlugin->httpReport(Sabre\HTTP\Reque ... "},
> > Sabre\HTTP\Response {})
> > 5.
> > /srv/http/nextcloud/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.
> > php line 105
> > undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin
> > {},"httpReport"], [Sabre\HTTP\Requ ... }])
> > 6. /srv/http/nextcloud/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php
> > line 479
> > Sabre\Event\EventEmitter->emit("method:REPORT", [Sabre\HTTP\Requ ...
> > }])
> > 7. /srv/http/nextcloud/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php
> > line 254
> > Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque ... "},
> > Sabre\HTTP\Response {})
> > 8. /srv/http/nextcloud/nextcloud/apps/dav/lib/Server.php line 316
> > Sabre\DAV\Server->exec()
> > 9. /srv/http/nextcloud/nextcloud/apps/dav/appinfo/v2/remote.php line 35
> > OCA\DAV\Server->exec()
> > 10. /srv/http/nextcloud/nextcloud/remote.php line 163
> > undefinedundefinedrequire_once("/srv/http/nextc ... p")
> > REPORT /nextcloud/remote.php/dav/calendars/christian-nextcloud/personal/
> > from 134.96.120.223 by christian-nextcloud at 2019-10-24T07:44:23+00:00
I see in ownCloud 10.0 log messages like
{"reqId":"XbGGzhQIgNNA7uCseqoTHAAAACs","level":
4,"time":"2019-10-24T11:11:10+00:00","remoteAddr":"195.XXX","user":"XXX","app":"webdav","method":"REPORT","url":"\/
remote.php\/dav\/calendars\/vojta\/trapa_kalendar\/","message":"Exception:
HTTP\/1.1 400 A calendar-query REPORT on a calendar with a Depth: 0 is
undefined. Set Depth to 1: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\
\BadRequest\",\"Message\":\"A calendar-query REPORT on a calendar with a
Depth: 0 is undefined. Set Depth to 1\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/
XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/CalDAV\\
\/Plugin.php(250): Sabre\\\\CalDAV\\\\Plugin-
>calendarQueryReport(Object(Sabre\\\\CalDAV\\\\Xml\\\\Request\\\
\CalendarQueryReport))\\n#1 [internal function]: Sabre\\\\CalDAV\\\\Plugin-
>report('{urn:ietf:param...', Object(Sabre\\\\CalDAV\\\\Xml\\\\Request\\\
\CalendarQueryReport), 'calendars\\\/vojta...')\\n#2 \\\/home\\\/XXX\\\/
XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/
EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/home\\
\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/
CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\
\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\
\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/home\\\/XXX\\
\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/
EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/home\\
\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/
Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\
\n#7 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\
\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server-
>invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\
\Response))\\n#8 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/apps\\\/dav\\\/lib\\\/
Server.php(298): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/home\\\/XXX\\\/
XXX.cz\\\/htdocs\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\
\DAV\\\\Server->exec()\\n#10 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/
remote.php(165): require_once('\\\/home\\\/XXX\\\/clou...')\\n#11 {main}\",
\"File\":\"\\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/
dav\\\/lib\\\/CalDAV\\\/Plugin.php\",\"Line\":615}"}
{"reqId":"XbGGzhQIgNNA7uCseqoTHAAAACg","level":
4,"time":"2019-10-24T11:11:10+00:00","remoteAddr":"195.XXX","user":"XXX","app":"webdav","method":"REPORT","url":"\/
remote.php\/dav\/calendars\/vojta\/trapa_kalendar\/","message":"Exception:
HTTP\/1.1 400 A calendar-query REPORT on a calendar with a Depth: 0 is
undefined. Set Depth to 1: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\
\BadRequest\",\"Message\":\"A calendar-query REPORT on a calendar with a
Depth: 0 is undefined. Set Depth to 1\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/
XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/CalDAV\\
\/Plugin.php(250): Sabre\\\\CalDAV\\\\Plugin-
>calendarQueryReport(Object(Sabre\\\\CalDAV\\\\Xml\\\\Request\\\
\CalendarQueryReport))\\n#1 [internal function]: Sabre\\\\CalDAV\\\\Plugin-
>report('{urn:ietf:param...', Object(Sabre\\\\CalDAV\\\\Xml\\\\Request\\\
\CalendarQueryReport), 'calendars\\\/vojta...')\\n#2 \\\/home\\\/XXX\\\/
XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/
EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/home\\
\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/
CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\
\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\
\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/home\\\/XXX\\
\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/
EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/home\\
\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/
Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\
\n#7 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\
\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server-
>invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\
\Response))\\n#8 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/apps\\\/dav\\\/lib\\\/
Server.php(298): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/home\\\/XXX\\\/
XXX.cz\\\/htdocs\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\
\DAV\\\\Server->exec()\\n#10 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/
remote.php(165): require_once('\\\/home\\\/XXX\\\/clou...')\\n#11 {main}\",
\"File\":\"\\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/
dav\\\/lib\\\/CalDAV\\\/Plugin.php\",\"Line\":615}"}
{"reqId":"XbGGzhQIgNNA7uCseqoTIQAAACE","level":
4,"time":"2019-10-24T11:11:11+00:00","remoteAddr":"195.XXX","user":"XXX","app":"webdav","method":"REPORT","url":"\/
remote.php\/dav\/calendars\/vojta\/contact_birthdays\/","message":"Exception:
HTTP\/1.1 400 A calendar-query REPORT on a calendar with a Depth: 0 is
undefined. Set Depth to 1: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\
\BadRequest\",\"Message\":\"A calendar-query REPORT on a calendar with a
Depth: 0 is undefined. Set Depth to 1\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/
XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/CalDAV\\
\/Plugin.php(250): Sabre\\\\CalDAV\\\\Plugin-
>calendarQueryReport(Object(Sabre\\\\CalDAV\\\\Xml\\\\Request\\\
\CalendarQueryReport))\\n#1 [internal function]: Sabre\\\\CalDAV\\\\Plugin-
>report('{urn:ietf:param...', Object(Sabre\\\\CalDAV\\\\Xml\\\\Request\\\
\CalendarQueryReport), 'calendars\\\/vojta...')\\n#2 \\\/home\\\/XXX\\\/
XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/
EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/home\\
\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/
CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\
\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\
\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/home\\\/XXX\\
\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/
EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/home\\
\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/
Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\
\n#7 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\
\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server-
>invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\
\Response))\\n#8 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/apps\\\/dav\\\/lib\\\/
Server.php(298): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/home\\\/XXX\\\/
XXX.cz\\\/htdocs\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\
\DAV\\\\Server->exec()\\n#10 \\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/
remote.php(165): require_once('\\\/home\\\/XXX\\\/clou...')\\n#11 {main}\",
\"File\":\"\\\/home\\\/XXX\\\/XXX.cz\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/
dav\\\/lib\\\/CalDAV\\\/Plugin.php\",\"Line\":615}"}
On the other hand, I don't see anything interesting in Apache log.
> Before the update these messages do not appear.
> I can modify events (I assume so at least in general) but new events are
> not showing up.
I observe same behavior. Anyone else? It's the latest Akonadi, so it didn't
land to everyone's computers. Is this enough to fill new bugreport, or do we
need to get more information?
> Is this a known bug somehow? Or is this the same problem as Vojtěch Zeisek
> asked a few days ago?
I think we are hitting same problem...
--
Vojtěch Zeisek
Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux
https://www.opensuse.org/
https://trapa.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20191024/8c513322/attachment.sig>
More information about the kdepim-users
mailing list