Contact Photo Upload Problems With Davdroid and Posteo



  • Hey,

    I use DavDroid with my Posteo E-Mail account and I have a Problem with it.

    In general, synchronizing with Posteo works fine regarding my contacts, but no contact picture is downloaded to my Smartphone. Uploading a new contact picture works fine but after Reinstalling DavDroid on a new device, there are no contact pictures synchronized.

    Posteo told me, this is a known bug with DavDroid. Do you know about this and are you working on fixing it?

    Thanks


  • developer

    @blubdiblub said in Contact Photo Upload Problems With Davdroid and Posteo:

    Posteo told me, this is a known bug with DavDroid. Do you know about this and are you working on fixing it?

    Yes we know about it, it’s a known Posteo bug. Please see https://davdroid.bitfire.at/configuration/posteode/ and https://forums.bitfire.at/tags/posteo

    We’re not able to work on this problem because we don’t see anything wrong with DAVdroid (and in our tests, it was a problem caused by Posteo servers). If there is any specific indication of a DAVdroid problem, please let us know.


  • developer

    For reference: I have written an email regarding this problem to Posteo support on 23 Oct 2015:

    [CardDAV] Fehlerbericht VCard 3 PHOTO

    Hallo,

    Da wir in letzer Zeit immer wieder Anfragen von Leuten, die ihre Posteo-Bilder mit DAVdroid nicht synchronisieren können, habe ich mir das etwas angeschaut und bin auf Folgendes gekommen:

    1. posteo.de:8443 meldet VCard 4-Support.
    2. Lädt man einen Kontakt als VCard 4 mit PHOTO im VCard4-Format hoch …
    ----------------
    BEGIN:VCARD
    VERSION:4.0
    …
    PHOTO:data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQ
    gHBw
    …
    END:VCARD
    ----------------
    
    1. … liefert posteo beim nächsten GET oder multiget eine VCard 3 (obwohl VCard 4 angefragt wurde) mit dem Foto im gleichen, also im VCard 4-Format:
    BEGIN:VCARD
    VERSION:3.0
    …
    PHOTO:data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQ
    gHBw
    …
    END:VCARD
    ----------------
    

    Das ist ungültig und führt dazu, dass DAVdroid (die Verarbeitung der VCard selbst passiert durch die Bibliothek ez-vcard) das Foto nicht erkennt. Stattdessen sollte das PHOTO im VCard 3-Format [https://tools.ietf.org/html/rfc2426#section-3.1.4] übermittelt werden. TYPE ist bei VCard 3 standardmäßig KEIN URI.

    1. Ändert man im Web-Interface den Kontakt und lädt ihn dann noch einmal mit GET, ist die VCard zwar immer noch im VCard 3-Format, aber diesmal richtig codiert:
    BEGIN:VCARD
    VERSION:3.0
    …
    PHOTO;ENCODING=B:/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAg…
    …
    END:VCARD
    ----------------
    

    D.h. sobald man im Web-Interface den Kontakt ändert, kann er wieder korrekt synchronisiert werden.

    Können Sie dieses Problem bestätigen?

    Schöne Grüße,

    (German) but have never received a reply.



  • @rfc2822 ok dann werde ich genau diese Email auch nochmal schreiben. (I will send this exact email to posteo and wait what they answer)



  • Did Posteo answered you in the mean time? I occasionally face similar photo sync issues.



  • Anything new about this?
    I started a thread too in 2016 (here you can find it) but didn’t solve the problem until today.
    When i sync contacts with a Nextcloud (oCloud for example) the problem doesnt occur.
    I can up- and download contacts without losing the photo.


  • developer

    @neolovich Hello,

    No, unfortunately we haven’t heard from Posteo yet and it seems they also haven’t fixed it yet.



  • @rfc2822 Thanks for the answer 🙂
    Its a real pity, that they didn’t answer until today.
    I’ll write another mail.



  • @rfc2822
    I dont know if it is helpful but i found out, that there are a view contact photos which are synchronizised from Posteo to the android devices.
    Everytime a install my android device new and start the synchronisation of the contacts this view contacts are synchronisized including the photo. Dont know why.
    I’m not firm with the subject matter and i dont know, how to find out why this few photos are synchronizised. With CardBook in Thunderbird i could see a few technical details about the entries.
    Don’t know, if it helps, but here are the Prodid’s of the entries, where the transfer of the photos worked:

    DAVdroid/0.5.14-alpha (ez-vcard/0.9.3)
    DAVdroid/0.5.14-alpha (ez-vcard/0.9.3)
    DAVdroid/0.5.14-alpha (ez-vcard/0.9.3)
    DAVdroid/0.6.4 (ez-vcard/0.9.6)
    DAVdroid/0.6.12 (ez-vcard/0.9.6)
    DAVdroid/0.6.7.1 (ez-vcard/0.9.6)
    DAVdroid/0.8.4.1 (ez-vcard/0.9.6)
    -//Thunderbird.net/NONSGML Thunderbird CardBook V36.0//DE (That might be a fault because i installed CardBook a few hours ago and didn’t edit this contact)


  • developer

    Probably all contacts which are edited otherwise are working. You can also edit a contact with photo in the Posteo Web interface and then Posteo will send the correct photo, which can then be synchronized.


Log in to reply