DavDroid and aCalendar+ ?



  • hi folks,

    I'm just setting up a CalDav server (Radicale) on a Raspberry Pi which is already working for a windows calendar.
    On my android phone, I installed DavDroid and connected it to my server (successfully).

    In aCalendar, I don't see my DavDroid account (in the calendar list). Or how does it work to sync with aCalendar?

    In the debug log of DavDroid, I see the following:

    android.permission.READ_CONTACTS permission: granted
    android.permission.WRITE_CONTACTS permission: granted
    android.permission.READ_CALENDAR permission: granted
    android.permission.WRITE_CALENDAR permission: granted
    org.dmfs.permission.READ_TASKS permission: denied
    org.dmfs.permission.WRITE_TASKS permission: denied
    System-wide synchronization: automatically

    ...which is fine because i don't have any tasks to sync.

    The first sync took 2 hours (for a 1 MB ics-file) - I think that should've worked.

    Any ideas? I probably just overlooked something obvious.

    -narf


  • developer

    Hello, please provide your complete debug info and steps to reproduce. Did you check the calendar in DAVdroid?



  • thanks for the fast reply. I just see that the calender is listed under DAVdroid, but I don't see any content (I think that's not possible in DAVdroid anyway).

    my steps were just: davdroid > new account > typed in URL, user, password > waited 2 hours
    i didn't do anything in acalendar except browsing and checking the available options. I also uninstalled acalendar and re-installed it and I upgraded to acalendar+

    I didn't want to spam the whole debug info here, but here you go :)

    SOFTWARE INFORMATION
    Package: at.bitfire.davdroid
    Version: 1.5.1-gplay (146) Tue Apr 25 14:31:41 MESZ 2017
    Installed from: com.android.vending
    JB Workaround installed: no
    
    CONFIGURATION
    android.permission.READ_CONTACTS permission: granted
    android.permission.WRITE_CONTACTS permission: granted
    android.permission.READ_CALENDAR permission: granted
    android.permission.WRITE_CALENDAR permission: granted
    org.dmfs.permission.READ_TASKS permission: denied
    org.dmfs.permission.WRITE_TASKS permission: denied
    System-wide synchronization: automatically
    Account: benni
      Address book sync. interval: manually
      Calendar     sync. interval: 240 min
      OpenTasks    sync. interval: —
      WiFi only: true, SSID: <secret> 
      [CardDAV] Contact group method: CATEGORIES
      [CalDAV] Time range (past days): 90
               Manage calendar colors: true
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  de_DE |
    ----------
    settings
    	|  setting | value |
    	|  hint_OpenTasksNotInstalled | 0 |
    ----------
    services
    	|  _id | accountName | service | principal |
    	|  1 | benni | carddav | https://<secret>/ |
    	|  2 | benni | caldav | https://<secret>/ |
    ----------
    sqlite_sequence
    	|  name | seq |
    	|  services | 2 |
    	|  homesets | 4 |
    	|  collections | 1 |
    ----------
    homesets
    	|  _id | serviceID | url |
    	|  2 | 2 | https://<secret>/privat.ics/ |
    	|  3 | 1 | https://<secret>/privat.ics/ |
    	|  4 | 1 | https://<secret>/ |
    ----------
    collections
    	|  _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
    	|  1 | 2 | https://<secret>/privat.ics/ | 0 | privat.ics | <null> | -1761601 | BEGIN:VCALENDAR<LF>PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN<LF>VERSION:2.0<LF>BEGIN:VTIMEZONE<LF>TZID:Europe/Berlin<LF>X-LIC-LOCATION:Europe/Berlin<LF>BEGIN:DAYLIGHT<LF>TZOFFSETFROM:+0100<LF>TZOFFSETTO:+0200<LF>TZNAME:CEST<LF>DTSTART:19700329T020000<LF>RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3<LF>X-RADICALE-NAME:Europe/Berlin<LF>END:DAYLIGHT<LF>BEGIN:STANDARD<LF>TZOFFSETFROM:+0200<LF>TZOFFSETTO:+0100<LF>TZNAME:CET<LF>DTSTART:19701025T030000<LF>RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10<LF>X-RADICALE-NAME:Europe/Berlin<LF>END:STANDARD<LF>X-RADICALE-NAME:Europe/Berlin<LF>END:VTIMEZONE<LF>END:VCALENDAR<LF> | 1 | 1 | 0 |
    ----------
    
    SYSTEM INFORMATION
    Android version: 4.2.2 (xxxx.xxxxxxxxxx)
    Device: Samsung GT-I9105P (s2vep)
    
    
    
    • narf

  • developer

    @Narf said in DavDroid and aCalendar+ ?:

    | _id | serviceID | url | […] | sync |
    | 1 | 2 | https://<secret>/privat.ics/ | […] | 0 |

    The collection is not selected for synchronization in DAVdroid. Please check the checkbox left to the collection name and try again:



  • oh thanks, THAT was easy ;) now, I see the DAVdroid account in aCalendar as well... thanks again - the easy solutions are the best ones :)

    when I'm at it right now: is it normal that the sync process takes 2 hours on the mobile in my home wlan?! the ICS-file is with 1 MB pretty big (for a text file). my pc syncs in 10-15 mins (which I still find very long).

    -narf


  • developer

    @Narf It's a Radicale problem, see https://github.com/Kozea/Radicale/pull/569



  • oh ok, thanks for the info. you're awesome ;)

    then i probably have to switch to baikal as the problem will only be solved in version 2 of radicale.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.