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

    [SOLVED] Search in shared contacts shows only error and no result

    Kopano Groupware Core
    2
    11
    1976
    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.
    • marty
      marty Kopano (Inactive) last edited by

      Might be an issue with findroot / findroot acls. https://jira.kopano.io/browse/KC-300
      Could you verify this?

      If so, better logging for this was introduced in WebApp 3.4.0
      https://jira.kopano.io/browse/KW-913

      Btw, please update your WebApp, latest final is 3.4.1
      https://documentation.kopano.io/kopano_changelog/webapp.html#kopano-webapp-3-4-1-1061

      https://documentation.kopano.io/deskapp_admin_manual
      http://documentation.kopano.io/webapp_smime_manual
      https://documentation.kopano.io/webapp_admin_manual

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

        Hi Marty,

        it sounds, that it is the same error. I will have a look on my system (in the evening), to find the script (kopano-search-upgrade-findroots.py).

        The webapp is uptodate (last sunday) from configured UCS-repository. I will look if there are updates available and which repo is used.

        Thanks
        Ulf

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

          Hi Marty,

          I updated my Test-UCS-Kopano-Installation from the Kopano Downloadserver (described in your wiki). Now I have WebApp Version 3.4.1.1061.

          After that I shared in my test system a contact folder (with only one contact) to a second user and searched in the second user. In this test constallation there is no error. So I will update the production system after my next full vm backup.

          I will report after production update.

          Thanks
          Ulf

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

            Hi Marty,

            I installed the updates to 3.4.1. On first try, my webapp wasn’t there on the server (404), so I have to deinstalled and reinstalled it (via UCS Software). No I have a actually webap and the error from above is gone.
            Now I have a new error :cry:
            0_1512667384993_9135e911-0e1e-4834-8943-f5f88dea7088-grafik.png
            On the shared contacts I have secretary rights, so I don’t have to create subfolders. I will search, not create.

            Do you have any hints for me?

            Thanks
            Ulf

            1 Reply Last reply Reply Quote 0
            • marty
              marty Kopano (Inactive) last edited by

              Did you run the findroot script?
              Could you check if there are errors in the error log?

              https://documentation.kopano.io/deskapp_admin_manual
              http://documentation.kopano.io/webapp_smime_manual
              https://documentation.kopano.io/webapp_admin_manual

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

                Hi Marty,

                yes, I found the script in sbin. Execution gets the following result:

                root@sv001:~# /usr/sbin/kopano-search-upgrade-findroots.py
                creating FINDER_ROOT for store DFF60968E7F74C2B91EDBA6F39E4BF97
                

                After that there is no error in search of shared contacts folder. Perfect.

                How I can find out which user belongs to the store id? The id isn’t listed in --list-orphan and --details of a user doesn’t list the store id. I don’t found any option for list stores in man kopano-admin.

                Thanks
                Ulf

                1 Reply Last reply Reply Quote 0
                • marty
                  marty Kopano (Inactive) last edited by

                  Hi Ulf,

                  Try:

                  kopano.store('DFF60968E7F74C2B91EDBA6F39E4BF97').user
                  

                  Btw, moving this topic to kopano-core thread.

                  https://documentation.kopano.io/deskapp_admin_manual
                  http://documentation.kopano.io/webapp_smime_manual
                  https://documentation.kopano.io/webapp_admin_manual

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

                    Hi Marty,

                    it looks like a programming command. Do I have to execute it in a python script or on linux bash?

                    Btw, at the moment I have no access to the system to test it.

                    Thanks
                    Ulf

                    1 Reply Last reply Reply Quote 0
                    • marty
                      marty Kopano (Inactive) last edited by

                      You should use python-kopano :)

                      https://documentation.kopano.io/deskapp_admin_manual
                      http://documentation.kopano.io/webapp_smime_manual
                      https://documentation.kopano.io/webapp_admin_manual

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

                        I’ve tried the following:

                        root@sv001:~# python
                        Python 2.7.9 (default, Jun 29 2016, 13:08:31)
                        [GCC 4.9.2] on linux2
                        Type "help", "copyright", "credits" or "license" for more information.
                        >>> import kopano
                        >>> user = kopano.store('DFF60968E7F74C2B91EDBA6F39E4BF97').user
                        >>> str(user)
                        'None'
                        >>>
                        root@sv001:~#
                        

                        So I tried

                        root@sv001:~# python
                        Python 2.7.9 (default, Jun 29 2016, 13:08:31)
                        [GCC 4.9.2] on linux2
                        Type "help", "copyright", "credits" or "license" for more information.
                        >>> import kopano
                        >>> name = kopano.store('DFF60968E7F74C2B91EDBA6F39E4BF97').name
                        >>> str(name)
                        'public'
                        >>>
                        root@sv001:~#
                        

                        Thanks for the hints.
                        Ulf

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