-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CalDav / Tasks sync issue with UTC properties with DavDroid #10364
Comments
#8766 does not provide enough information to establish a relationship. |
cc @georgehrke @rullzer for the DAV sync |
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: |
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 : 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:
|
@j-ed's fix guide really helped me - thanks! |
Steps to reproduce
Expected behaviour
The calendar / tasks should sync without issues.
Actual behaviour
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
Server configuration
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
LDAP configuration (delete this part if not used)
N.A.
Client configuration
Browser: DavDroid
Operating system: Android 8.0.0
Logs
Web server error log
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 log (data/nextcloud.log)
N.A. This only occurs within specific Calendar Events / Tasks. The server otherwise operates normally and NC logs do not show any useful information.
Browser log
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
The text was updated successfully, but these errors were encountered: