Reminders in Outlook from shared folders

Hi,

I get in Outlook reminders from shared folders (not calendars!). Why?

0_1491285819337_Unbenannt.png

Z-Push: 2.3.5+4
Ubuntu 14.04.1 LTS
Zarafa Product version: 7,2,1,51838
Zarafa File version: 51838

Kopano OL Extension.log:
https://pastebin.com/aDBseeJc

Hello @metagmbh ,

the notifications you are seeing are coming from a calendar, but one that you normally should not be able to see. From the appointment names this seems to be the folder that you have set as HIDDEN_FOLDERNAME in gabsync.conf.php.

Did you change this folder from the default and used an already existing folder for this?

The feature introduced with KOE 1.3 to suppress reminders in shared calendars has only been implemented for calendar folders, so if you set a reminder on an email this still could come up (but this is not what your screenshot shows).

Hi,

the file /usr/share/z-push/tools/gab-sync/config.php ( -> /etc/z-push/gabsync.conf.php) shows:

define('HIDDEN_FOLDERSTORE', 'SYSTEM');
define('HIDDEN_FOLDERNAME', 'Z-Push-KOE-GAB');

I can not remember reminders on an email.

Is this configuration correct?

I missed to say in the last post, that I am using the Kopano OL Extension 1.3.154.

@metagmbh that pretty much looks like the default options. Can you try to see if these reminders vanish if you force remove the current gab data and create it anew.

e.g.

root@master:/etc/z-push# z-push-gabsync -a delete-all

Are you sure you want to remove all chunks and data from the hidden GAB folder and delete it? ALL GAB data will be removed from ALL KOE instances [y/N]: y
Kopano->clearFolderContents: emptying folder in GAB 'default': 04871221d0ca41eab4c2e80c32fc772c0f0600000000
Success for 'default'!

root@master:/etc/z-push# z-push-gabsync -a sync

Created hidden public folder with id: '04871221d0ca41eab4c2e80c32fc772c260600000000'
Starting GAB sync to store 'SYSTEM'  on id '04871221d0ca41eab4c2e80c32fc772c260600000000'
Kopano->clearAllNotCurrentChunkType: no invalid items, done!

Kopano->setChunkData: account-10/2      Entries: 6       Size: 33521 B  CRC: b27150d85d99ec6e375f3f633e8a8f47  -  creating - saved
Kopano->setChunkData: account-10/3      Entries: 6       Size: 52954 B  CRC: d3c37424114addb9a0bd21d0b142e8d2  -  creating - saved
Kopano->setChunkData: account-10/5      Entries: 5       Size: 37114 B  CRC: 4a2589fbd6792945d6d40788f741e634  -  creating - saved
Kopano->setChunkData: account-10/7      Entries: 2       Size: 16661 B  CRC: acdcd47efb7278238cfc205f0f12f47b  -  creating - saved
Kopano->setChunkData: account-10/1      Entries: 4       Size: 32629 B  CRC: 7ad26005157a2c4a14ddf27a30578988  -  creating - saved
Kopano->setChunkData: account-10/4      Entries: 8       Size: 55720 B  CRC: fc1dbd17fb969f64eef9de8161f93c9d  -  creating - saved
Kopano->setChunkData: account-10/6      Entries: 7       Size: 51804 B  CRC: f21dac0b9a28dbb87b78c605000879ac  -  creating - saved
Kopano->setChunkData: account-10/9      Entries: 7       Size: 54176 B  CRC: 9e283c4a4e8eb436ae50c6aebabda399  -  creating - saved
Kopano->setChunkData: account-10/8      Entries: 8       Size: 70123 B  CRC: 21ad8e1d992f993979242115256db5ac  -  creating - saved
Kopano->setChunkData: account-10/0      Entries: 3       Size: 15318 B  CRC: 796f43ca6aaaf26e9ea1d3daa0ea19d1  -  creating - saved

Sync:
        Items in GAB:                   56
        Total data size:                420020 B

        Avg. of items per chunk:        5.6
        Min. of items per chunk:        2
        Max. of items per chunk:        8

        Avg. of size per chunk:         42002 B
        Min. of size per chunk:         15318 B
        Max. of size per chunk:         70123 B

        Configured amout of chunks:     10
        Ideal amount by entries:        10
        Ideal amount by size:           5

