Empty addressbook



  • Thanks for your reply. I saw later it was a known problem.

    Unfortunately I will not update Sogo before I have a fully tested new mail environment, so all people who are using my service and DavDroid will have a problem now, and need to downgrade DavDroid.

    Realize that all Sogo services using e.g. Debian stable or Debian oldstable will have a problem now. And this is not a security issue, so Debian will not provide new versions…

    Is it possible to downgrade DavDroid without removing the settings and data?

    I realize this is a bug in Sogo, but if you or somebody else could find a work-arround for this problem it would be very nice.

    Thanks for your good work on DavDroid!

    With regards,
    Paul van der Vlis.



  • Hi again,

    it depends if you can downgrade or not. Which store did you get DAVdroid from?

    Regards,
    Bernhard



  • I get it from F-droid.



  • @pvdv said:

    I get it from F-droid.

    What happens if you downgrade? I think there is an option inside the f-droid-app…



  • A customer told me he did try it, but it did not work. When I have some time I will try it myself.



  • I’ve tried it myself yesterday evening, and downgrading does not work.

    First you get a warning that the data can become corrupted. If you ignore that, you get an error and Davdroid is not downgraded.

    A work-arround in a later version would be nice, or this will stay a problem for many years. I will upgrade to a new Sogo version from “Debian backports” when it’s available, but many admins will use the Sogo version from “Debian stable” or another distro I guess. And because it’s not a security issue I expect no fixes.


  • developer

    @pvdv said:

    I’ve tried it myself yesterday evening, and downgrading does not work.

    First you get a warning that the data can become corrupted. If you ignore that, you get an error and Davdroid is not downgraded.

    I see. If I had thought before posting, I could have telled it before: DAVdroid 0.9 upgrades the internal settings, and of course there is no downgrade path.

    A work-arround in a later version would be nice

    At DAVdroid’s side, there’s no possibility of a workaround because SOGo doesn’t return an error, but a success response, saying: “The addressbook query was OK and there are no contacts”.



  • @rfc2822 said:

    At DAVdroid’s side, there’s no possibility of a workaround because SOGo doesn’t return an error, but a success response, saying: “The addressbook query was OK and there are no contacts”.

    Maybe you can give another command to the server?

    It did work nice, and all other programs are working nice too with SOGo.
    So the command you use will be a special, less used command.

    The bug is now repaired in Sogo when I am right. Maybe you could use the command again in 2 years, with a warning in the readme.


  • developer

    Maybe you can give another command to the server?

    It did work nice, and all other programs are working nice too with SOGo.
    So the command you use will be a special, less used command.

    I wouldn’t consider the command (REPORT addressbook-query) “special”. In fact, its the only CardDAV command used. PROPFIND, which was used by previous DAVdroid versions, is only WebDAV and has several problems (for instance, it lists non-addressbook member collections, too).

    The bug is now repaired in Sogo when I am right. Maybe you could use the command again in 2 years, with a warning in the readme.

    I have added the warning to https://davdroid.bitfire.at/configuration. As the problem has been fixed, I don’t see any problem. We just can’t adapt any line of DAVdroid to all potential server bugs and issues for years, especially if they have already been fixed. Please note that we even have workarounds for the REPORT query, but the nature of the SOGo bug makes it impossible to use them here.



  • @rfc2822 said:

    I wouldn’t consider the command (REPORT addressbook-query) “special”. In fact, its the only CardDAV command used. PROPFIND, which was used by previous DAVdroid versions, is only WebDAV and has several problems (for instance, it lists non-addressbook member collections, too).

    I see only PROPFIND in my older Sogo logs when it’s about address books. For calendars REPORT is normal. I’ve searched the logfiles with grep.

    The bug is now repaired in Sogo when I am right. Maybe you could use the command again in 2 years, with a warning in the readme.

    I have added the warning to https://davdroid.bitfire.at/configuration. As the problem has been fixed, I don’t see any problem.

    Then you do not have much experience with this kind of problems, I guess.

    We just can’t adapt any line of DAVdroid to all potential server bugs and issues for years, especially if they have already been fixed. Please note that we even have workarounds for the REPORT query, but the nature of the SOGo bug makes it impossible to use them here.

    I think I must learn from this, and not use programs like Davdroid anymore in combination with F-droid. I want a stable tested platform with security bug-fixes, and no big changes without good testing.

    Realize that open source software is a mess, because many developers and organizations are all the time changing their products without much coordination. In Linux you have distro’s what do testing before releasing a new stable version. And I can test it myself, before upgrading. But with F-droid, there is nothing. An app-maker can make a mess of the phone of many people who simple want to do their work.

    Maybe you could make a LTS-version when DavDroid 1.0 releases, with only security updates.

    With regards,
    Paul van der Vlis.


Log in to reply
 

Similar topics

  • 8
  • 9