Calender duplicated and does not sync, contacts work


  • Problem

    The contact sync always works, whcih shows this is not a server problem IMHO.
    Calendars are not syncronized however, at least they don’t appear in any calendar app.
    And, I only have one calendar (“Persönlich”) setup on the server + the birthdays from the contacts (“Geburtstage von Kontakten”), and it is also shown as that in Davx5.
    However, Etar as the calendar app shows 4 or 10 times the same entry (“Persönlich”), i.e. it “duplicates” them when I try to add a new entry. I.e. I have multiple times the same calendar there.

    $ adb shell content query --uri content://com.android.calendar/calendars
    Row: 0 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=1, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 1 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=2, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 2 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=3, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 3 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=4, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 4 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=5, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 5 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=6, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 6 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=7, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 7 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=8, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 8 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=9, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 9 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=10, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 10 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=11, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 11 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=12, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 12 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=13, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 13 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=14, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 14 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=15, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 15 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=16, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 16 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=17, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 17 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=18, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 18 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=19, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 19 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=20, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 20 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=21, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 21 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=22, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 22 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=23, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 23 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=24, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 24 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=25, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 25 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=26, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 26 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=27, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 27 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=28, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 28 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=29, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 29 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=30, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    Row: 30 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-54, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=200, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/contact_birthdays/, canModifyTimeZone=1, _id=31, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Geburtstage von Kontakten
    Row: 31 account_type=bitfire.at.davdroid, mutators=NULL, ownerAccount=Nextcloud-USERNAME, allowedReminders=0,1,2, cal_sync3=NULL, cal_sync2=NULL, isPrimary=1, maxReminders=5, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, canPartiallyUpdate=0, cal_sync5=NULL, sync_events=1, cal_sync4=NULL, canOrganizerRespond=1, calendar_color=-7617718, cal_sync9=NULL, calendar_location=NULL, cal_sync8=NULL, dirty=NULL, visible=1, calendar_timezone=NULL, calendar_access_level=700, allowedAvailability=0,1, _sync_id=NULL, deleted=0, name=https://NEXTCLOUD.DOMAIN.TLD/remote.php/dav/calendars/USERNAME/personal/, canModifyTimeZone=1, _id=32, calendar_color_index=NULL, allowedAttendeeTypes=0,2,1,3, calendar_displayName=Persönlich
    
    
    
    $ adb shell content query --uri content://com.android.calendar/events
    Row: 0 originalAllDay=NULL, account_type=bitfire.at.davdroid, exrule=NULL, mutators=ws.xsoh.etar, originalInstanceTime=NULL, allDay=1, allowedReminders=0,1,2, rrule=NULL, canOrganizerRespond=1, lastDate=1629072000000, visible=1, calendar_id=2, hasExtendedProperties=0, calendar_access_level=700, selfAttendeeStatus=0, allowedAvailability=0,1, eventColor_index=, isOrganizer=1, _sync_id=NULL, calendar_color_index=NULL, _id=1, guestsCanInviteOthers=1, allowedAttendeeTypes=0,2,1,3, dtstart=1628985600000, guestsCanSeeGuests=1, sync_data9=NULL, sync_data8=NULL, exdate=NULL, sync_data7=NULL, sync_data6=NULL, sync_data1=NULL, description=NULL, eventTimezone=UTC, availability=0, title=Test, ownerAccount=Nextcloud-USERNAME, sync_data5=NULL, sync_data4=NULL, sync_data3=NULL, sync_data2=NULL, duration=NULL, lastSynced=0, guestsCanModify=0, cal_sync3=NULL, rdate=NULL, cal_sync2=NULL, maxReminders=5, isPrimary=1, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, cal_sync5=NULL, cal_sync4=NULL, calendar_color=-7617718, cal_sync9=NULL, cal_sync8=NULL, dirty=1, calendar_timezone=NULL, accessLevel=0, eventLocation=NULL, hasAlarm=1, uid2445=NULL, deleted=0, eventColor=NULL, organizer=Nextcloud-USERNAME, eventStatus=1, customAppUri=NULL, canModifyTimeZone=1, eventEndTimezone=NULL, customAppPackage=NULL, original_sync_id=NULL, hasAttendeeData=1, displayColor=-7617718, dtend=1629072000000, original_id=NULL, sync_data10=NULL, calendar_displayName=Persönlich
    Row: 1 originalAllDay=NULL, account_type=bitfire.at.davdroid, exrule=NULL, mutators=ws.xsoh.etar, originalInstanceTime=NULL, allDay=1, allowedReminders=0,1,2, rrule=NULL, canOrganizerRespond=1, lastDate=1629072000000, visible=1, calendar_id=2, hasExtendedProperties=0, calendar_access_level=700, selfAttendeeStatus=0, allowedAvailability=0,1, eventColor_index=NULL, isOrganizer=1, _sync_id=NULL, calendar_color_index=NULL, _id=2, guestsCanInviteOthers=1, allowedAttendeeTypes=0,2,1,3, dtstart=1628985600000, guestsCanSeeGuests=1, sync_data9=NULL, sync_data8=NULL, exdate=NULL, sync_data7=NULL, sync_data6=NULL, sync_data1=NULL, description=NULL, eventTimezone=UTC, availability=0, title=tesr, ownerAccount=Nextcloud-USERNAME, sync_data5=NULL, sync_data4=NULL, sync_data3=NULL, sync_data2=NULL, duration=NULL, lastSynced=0, guestsCanModify=0, cal_sync3=NULL, rdate=NULL, cal_sync2=NULL, maxReminders=5, isPrimary=1, cal_sync1=NULL, cal_sync10=NULL, account_name=Nextcloud-USERNAME, cal_sync7=NULL, cal_sync6=NULL, cal_sync5=NULL, cal_sync4=NULL, calendar_color=-7617718, cal_sync9=NULL, cal_sync8=NULL, dirty=1, calendar_timezone=NULL, accessLevel=0, eventLocation=NULL, hasAlarm=1, uid2445=NULL, deleted=0, eventColor=NULL, organizer=Nextcloud-USERNAME, eventStatus=1, customAppUri=NULL, canModifyTimeZone=1, eventEndTimezone=NULL, customAppPackage=NULL, original_sync_id=NULL, hasAttendeeData=1, displayColor=-7617718, dtend=1629072000000, original_id=NULL, sync_data10=NULL, calendar_displayName=Persönlich
    

    Logs

    Here are logs where I trigger a sync and add a new clendar entry:
    debug-info.txt
    davx5-log.txt

    I do also have a logcat log as suggedted here, but it is 1MB large and I’d only like to share it privately with someone of you, as it may contain private data (that I cannot easily obsfuscate as done above).

    Background

    This was a system upgrade from LineageOS 16 (Android 9) to LineageOS 17 (Android 10), where I could keep my data, which surprised me a little. In any case, I of course setup DavX5 feshly.

    I already tried

    • rebooting
    • disabling the calendar sync, re-enabling it
    • removing the account, adding it again
    • removing the data of DAVx5 and re-adding the account
    • cleaing the Android calender app cache/data as it is described here

    For adding the calendar I always used the Nextcloud app, i.e. started it from the options there.

    System

    v3.3.12-ose
    Nextcloud 21
    Android version: 10 (lineage_kiwi-userdebug 10 QQ3A.200805.001 eng.root.20210802.060334 dev-keys)
    Device: HUAWEI KIW-L21 (kiwi) - i.e. LineageOS4microg
    Locale(s): [de_DE]

  • developer

    @rugk Hi,

    Is there a LineageOS “privacy guard” or something like that and are you sure it’s disabled for DAVx5?


  • @rfc2822 I need to recheck that, but AFAIK yes, it always was and is disabled.

  • developer

    @rugk For some reason, DAVx5 doesn’t see the calendars (sounds like privacy guard) so it always creates them again.

    And this only happens since the Android update?


  • @rfc2822 Yes only since that update. But I’ll re-check the permissions/Privacy Guard again (don’t have the device at hand). I guess, however, that it should not block anything, given I would have seen a permission request or something otherwise.


  • I re-checked it and I could not even find a restriction from LineageOS there (“Trust” did not display it and AFAIK LineageOS removed their own Privacy guard in some version in the past). Anyway, for some reason it seems to work now.

    As such, thanks for your help in any case!

Similar topics