@fbartels I removed the gab and resynced it afterwards. We have to see if it pops up again in the future, because I got the error from time to time.

Then Outlook crashed constantly after ~30 seconds.

017/04/05 14:18:43.520 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000940000
2017/04/05 14:18:43.520 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 04_Userarchiv - servermails
2017/04/05 14:18:48.842 (10,): Trace: ZPushFolder: Registering child on user@email: \\user@email\26_Lancom - servermails
2017/04/05 14:18:48.842 (1,VSTA_Main): Debug: ZPushFolder: Folder changed in user@email: 00_OMD - servermails
2017/04/05 14:18:48.842 (1,VSTA_Main): Debug: ZPushFolder: Folder change on unreported folder in user@email: 00_OMD - servermails, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D00000000008E0000, user@email
2017/04/05 14:18:48.842 (1,VSTA_Main): Trace: ZPushFolder: Registering child on user@email: \\user@email\00_OMD - servermails
2017/04/05 14:18:48.846 (1,VSTA_Main): Trace: ZPushFolder: Watching folder: 00_OMD - servermails: 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D00000000008E0000
2017/04/05 14:18:48.986 (1,VSTA_Main): Error: ZPushFolder: Exception in SubFolders_FolderChange: user@email: System.Runtime.InteropServices.COMException (0xB7A4010A): Der Vorgang kann nicht ausgeführt werden, da das Objekt gelöscht wurde.
 at Microsoft.Office.Interop.Outlook.MAPIFolder.get_Items()
 at Acacia.Stubs.OutlookWrappers.ItemsWrapper.GetEvents()
 at Acacia.ZPush.ZPushFolder..ctor(ZPushWatcher watcher, ZPushFolder parent, IFolder folder)
 at Acacia.ZPush.ZPushFolder.WatchChild(IFolder child, Boolean takeOwnership)
 at Acacia.ZPush.ZPushFolder.SubFolders_FolderChange(IFolder folder)
2017/04/05 14:18:49.023 (10,): Trace: ZPushFolder: Watching folder: 26_Lancom - servermails: 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000B20000
2017/04/05 14:18:49.023 (1,VSTA_Main): Debug: ZPushFolder: Folder changed in user@email: 00_OMD - servermails
2017/04/05 14:18:49.023 (1,VSTA_Main): Debug: ZPushFolder: Folder change on unreported folder in user@email: 00_OMD - servermails, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D00000000008E0000, user@email
2017/04/05 14:18:49.023 (1,VSTA_Main): Trace: ZPushFolder: Registering child on user@email: \\user@email\00_OMD - servermails
2017/04/05 14:18:49.023 (1,VSTA_Main): Trace: ZPushFolder: Watching folder: 00_OMD - servermails: 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D00000000008E0000
2017/04/05 14:18:49.252 (1,VSTA_Main): Error: ZPushFolder: Exception in SubFolders_FolderChange: user@email: System.Runtime.InteropServices.COMException (0xBBC4010A): Der Vorgang kann nicht ausgeführt werden, da das Objekt gelöscht wurde.
 at Microsoft.Office.Interop.Outlook.MAPIFolder.get_Items()
 at Acacia.Stubs.OutlookWrappers.ItemsWrapper.GetEvents()
 at Acacia.ZPush.ZPushFolder..ctor(ZPushWatcher watcher, ZPushFolder parent, IFolder folder)
 at Acacia.ZPush.ZPushFolder.WatchChild(IFolder child, Boolean takeOwnership)
 at Acacia.ZPush.ZPushFolder.SubFolders_FolderChange(IFolder folder)
