The calendar / tasks should sync without issues.
Several tasks are not synced correctly, a quick search seems to find more similarly reported issues elsewhere: https://forums.bitfire.at/topic/1730/task-sync-cannot-set-timezone-for-utc-properties
Operating system: openSUSE Tumbleweed
Web server: Apache
Database: MariaDB
PHP version: 7.2
Nextcloud version: 13.0.4
Updated from an older Nextcloud/ownCloud or fresh install: Updated since 11ish.
Where did you install Nextcloud from: openSUSE buildservice.
List of activated apps:
N.A. This only occurs within specific Calendar Events / Tasks. The server otherwise operates normally and NC logs do not show any useful information.
Nextcloud configuration:
N.A. This only occurs within specific Calendar Events / Tasks. The server otherwise operates normally and NC logs do not show any useful information.
Are you using external storage, if yes which one: No
Are you using encryption: No (full disk encryption on the volume, not through NC).
Are you using an external user-backend, if yes which one: No
N.A.
Browser: DavDroid
Operating system: Android 8.0.0
N.A. This only occurs within specific Calendar Events / Tasks. The server otherwise operates normally and NC logs do not show any useful information.
N.A. This only occurs within specific Calendar Events / Tasks. The server otherwise operates normally and NC logs do not show any useful information.
DavDroid provides a Java stacktrace, this however offers no insight into where the issue originates. The error message is: "Cannot set timezone for UTC properties"
There appears to be an incompatibility in the implementation of the CalDav spec in NC: https://icalendar.org/CalDAV-Access-RFC-4791/5-2-2-caldav-calendar-timezone-property.html
GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/8766 (Caldav ), https://github.com/nextcloud/server/issues/9605 (CalDav Issue, Calendar and Tasks not working), https://github.com/nextcloud/server/issues/3534 (CalDav: Sync notifications), https://github.com/nextcloud/server/issues/9971 (caldav drops still active tasks), and https://github.com/nextcloud/server/issues/532 (Sync issues with BlackBerry Z30).
cc @georgehrke @rullzer for the DAV sync
this forum thread and this issue look pretty related
this forum thread and this issue look pretty related
Thanks for looking into it, the cause seems to be an issue with Android 8 in combination with a non-standard COMPLETED field:
https://forums.bitfire.at/topic/1730/task-sync-cannot-set-timezone-for-utc-properties/11
And
https://forums.bitfire.at/topic/1727/nullpointerexception-attempt-to-invoke-virtual-method-void-java-util-calendar-settimezone-java-util-timezone-on-a-null-object-reference/35
Manually looking up the todo item in the nextcloud database with the id from the url in the DavDroid debugging output in table oc_calendarobjects and then looking up the properties in oc_calendarobjects_props showed me the name of the faulty entry. Deleting the entry through my Calender client made the DavDroid error disappear.
I'm sorry but this is not solved for me :
https://forums.bitfire.at/topic/1730/task-sync-cannot-set-timezone-for-utc-properties/13
...
Can you help with at least a debug how to ?
Thanks a lot in advance ;)
The same issue appeared as I synced tasks some days ago. I was also pointed to the mentioned Task sync: Cannot set timezone for UTC properties issue report and was able to solve it by editing the relevant tasks.
I think it would be a good idea if the Nextcloud DAV import function would correct that kind of syntax errors if an application tries to send malformed data. At least a kind of house keeping task should be added to correct such kind of problems in the calendar database table,
For all users running into this problem too, here are the steps how I identified and fixed the problem:
SUMMARY: tag.DTSTAMP: tag. It shows the ate in reverse order, e.g. 20110904T120454Z -> 04.09.2011@j-ed's fix guide really helped me - thanks!
Most helpful comment
The same issue appeared as I synced tasks some days ago. I was also pointed to the mentioned Task sync: Cannot set timezone for UTC properties issue report and was able to solve it by editing the relevant tasks.
I think it would be a good idea if the Nextcloud DAV import function would correct that kind of syntax errors if an application tries to send malformed data. At least a kind of house keeping task should be added to correct such kind of problems in the calendar database table,
For all users running into this problem too, here are the steps how I identified and fixed the problem:
SUMMARY:tag.DTSTAMP:tag. It shows the ate in reverse order, e.g. 20110904T120454Z -> 04.09.2011