Ask / Submit
7

Owncloud read only calendars don't update

asked 2018-11-14 17:54:53 +0200

FloR707 gravatar image

updated 2018-11-26 23:31:14 +0200

rozgwi gravatar image

Hi all,

is it possible that syncing shared calendars stopped working in on of the last releases? I just noticed that the calendar that was shared with me only has old information in it. When I manually sync I see that top bar flashing but the shared calendar is not updated. I had this issue before and added a separate account for the shared calendar and set syncing to "only to device". That fixed the issue prior SFOS 3. Any ideas how I could debug this or what I should do?

[Edit] Thanks to naytsyrhc hint I got a log now. I see quite a view ics files being transferred and checked, status always OK, and than at the end:

[D] unknown:0 - PUT request finished: QNetworkReply::NetworkError(ContentNotFoundError)
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - "PUT response status code: 404"
[D] unknown:0 - "PUT response headers:"
[D] unknown:0 - "\tServer : nginx"
[D] unknown:0 - "\tDate : Wed, 14 Nov 2018 19:11:13 GMT"
[D] unknown:0 - "\tContent-Type : application/xml; charset=utf-8"
[D] unknown:0 - "\tTransfer-Encoding : chunked"
[D] unknown:0 - "\tConnection : keep-alive"
[D] unknown:0 - "\tVary : Accept-Encoding"
[D] unknown:0 - "\tExpires : Thu, 19 Nov 1981 08:52:00 GMT"
[D] unknown:0 - "\tCache-Control : no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
[D] unknown:0 - "\tPragma : no-cache"
[D] unknown:0 - "\tX-XSS-Protection : 1; mode=block"
[D] unknown:0 - "\tX-Content-Type-Options : nosniff"
[D] unknown:0 - "\tX-Frame-Options : Sameorigin"
[D] unknown:0 - "\tX-Robots-Tag : none"
[D] unknown:0 - "\tX-Download-Options : noopen"
[D] unknown:0 - "\tX-Permitted-Cross-Domain-Policies : none"
[D] unknown:0 - "\tContent-Security-Policy : default-src 'none';"
[D] unknown:0 - "\tContent-Encoding : gzip"
[D] unknown:0 - "PUT response data:<?xml version=\"1.0\" encoding=\"utf-8\"?>"
[D] unknown:0 - "<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">"
[D] unknown:0 - "  <s:exception>Sabre\\DAV\\Exception\\NotFound</s:exception>"
[D] unknown:0 - "  <s:message>Node with name '44491fe3-d98b-c245-836c-0b297371026c.ics' could not be found</s:message>"
[D] unknown:0 - "</d:error>"
[D] unknown:0 - "---------------------------------------------------------------------"
[W] unknown:0 - The "PUT" operation failed with error: QNetworkReply::NetworkError(ContentNotFoundError) : 401
[W] unknown:0 - "PUT" request failed. 401 "Network request failed with QNetworkReply::NetworkError: 203"
[W] unknown:0 - Aborting sync, "PUT" failed "Network request failed with QNetworkReply::NetworkError: 203" for notebook "/remote.php/dav/calendars/A/personal_shared_by_B/" of account: "18"
[D] unknown:0 - Notebook sync finished. Total agents: 1
[W] unknown:0 - Aborting! Notebook synchronisation failed: 401 : "Network request failed with QNetworkReply::NetworkError: 203"
[W] unknown:0 - CalDAV sync failed: 401 "Network request failed with QNetworkReply::NetworkError: 203"
[D] unknown:0 - Session finished: "caldav-sync-18" , status: 3
[D] unknown:0 - aStatus 3

[edit] For testing I got write permission on the calendar. After getting that the update worked. So I think this is really a bug. The update process should not abort if it cannot write to the calendar or check if it is a read only calendar.

[edit] As requested here are some more lines from the log file. I found two instances were the phone found some exceptions that need to be uploaded. This is wired since I did not make any changes to the shared calendar and I am sure that it was up to date.