2017/04/05 14:18:58.097 (1,VSTA_Main): Debug: ZPushFolder: Folder removed from user@email
2017/04/05 14:18:59.171 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000B10000
2017/04/05 14:18:59.171 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 25_Bechtle - servermails
2017/04/05 14:18:59.173 (10,): Error: Exception in task WatchChild: System.Runtime.InteropServices.COMException (0xBFE4010A): Der Vorgang kann nicht ausgeführt werden, da das Objekt gelöscht wurde.
 at Microsoft.Office.Interop.Outlook.MAPIFolder.get_Items()
 at Acacia.Stubs.OutlookWrappers.ItemsWrapper.GetEvents()
 at Acacia.ZPush.ZPushFolder..ctor(ZPushWatcher watcher, ZPushFolder parent, IFolder folder)
 at Acacia.ZPush.ZPushFolder.WatchChild(IFolder child, Boolean takeOwnership)
 at Acacia.ZPush.ZPushFolder.<>c__DisplayClass15_0.<Initialise>b__0()
 at Acacia.Utils.AcaciaTask.Execute()
2017/04/05 14:18:59.489 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000AA0000
2017/04/05 14:18:59.629 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 18_Opsi - servermails
2017/04/05 14:18:59.629 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000AB0000
2017/04/05 14:18:59.629 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 19_Mounts - servermails
2017/04/05 14:18:59.629 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000AC0000
2017/04/05 14:18:59.855 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 20_ALStorage - servermails
2017/04/05 14:18:59.855 (2,): Warning: ZPushFolder: Undisposed wrapper: at Acacia.Utils.DisposableWrapper..ctor()
 at Acacia.ZPush.ZPushFolder..ctor(ZPushWatcher watcher, ZPushFolder parent, IFolder folder)
 at Acacia.ZPush.ZPushFolder.WatchChild(IFolder child, Boolean takeOwnership)
 at Acacia.ZPush.ZPushFolder.<>c__DisplayClass15_0.<Initialise>b__0()
 at Acacia.Utils.AcaciaTask.Execute()
 at Acacia.Utils.TaskExecutor.PerformTask(AcaciaTask task)
 at Acacia.Utils.TasksBackground.Worker()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

2017/04/05 14:18:59.862 (2,): Trace: ZPushFolder: Unwatching folder: 26_Lancom - servermails
2017/04/05 14:18:59.862 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000AD0000
2017/04/05 14:18:59.862 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 21_CADArchiv - servermails
2017/04/05 14:18:59.862 (1,VSTA_Main): Debug: ZPushFolder: Removing subfolder user@email, 00000000BA81B218AC894A47AF0BD55271B0EB380100CF305CDFB07FEE4FA7FEAEE87AAD668D0000000000AE0000
2017/04/05 14:18:59.862 (1,VSTA_Main): Trace: ZPushFolder: Unwatching folder: 23_OCR - servermails

I removed the shared folders and now it it stable, but all my subfolders are gone. They are still on the server but are not getting synced to outlook anymore.

@metagmbh you may want to mask you email address the next time.

I’ve forwarded your trace to a developer.

but all my subfolders are gone

Subfolders in your account? We have seen this from time to time already in Outlook. Outlook gets into a kind of resync loop which has as a side effect, that only some folders still show up on the client. To fix this you currently still have to close Outlook and then delete the used ost file. On the next start Outlook will then completely resync your data and the subfolders should be there again.

@fbartels Yeah you are right, I forgot to mask them - thanks.

I started a resync from the server. If this does not help, I will delete the ost file.

I forgot to say in the last post, that in the 30 seconds I disabled the shared folders. I will enable them again, when the resync is done.

@metagmbh if you are referring to a z-push-admin -a resync -u username -d deviceid, then this will probably not help.

@fbartels Yes, I fired that command. I deleted the ost file and let Outlook sync.

I had a small chat with the KOE developer over this. Currently its actually the case that we ignore reminders from all shared folders, and optionally allow reminders from calendars. I have created a followup ticket to automatically suppress reminders from the gab folder as well.

https://jira.kopano.io/browse/KOE-98

We still do get out of nothing reminders of hundreds of reminders with several accounts:

0_1493372398354_pic.jpg

Z-Push Log: http://pasted.co/d7fe41a7

Kopano Log: http://pasted.co/90189d22

Edit: Where can I disable reminders from shared folders?

Since we had some other reports about weird reminders showing up we did some further investigation on this and refactored the code that should suppress reminders from shared stores.

If anyone still has problems with this and wants to test out a preview release with this change please send an email to feedback at kopano dot io.