add and autosync folder on shared inbox

Hi,

i tried to add a new Folder in a shared inbox. I get following errors:

Apr 12 12:59:18 kopano z-push/core[5833]: [ERROR][mainuser] StatusException: ExportChangesICS->Config(): Error, exporter not available - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:121
Apr 12 12:59:24 kopano z-push/core[5833]: [ERROR][mainuser] StatusException: ExportChangesICS->Config(): Error, exporter not available - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:121
Apr 12 12:59:53 kopano z-push/core[4733]: [ERROR][mainuser] ASDevice->AddAdditionalFolder(): folder can not be added because there is already a folder with the same folder id synchronized: '75568a43beb84501ab166dad24532bd2c7800c000000'

2018/04/12 12:59:08.705 (1,VSTA_Main): Warning: SharedFolders: Local folder created in shared folder, deleting: ichbindertestordner - 
2018/04/12 12:59:13.218 (1,VSTA_Main): Warning: SharedFolders: Local folder created in shared folder, deleted: ichbindertestordner - U830ce
2018/04/12 12:59:53.418 (1,VSTA_Main): Error: FeatureSharedFolders: Exception applying shared folders for account mainuser@domain.tld: Acacia.ZPush.Connect.Soap.SoapException: ASDevice->AddAdditionalFolder(): folder can not be added because there is already a folder with the same folder id synchronized: '75568a43beb84501ab166dad24532bd2c7800c000000'
   bei Acacia.ZPush.Connect.Soap.SoapRequestEncoder.CheckFaultResponse(XmlNode response)
   bei Acacia.ZPush.Connect.Soap.SoapRequestEncoder.ParseResponse(String url, Stream result)
   bei Acacia.ZPush.Connect.ZPushConnection.Execute(String url, RequestEncoder request)
   bei Acacia.ZPush.Connect.ZPushWebService.Execute[ResponseType](SoapRequest`1 request)
   bei Acacia.ZPush.API.SharedFolders.SharedFoldersAPI.SetCurrentShares(GABUser store, ICollection`1 shares, Nullable`1 cancel)
   bei Acacia.Features.SharedFolders.SharedFoldersDialog.<dialogButtons_Apply>b__12_0(KUITaskContext ctx)
   bei Acacia.Controls.KUITaskBase.TaskExecutor.<>c__DisplayClass11_0`1.<TaskContext>b__0(ExecutionState s)
   bei Acacia.Controls.KUITaskBase.TaskExecutor.<>c__DisplayClass5_0.<Execute>b__0()

I looked with WebApp into this account, the Folder exists but is not accessible with KOE.

How can i solve such a szenario? User adds a new folder in a shared inbox. All other users with access rights to this shared should automaticaly sync this new folder.

@hbo said in add and autosync folder on shared inbox:

I looked with WebApp into this account, the Folder exists but is not accessible with KOE.

@hbo said in add and autosync folder on shared inbox:

Apr 12 12:59:53 kopano z-push/core[4733]: [ERROR][mainuser] ASDevice->AddAdditionalFolder(): folder can not be added because there is already a folder with the same folder id synchronized: ‘75568a43beb84501ab166dad24532bd2c7800c000000’

A folder with the same id already exists and therefore cannot be added. You could try to remove all folders to generate new ids.

@hbo said in add and autosync folder on shared inbox:

How can i solve such a szenario? User adds a new folder in a shared inbox. All other users with access rights to this shared should automaticaly sync this new folder.

This is not possible on purpose with the shared folder api. as one should only open folders he actively needs and not sync complete folder trees from other mailboxes. This however possible with the new impersonation feature in z-push 2.4. We are working on making setup of these stores easier within koe 2.0.

see https://wiki.z-hub.io/display/ZP/Impersonation for more information.

Thanks, deleting all folders is no option because off production system. It’s an imported zarafa 7.2 database upgraded to KC.
I think some problems refer to this imported database (out off this topic: Is there a possibility to set up a clean Kopano Installation and migrating existing users with their stores?)

But there’s no possibility to move mails with Outlook between different ActiveSync accounts using impersonation?

@hbo said in add and autosync folder on shared inbox:

deleting all folders is no option

i was talking about deleting/removing them in koe and not deleting them from the server.

@hbo said in add and autosync folder on shared inbox:

But there’s no possibility to move mails with Outlook between different ActiveSync accounts using impersonation?

No, thats a limitation of Outlook. But it works in WebApp/DeskApp of course.

Those “false” folders are only listed in WebApp, i can’t receive it with upper errors in KOE. Deleting them in WebApp works fine.
So i have to create those new folders with original account and adding sync on share for every user.

Our users only work with Outlook (management decision) , i only administrate all users with KC CLI or WebApp.

to repeat:

@fbartels said in add and autosync folder on shared inbox:

i was talking about deleting/removing them in koe and not deleting them from the server.

@hbo said in add and autosync folder on shared inbox:

Those “false” folders are only listed in WebApp,

that is quite natural. there is a conflict in the generated short folder id, this list is only used in z-push (and that id is generated in z-push as well) hence the only affected clients are the ones connecting through z-push (what webapp is not).