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

Hi at all,

if I search in Kopano DeskApp in Contacts of a shared folder I get only this error message:
0_1512409159536_709b8330-a422-4dc3-89ad-aa605a209f8d-grafik.png

My versions:
WebApp on Win7 Prof as domain member:
3.3.0.610-25.1
Kopano Core on Univention Corporate Server:
8.3.1-35

The user is configured as Delegate and can see all contacts in the shared contact folder.

If I search as the user, who shared his contacts I find one contact and one group:
0_1512409370050_08a7d3e8-ca43-48d8-a625-db42c97bbfd9-grafik.png

Can I configure something to avoid this error?

Thanks
Ulf

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

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

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

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

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

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

Hi Ulf,

Try:

kopano.store('DFF60968E7F74C2B91EDBA6F39E4BF97').user

Btw, moving this topic to kopano-core thread.

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

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

Log in to reply

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.