MAPIError after deleting messages



  • After deleting messages in the Inbox either one by one or using multi-select I receive this error very often in the WebApp:

    MAPIException: MAPI error  in /usr/share/kopano-webapp/server/includes/core/class.operations.php:1855
    Stack trace:
    #0 /usr/share/kopano-webapp/server/includes/core/class.operations.php(1855): mapi_msgstore_openentry(Resource id #12, '\x00\x00\x00\x00Z\x99\xE2+\xDE\x90I\x82\xB3\x98\x86...')
    #1 /usr/share/kopano-webapp/server/includes/core/class.operations.php(2939): Operations->openMessage(Resource id #12, '\x00\x00\x00\x00Z\x99\xE2+\xDE\x90I\x82\xB3\x98\x86...')
    #2 /usr/share/kopano-webapp/server/includes/modules/class.createmailitemmodule.php(54): Operations->setMessageFlag(Resource id #12, '\x00\x00\x00\x00Z\x99\xE2+\xDE\x90I\x82\xB3\x98\x86...', 3, Array, Array)
    #3 /usr/share/kopano-webapp/server/includes/modules/class.itemmodule.php(202): CreateMailItemModule->save(Resource id #12, '\x00\x00\x00\x00Z\x99\xE2+\xDE\x90I\x82\xB3\x98\x86...', '\x00\x00\x00\x00Z\x99\xE2+\xDE\x90I\x82\xB3\x98\x86...', Array)
    #4 /usr/share/kopano-webapp/server/includes/core/class.jsonrequest.php(57): ItemModule->execute()
    #5 /usr/share/kopano-webapp/kopano.php(145): JSONRequest->execute('{"zarafa":{"cre...')
    #6 {main}
    

    When clicking on another message it works again as expected.

    Any idea why this is happening and how to solve it?

    I am currently using this versions, but it also happened with former versions:
    WebApp: 3.5.10.2410+106.1
    Kopano Core: 8.7.5

    Regards,
    Alexander


  • Kopano



  • I tried some different settings, but I still do see the issue from time to time. It is hard to play around with these settings without really knowing what they influence.
    Can you propose “better” settings compared to the default ones?


  • Kopano

    @asedev

    I would be more interested to know if the issue is related to the prefetch config, so if the issue still occurs
    https://stash.kopano.io/projects/KW/repos/kopano-webapp/browse/config.php.dist#193
    when this config is set 0.



  • After testing the last proposed settings I can report that the error did not show up yet again. I also did not see any other bad behavior having set PREFETCH_EMAIL_COUNT to 0 regarding the performance of the WebApp.


Log in to reply