[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "END:VCALENDAR "
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - Discarding exdate: "2018-10-09T18:00:00+02:00"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - Uploading exception modification via series update for local modification: 1 : "NBUID:59992010-5346-40c6-b914-6f2d05a1a073:E31C24C4-6539-44DC-8F8C-01A91E3DFD55"
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - "If-Match : \"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - "Content-Length : 2467"
[D] unknown:0 - "Content-Type : text/calendar; charset=utf-8"

And the lines right before the error message:

[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "END:VCALENDAR "
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - Already handled local modification 0 via series update
[D] unknown:0 - Already handled local modification 1 via series update
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - "PUT response status code: "
[D] unknown:0 - "PUT response headers:"
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - Ignoring SSL error response

[edit]

I tried get additional information as requested below but I am not a programmer or do have programming skills so I hope that helps. If not please give me an in detailed step by step instruction.

The event in question is a serial event. The start dates is odd it is 1996, which is for sure not the date it was created.

[D] unknown:0 - "</cal:calendar-data>"
[D] unknown:0 - "   </d:prop>"
[D] unknown:0 - "   <d:status>HTTP/1.1 200 OK</d:status>"
[D] unknown:0 - "  </d:propstat>"
[D] unknown:0 - " </d:response>"
[D] unknown:0 - " <d:response>"
[D] unknown:0 - "  <d:href>/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics</d:href>"
[D] unknown:0 - "  <d:propstat>"
[D] unknown:0 - "   <d:prop>"
[D] unknown:0 - "    <d:getetag>&quot;f73d4f9bed03ef25f447a0310445f5e9&quot;</d:getetag>"
[D] unknown:0 - "    <cal:calendar-data>BEGIN:VCALENDAR"
[D] unknown:0 - "CALSCALE:GREGORIAN"
[D] unknown:0 - "PRODID:-//Apple Inc.//iOS 10.3.3//EN"
[D] unknown:0 - "VERSION:2.0"
[D] unknown:0 - "BEGIN:VTIMEZONE"
[D] unknown:0 - "TZID:Europe/Berlin"
[D] unknown:0 - "BEGIN:DAYLIGHT"
[D] unknown:0 - "DTSTART:19810329T020000"
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU"
[D] unknown:0 - "TZNAME:MESZ"
[D] unknown:0 - "TZOFFSETFROM:+0100"
[D] unknown:0 - "TZOFFSETTO:+0200"
[D] unknown:0 - "END:DAYLIGHT"
[D] unknown:0 - "BEGIN:STANDARD"
[D] unknown:0 - "DTSTART:19961027T030000"
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU"
[D] unknown:0 - "TZNAME:MEZ"
[D] unknown:0 - "TZOFFSETFROM:+0200"
[D] unknown:0 - "TZOFFSETTO:+0100"
[D] unknown:0 - "END:STANDARD"
[D] unknown:0 - "END:VTIMEZONE"
[D] unknown:0 - "BEGIN:VEVENT"
[D] unknown:0 - "CREATED:20170520T091156Z"
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20170704T220000"
[D] unknown:0 - "DTSTAMP:20181004T070017Z"
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20170704T180000"
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20171024T180000"
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20171107T180000"
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20180710T180000"
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20180717T180000"
[D] unknown:0 - "LAST-MODIFIED:20180703T205812Z"
[D] unknown:0 - "RRULE:FREQ=WEEKLY"
[D] unknown:0 - "SEQUENCE:0"
[D] unknown:0 - "SUMMARY:K"
[D] unknown:0 - "TRANSP:OPAQUE"
[D] unknown:0 - "UID:E31C24C4-6539-44DC-8F8C-01A91E3DFD55"
[D] unknown:0 - "END:VEVENT"
[D] unknown:0 - "BEGIN:VEVENT"
[D] unknown:0 - "CREATED:20181004T070013Z"
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20181009T220000"
[D] unknown:0 - "DTSTAMP:20181004T070017Z"
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20181009T180000"
[D] unknown:0 - "LAST-MODIFIED:20181004T070013Z"
[D] unknown:0 - "RECURRENCE-ID;TZID=Europe/Berlin:20181009T180000"
[D] unknown:0 - "SEQUENCE:0"
[D] unknown:0 - "SUMMARY:M"
[D] unknown:0 - "TRANSP:OPAQUE"
[D] unknown:0 - "UID:E31C24C4-6539-44DC-8F8C-01A91E3DFD55"
[D] unknown:0 - "END:VEVENT"
[D] unknown:0 - "END:VCALENDAR"
[D] unknown:0 - "</cal:calendar-data>"
[D] unknown:0 - "   </d:prop>"
[D] unknown:0 - "   <d:status>HTTP/1.1 200 OK</d:status>"
[D] unknown:0 - "  </d:propstat>"
[D] unknown:0 - " </d:response>"
[D] unknown:0 - "</d:multistatus>"
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - iCal data contains 3 VEVENT instances
[D] unknown:0 - parsed 3 events from the iCal data
[D] unknown:0 - iCal data contains 1 VEVENT instances
[D] unknown:0 - iCal data contains 2 VEVENT instances
[D] unknown:0 - parsed 2 events from the iCal data
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - Discarding exdate: "2018-08-08T16:00:00+02:00"
[D] unknown:0 - Discarding exdate: "2018-05-30T16:00:00+02:00"
[D] unknown:0 - comparing: "44491fe3-d98b-c245-836c-0b297371026c" ( "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" ) to: "44491fe3-d98b-c245-836c-0b297371026c" ( "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" )
[D] unknown:0 - discarding spurious local modification to: "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" ""
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - local modification to: "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" "2018-08-08T16:00:00+02:00" is real.
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - comparing: "44491fe3-d98b-c245-836c-0b297371026c" ( "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" ) to: "44491fe3-d98b-c245-836c-0b297371026c" ( "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" )
[D] unknown:0 - discarding spurious local modification to: "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" "2018-05-30T16:00:00+02:00"
[D] unknown:0 - skipping unrelated local modification: "NBUID:59992010-5346-40c6-b914-6f2d05a1a073:44491fe3-d98b-c245-836c-0b297371026c" ( "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" ) for remote uri: "/remote.php/dav/calendars/A/personal_shared_by_B/74f41665-8c22-884e-ae4a-665b3217e50b.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/74f41665-8c22-884e-ae4a-665b3217e50b.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"c20cb9d6637996db4de00ad6afb3248a\""
[D] unknown:0 - comparing: "74f41665-8c22-884e-ae4a-665b3217e50b" ( "/remote.php/dav/calendars/A/personal_shared_by_B/74f41665-8c22-884e-ae4a-665b3217e50b.ics" ) to: "74f41665-8c22-884e-ae4a-665b3217e50b" ( "/remote.php/dav/calendars/A/personal_shared_by_B/74f41665-8c22-884e-ae4a-665b3217e50b.ics" )
[D] unknown:0 - discarding spurious local modification to: "/remote.php/dav/calendars/A/personal_shared_by_B/74f41665-8c22-884e-ae4a-665b3217e50b.ics" ""
[D] unknown:0 - skipping unrelated local modification: "NBUID:59992010-5346-40c6-b914-6f2d05a1a073:44491fe3-d98b-c245-836c-0b297371026c" ( "/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics" ) for remote uri: "/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - local modification to: "/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics" "2018-10-09T18:00:00+02:00" is real.
[D] unknown:0 -  3 out of 5 local modifications were discarded as spurious (etag/uri update only)
[D] unknown:0 - Report request finished: received: 3 iCal blobs containing a total of 3 incidences of which 0 incidences were remote additions/modifications
[D] unknown:0 - upsyncing local changes: A/M/R: 0 / 2 / 0
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - Discarding exdate: "2018-08-08T16:00:00+02:00"
[D] unknown:0 - Discarding exdate: "2018-05-30T16:00:00+02:00"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - Uploading exception modification via series update for local modification: 0 : "NBUID:59992010-5346-40c6-b914-6f2d05a1a073:44491fe3-d98b-c245-836c-0b297371026c"
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - "If-Match : \"750ac66745dcd765f79673f1b5cb5911\""
[D] unknown:0 - "Content-Length : 2640"
[D] unknown:0 - "Content-Type : text/calendar; charset=utf-8"
[D] unknown:0 - "URL = https://user:pass@url.org/remote.php/dav/calendars/A/personal_shared_by_B/44491fe3-d98b-c245-836c-0b297371026c.ics"
[D] unknown:0 - "Request : PUT"
[D] unknown:0 - "BEGIN:VCALENDAR "
[D] unknown:0 - "PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN "
[D] unknown:0 - "VERSION:2.0 "
[D] unknown:0 - "X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 "
[D] unknown:0 - "BEGIN:VTIMEZONE "
[D] unknown:0 - "TZID:Europe/Berlin "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0100 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19810329T020000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0100 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19160501T220000 "
[D] unknown:0 - "RDATE:19160501T220000 "
[D] unknown:0 - "RDATE:19170416T010000 "
[D] unknown:0 - "RDATE:19180415T010000 "
[D] unknown:0 - "RDATE:19400401T010000 "
[D] unknown:0 - "RDATE:19430329T010000 "
[D] unknown:0 - "RDATE:19440403T010000 "
[D] unknown:0 - "RDATE:19450402T010000 "
[D] unknown:0 - "RDATE:19460414T010000 "
[D] unknown:0 - "RDATE:19470407T020000 "
[D] unknown:0 - "RDATE:19480418T010000 "
[D] unknown:0 - "RDATE:19490410T010000 "
[D] unknown:0 - "RDATE:19800406T020000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19800928T030000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;COUNT=16;BYDAY=-1SU;BYMONTH=9 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19961027T030000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19161001T230000 "
[D] unknown:0 - "RDATE:19161001T230000 "
[D] unknown:0 - "RDATE:19170917T020000 "
[D] unknown:0 - "RDATE:19180916T020000 "
[D] unknown:0 - "RDATE:19421102T020000 "
[D] unknown:0 - "RDATE:19431004T020000 "
[D] unknown:0 - "RDATE:19441002T020000 "
[D] unknown:0 - "RDATE:19451118T020000 "
[D] unknown:0 - "RDATE:19461007T020000 "
[D] unknown:0 - "RDATE:19471005T020000 "
[D] unknown:0 - "RDATE:19481003T020000 "
[D] unknown:0 - "RDATE:19491002T020000 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEMT "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0300 "
[D] unknown:0 - "DTSTART:19450525T000000 "
[D] unknown:0 - "RDATE:19450525T000000 "
[D] unknown:0 - "RDATE:19470511T020000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0300 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19450925T000000 "
[D] unknown:0 - "RDATE:19450925T000000 "
[D] unknown:0 - "RDATE:19470630T000000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "END:VTIMEZONE "
[D] unknown:0 - "BEGIN:VEVENT "
[D] unknown:0 - "DTSTAMP:20181115T190544Z "
[D] unknown:0 - "CREATED:20180925T092841Z "
[D] unknown:0 - "UID:44491fe3-d98b-c245-836c-0b297371026c "
[D] unknown:0 - "LAST-MODIFIED:20181115T190544Z "
[D] unknown:0 - "SUMMARY:E"
[D] unknown:0 - "RECURRENCE-ID;TZID=Europe/Berlin:20180530T160000 "
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20180530T170000 "
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20180530T180000 "
[D] unknown:0 - "TRANSP:OPAQUE "
[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "BEGIN:VEVENT "
[D] unknown:0 - "DTSTAMP:20181115T190544Z "
[D] unknown:0 - "CREATED:20180925T092841Z "
[D] unknown:0 - "UID:44491fe3-d98b-c245-836c-0b297371026c "
[D] unknown:0 - "LAST-MODIFIED:20181115T190544Z "
[D] unknown:0 - "SUMMARY:A"
[D] unknown:0 - "RECURRENCE-ID;TZID=Europe/Berlin:20180808T160000 "
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20180808T140000 "
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20180808T170000 "
[D] unknown:0 - "TRANSP:OPAQUE "
[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "BEGIN:VEVENT "
[D] unknown:0 - "DTSTAMP:20181115T100240Z "
[D] unknown:0 - "CREATED:20180925T092841Z "
[D] unknown:0 - "UID:44491fe3-d98b-c245-836c-0b297371026c "
[D] unknown:0 - "LAST-MODIFIED:20181115T100240Z "
[D] unknown:0 - "SUMMARY:A"
[D] unknown:0 - "RRULE:FREQ=WEEKLY "
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20170719T160000 "
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20170719T190000 "
[D] unknown:0 - "TRANSP:OPAQUE "
[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "END:VCALENDAR "
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - Discarding exdate: "2018-10-09T18:00:00+02:00"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:uri:/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - Discarding buteo-prefixed comment: "buteo:caldav:etag:\"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - Uploading exception modification via series update for local modification: 1 : "NBUID:59992010-5346-40c6-b914-6f2d05a1a073:E31C24C4-6539-44DC-8F8C-01A91E3DFD55"
[D] unknown:0 - "---------------------------------------------------------------------"
[D] unknown:0 - "If-Match : \"f73d4f9bed03ef25f447a0310445f5e9\""
[D] unknown:0 - "Content-Length : 2467"
[D] unknown:0 - "Content-Type : text/calendar; charset=utf-8"
[D] unknown:0 - "URL = https://user:pass@url.org/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
[D] unknown:0 - "Request : PUT"
[D] unknown:0 - "BEGIN:VCALENDAR "
[D] unknown:0 - "PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN "
[D] unknown:0 - "VERSION:2.0 "
[D] unknown:0 - "X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 "
[D] unknown:0 - "BEGIN:VTIMEZONE "
[D] unknown:0 - "TZID:Europe/Berlin "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0100 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19810329T020000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0100 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19160501T220000 "
[D] unknown:0 - "RDATE:19160501T220000 "
[D] unknown:0 - "RDATE:19170416T010000 "
[D] unknown:0 - "RDATE:19180415T010000 "
[D] unknown:0 - "RDATE:19400401T010000 "
[D] unknown:0 - "RDATE:19430329T010000 "
[D] unknown:0 - "RDATE:19440403T010000 "
[D] unknown:0 - "RDATE:19450402T010000 "
[D] unknown:0 - "RDATE:19460414T010000 "
[D] unknown:0 - "RDATE:19470407T020000 "
[D] unknown:0 - "RDATE:19480418T010000 "
[D] unknown:0 - "RDATE:19490410T010000 "
[D] unknown:0 - "RDATE:19800406T020000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19800928T030000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;COUNT=16;BYDAY=-1SU;BYMONTH=9 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19961027T030000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19161001T230000 "
[D] unknown:0 - "RDATE:19161001T230000 "
[D] unknown:0 - "RDATE:19170917T020000 "
[D] unknown:0 - "RDATE:19180916T020000 "
[D] unknown:0 - "RDATE:19421102T020000 "
[D] unknown:0 - "RDATE:19431004T020000 "
[D] unknown:0 - "RDATE:19441002T020000 "
[D] unknown:0 - "RDATE:19451118T020000 "
[D] unknown:0 - "RDATE:19461007T020000 "
[D] unknown:0 - "RDATE:19471005T020000 "
[D] unknown:0 - "RDATE:19481003T020000 "
[D] unknown:0 - "RDATE:19491002T020000 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEMT "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0300 "
[D] unknown:0 - "DTSTART:19450525T000000 "
[D] unknown:0 - "RDATE:19450525T000000 "
[D] unknown:0 - "RDATE:19470511T020000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0300 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19450925T000000 "
[D] unknown:0 - "RDATE:19450925T000000 "
[D] unknown:0 - "RDATE:19470630T000000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "END:VTIMEZONE "
[D] unknown:0 - "BEGIN:VEVENT "
[D] unknown:0 - "DTSTAMP:20181115T190544Z "
[D] unknown:0 - "CREATED:20181115T100240Z "
[D] unknown:0 - "UID:E31C24C4-6539-44DC-8F8C-01A91E3DFD55 "
[D] unknown:0 - "LAST-MODIFIED:20181115T190544Z "
[D] unknown:0 - "SUMMARY:M"
[D] unknown:0 - "RECURRENCE-ID;TZID=Europe/Berlin:20181009T180000 "
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20181009T180000 "
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20181009T220000 "
[D] unknown:0 - "TRANSP:OPAQUE "
[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "BEGIN:VEVENT "
[D] unknown:0 - "DTSTAMP:20181115T100240Z "
[D] unknown:0 - "CREATED:20181115T100239Z "
[D] unknown:0 - "UID:E31C24C4-6539-44DC-8F8C-01A91E3DFD55 "
[D] unknown:0 - "LAST-MODIFIED:20181115T100240Z "
[D] unknown:0 - "SUMMARY:K "
[D] unknown:0 - "RRULE:FREQ=WEEKLY "
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20171024T180000 "
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20171107T180000 "
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20180710T180000 "
[D] unknown:0 - "EXDATE;TZID=Europe/Berlin:20180717T180000 "
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20170704T180000 "
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20170704T220000 "
[D] unknown:0 - "TRANSP:OPAQUE "
[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "END:VCALENDAR "
edit retag flag offensive close delete

Comments

Seems to be a permission error (401). But this is something I can't answer anymore. Hopefully someone from Jolla or any other experienced community member can jump in. But it definitely seems to be a different issue as the ones I referred to. Maybe you can adjust your question and title to represent the issue better (syncing owncloud calendars "shared from others" stopped working?).

naytsyrhc ( 2018-11-14 22:37:13 +0200 )edit

@FloR707 Can you provide some line of the log before the ones you gave ? Especially, in which state was the sync agent, I mean, was it pushing local modifications to the server, or local additions…

Anyway, it seems that you have done local modifications (or additions or deletions) and thus the upsync is failing because the calendar is read-only on server. Do you think that the delta calculation between server and local is doing mistake and you actually didn't modified anything on device ?

Damien Caliste ( 2018-11-15 13:44:50 +0200 )edit

Sorry not at the moment but I did a quick test. I set a shared calender to editable, made an update on the phone, reset the calender and made a change. When I tried to update the calendar on the phone it did not. So for me it looks like read only calendars do currently not work.

FloR707 ( 2018-11-15 13:58:57 +0200 )edit

Yes, I think, the code is designed like that: download and upload, if any, should succeed. The downloaded server-side modifications are applied on device only if the upload of device-side modifications succeed.

@chris.adams, do you think it would be wise to allow to apply server-side modifications if upload is failing with a permission denied error ?

Damien Caliste ( 2018-11-15 15:20:23 +0200 )edit

@FloR707 thank you for the update. So if you didn't actually modify anything on device, then I agree there is a bug in the delta calculation. Do you know if the VCALENDAR data of the offending events (one is E31C24C4-6539-44DC-8F8C-01A91E3DFD55 from the log extract you mentioned) can be found somewhere in the log ? Can you download by hand the corresponding VCALENDAR exported by the server by visiting the remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics URI for instance ?

If the offending VCALENDAR data on device cannot be found in the log, you can export the full notebook, using the calendar tool command-line icalconverter from package nemo-qml-plugin-email-tools.

Damien Caliste ( 2018-11-15 22:53:16 +0200 )edit

2 Answers

Sort by » oldest newest most voted
6

answered 2018-11-16 15:55:33 +0200

updated 2018-11-26 10:35:24 +0200

Edit 2018/11/26: Thanks to Chris for the review and comments, the patch has been updated and accepted upstream this morning. Fix should arrive officialy in a later version of SailfishOS.

Edit 2018/11/21: Chris reviewed the fix and proposed some improvements that I've done this morning. Besides, I was not clear in my previous message: don't trash your account _unless_ the synchronisation is always failing because the calendar on the server is read-only. For server calendars with write access, the fix should have no effect beside not up-syncing once a recurring event just after down-sync.

Edit 2018/11/20: I've updated the merge request with a fix proposition. Let's wait for Chris Adams to have time to give a look and give a feedback. For the braves, I've compiled a package for Buteo CalDAV code on MER OBS. You can try it with pkcon install-local buteo-sync-plugin-caldav-0.1.36*.rpm and revert to official Jolla version with pkcon install buteo-sync-plugin-caldav. I'm afraid the fix is not backard compatible with already synced events. Need to trash the account and recreate it. If it's working, there should be no more spurious modified events and later sync to read-only calendar should not fail.

Edit 2018/11/19: I've added a test in the test suite of the CalDAV connector. It is demonstrating the problem raised by @FloR707. This test is mimicking the down-sync of a recurring event with an exception, showing that on next delta calculation, the event is reported as modified. Now, I need to find a way to solve it properly.

This is not a solution yet, but I think I've identified the issue thanks to @FloR707 responsiveness and analysis of the logs. I've created a MER bug to follow the solving of this issue.

Sadly, this fix is not trivial and requires in my opinion to be well thought. I'll discuss with @chris.adams about the various options at hand. I'll update this answer with the evolution of the process.

edit flag offensive delete publish link more

Comments

Thanks for looking into this! In my mails I saw that you requested additional information. Here is the line you requested if it helps:

[D] unknown:0 - Found new locally-added persistent exception: "NBUID:59992010-5346-40c6-b914-6f2d05a1a073:E31C24C4-6539-44DC-8F8C-01A91E3DFD55" "2018-10-09T18:00:00+02:00" : "/remote.php/dav/calendars/A/personal_shared_by_B/E31C24C4-6539-44DC-8F8C-01A91E3DFD55.ics"
FloR707 ( 2018-11-16 21:23:27 +0200 )edit

Thanks, this confirms somehow my hypothesis. I'm thinking about how to patch the delta calculation. It may be simpler than first expected. I'm going to create a test to show the issue and ensure that patch is solving it. Thanks a lot again for the detailed analysis of your log. News should come during next week.

Damien Caliste ( 2018-11-16 21:34:32 +0200 )edit
0

answered 2018-11-14 18:24:44 +0200

naytsyrhc gravatar image

I don't have any issues with that. Did you check, if your owncloud server is reachable? Maybe try to reauthenticate? Do you have access to server logs? If so you could watch those while initiating a manual sync to see if something wents wrong? There was a bug (maybe still present) with a broken sync with some imported .ics files. See here: https://together.jolla.com/question/164562/calendar-sync/ and also my answer: https://together.jolla.com/question/164562/calendar-sync/?answer=164605#post-id-164605 and the referring answer https://together.jolla.com/question/136229/lost-caldav-connection-with-owncloud/ and this helpful comment https://together.jolla.com/question/153631/release-notes-210iijoki-released/?answer=156890#post-id-156890

edit flag offensive delete publish link more

Comments

Are you sure that you are talking about shared calendars? My regular calendars work fine only the calendar that was shared with me from another owncloud user (same owncloud installation so). I only have access to the OC log and there is nothing to see. I see failed logins from other persons but nothing that is connected to my OC user.

FloR707 ( 2018-11-14 21:35:13 +0200 )edit

I don't think there is a difference. I have shared owncloud calendars and private ones. Both are updated and synced with my SFOS device. That's why I asked, if you did import an .ics entry to the calendar, as I know that such import broke a sync for me. You can enable logging of the sync process on your device as described in one of the above links. Maybe you can find the problem there. However all the shared calendars are shared from me to others, not the other way around. What I know, what doesn't work is, if I imported a calendar from an external source to owncloud. That one will not update. But this is a missing feature of owncloud, not of SFOS.

naytsyrhc ( 2018-11-14 22:27:23 +0200 )edit

No, I did not import an ics file. Please see my update above. I get an error during a put operation. I guess that is something different than your issue, isn't it?

FloR707 ( 2018-11-14 22:30:52 +0200 )edit

Yes it is. Commented above. Sorry I couldn't help.

naytsyrhc ( 2018-11-14 22:39:01 +0200 )edit
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2018-11-14 17:54:53 +0200

Seen: 462 times

Last updated: Nov 26 '18