Re: CalDAV Synchronization no longer working with nextcloud
Vojtěch Zeisek <[email protected]>
| Newsgroups | gmane.comp.kde.users.pim |
|---|---|
| Organization | openSUSE GNU/Linux |
| Message-ID | <5367439.DnpeNJkGnF@tilia> |
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/
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEES97LYVdqIgW2UhmwtBndlZHSOVEFAl2xiYEACgkQtBndlZHS OVGR+w/7Bxp4yImKtaVyTVobDILCqkvIHfiF6aHXKVHVKvQvzKpwxvwFc9WzZ+RX z9LyuhRu9CzF7qrJaoHHvdy9U6ARg4EcmxHTU5TZahLkUw2o+JM9n87IMtudy0mW ahwdraIQcQ+RQ94kF4SUXne8vQEtySGMXwVBw7DqLkaRJVTTsZKv41nKcPeRRDqZ teqXONjk8vvcv/LRZxMLiEG6nQskJecChfyRBXD29Flu8BAsLcLHz9UoblhL7lZp 63D6ZUzfD+oOxOpW8XwRTkTEdzsYa545TE0dIG3eQT4mKxlnjvyebI7aSfElrsK2 Ul6mne1TtHOnQ2DRVWsCUryHUQP0/gDhTCKiL3A6ADKBVRKP0Aul8EXA4zjEL0TO E+skN0RLgXq45JjFzqHzSS74dJH5O+mdDMql8YZM9zrwqrwbJjpZIE0q4xV8eJ5W V8oheaI5WJS348o7JMbG/feYGrH3HdHQgkEyJMZh6gTUiQkWcHYwy9Kmyqe8/nVK tPcMw7dWYeEnWrU06OmfJRs3hwbTr4LfRxd2lfaLdkxQJDgQNUHLPrUAzOnwEPCJ 2Bfju/d+2ucyFTz7eGuxwrMA0nmVrNBWXiba9TxbOzX9B0bEG2jl90SvhyQLpdgn c7L5Mh1g0MRAVT9AX8rMcDrJfniz2I/K6lxU50w8ZwHwqhKZ89U= =EdPX -----END PGP SIGNATURE-----