Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Kopano-Core MySQL-Error when opening addressbook after adding users and groups

    Kopano Groupware Core
    2
    3
    310
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonasH
      JonasH last edited by

      Good Morning,
      I have installed Kopano 8.7.80.27 on Ubuntu 16.04, amd64.
      Everything was running fine, I had created two test-accounts and groups which were visible in my addressbook.
      Then I added some more users and groups.
      Now I see this error, when opening up the addressbook: “Could not load contents of this folder” and I have the following mysql-error in my logfile. Can anybody help me? Did I mess up something or is this a bug?

      Mon Nov 12 07:55:44 2018: [error  ] KDatabase::DoSelect(): query failed: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY o.externid, op.orderid' at line 1", query: SELECT op.propname, op.value, o.externid, o.objectclass FROM object AS o JOIN objectmvproperty AS op ON op.objectid=o.id WHERE () ORDER BY o.externid, op.orderid
      Mon Nov 12 07:55:44 2018: [warning] K-1501: Unable to retrieve details from external user source: db_query: Unknown error -2147483641
      

      This Code seems to be part of kopanocore/provider/plugins/DBBase.cpp

      Thank you!
      Best,
      Jonas

      1 Reply Last reply Reply Quote 0
      • JonasH
        JonasH last edited by

        I have now executed “kopano-cli --purge-softdelete=5” and suddenly it worked again.
        If I add some more users now, the address book does not work any longer - but when I execute kopano-cli --purge-softdelete=5 again, it works again.
        This is really strange. Can anybody help?

        1 Reply Last reply Reply Quote 0
        • jengelh
          jengelh Banned last edited by

          https://jira.kopano.io/browse/KC-1330

          1 Reply Last reply Reply Quote 0
          • First post
            Last post