Calendar entrys are not shown in calendar



  • Hello,

    I've added a new account on my phone and the calendar entrys are not shown in the android calendar.

    I'm using Davdroid 2.0.4-ose and have radicale 2.1.10 as server. The calendar is working with Thunderbird/Lightning and a webinterface. I can add new calendar entries on my phone which get synced to the servers and which I can see in the other clients but I can't see the entries on my phone.

    I have a log but I can't see the problem: http://dpaste.com/1HZQ71C

    I've already tried to remove and readd the account and also rebooted the device several times.

    It would be nice if someone could help me.

    Regards


  • developer

    Hello,

    Thanks for the logs.

    Which entries? Are those older than 90 days? Please also provide steps to reproduce and DAVdroid debug info (DAVdroid / Settings / Debug info) etc as described in [READ BEFORE POSTING] What's required to diagnose a problem.



  • Hello, sorry for not providing the steps to reproduce.

    With entries I mean calendar events. They are not older than 90 days. I've added 3 events. One for today, last week, next week.

    1. create a new calendar on the server
    2. subscribe the calendar in thunderbird
    3. subscribe the calendar in davdroid
    4. add a new entry to the calendar in thunderbird
      result: calendar entry is on the server and shown in thunderbird but not on the phone, there were no errors while syncing with davdroid
    5. add a new entry to the calendar on the phone
      result: calendar entry is on the server and shown in thunderbird but not on the phone, there were no errors while syncing with davdroid

    Here is my debug info: http://dpaste.com/2QAQYCM

    The account I'm having problems with is the username@example.com, the other one is working fine.


  • developer

    When DAVdroid queries the server for events since Sun Jul 15 12:06:04 GMT+02:00 2018:

    2018-10-13 12:06:04 381 [syncadapter.CalendarSyncManager] Querying events since Sun Jul 15 12:06:04 GMT+02:00 2018
    2018-10-13 12:06:04 381 [HttpClient] --> REPORT https://mailfoo.example.com/cal/username%40example.com/main/
    2018-10-13 12:06:04 381 [HttpClient] Content-Type: application/xml; charset=utf-8
    2018-10-13 12:06:04 381 [HttpClient] Content-Length: 328
    2018-10-13 12:06:04 381 [HttpClient] Depth: 1
    2018-10-13 12:06:04 384 [syncadapter.SyncManager] Sent 0 record(s) to server
    2018-10-13 12:06:04 381 [HttpClient]
    2018-10-13 12:06:04 381 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><CAL:calendar-query xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav"><prop><getetag /></prop><CAL:filter><CAL:comp-filter name="VCALENDAR"><CAL:comp-filter name="VEVENT"><CAL:time-range start="20180715T100604Z" /></CAL:comp-filter></CAL:comp-filter></CAL:filter></CAL:calendar-query>
    

    The server responds with an empty multistatus XML, i.e. not a single event:

    2018-10-13 12:06:04 381 [HttpClient] <-- 207 https://mailfoo.example.com/cal/username%40example.com/main/ (60ms)
    2018-10-13 12:06:04 381 [HttpClient] server: nginx/1.14.0
    2018-10-13 12:06:04 381 [HttpClient] date: Sat, 13 Oct 2018 10:06:05 GMT
    2018-10-13 12:06:04 381 [HttpClient] content-type: text/xml; charset=utf-8
    2018-10-13 12:06:04 382 [syncadapter.SyncManager] Removed 0 local resources which are not present on the server anymore
    2018-10-13 12:06:04 382 [syncadapter.SyncManager] Post-processing
    2018-10-13 12:06:04 382 [syncadapter.SyncManager] Saving sync state
            PARAMETER #0 = {"type":"SYNC_TOKEN","value":"http:\/\/radicale.org\/ns\/sync\/cc5b729aee83bc1153fac132a40e63f3"}
    2018-10-13 12:06:04 381 [HttpClient]
    2018-10-13 12:06:04 381 [HttpClient] <?xml version='1.0' encoding='utf-8'?>
    <multistatus xmlns="DAV:" />
    2018-10-13 12:06:04 381 [HttpClient] <-- END HTTP (67-byte body)
    

    So, the server tells DAVdroid there are no events. This is probably a server problem.



  • Ok, then you very much for your fast help!
    I'll look into the server logs again.
    Is there a way to close this Thread?