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

    Unknown PHP-MAPI Error

    Kopano Groupware Core
    14
    27
    3125
    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.
    • irrlicht
      irrlicht @RiffRaff last edited by irrlicht

      Could we deactivate this logs? I could’t find the source.

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

        Installed:
        webapp-5.0.0.187.7f9980f
        and
        core-11.0.1.77.59ae03f-Ubuntu_20.04-amd64

        Having the same problem.
        Using a more recent (latest) version but not fixed as yet…

        irrlicht 1 Reply Last reply Reply Quote 0
        • irrlicht
          irrlicht @gduran last edited by

          Does anybody knows a way to suppress this messages in logs? They disturb.

          irrlicht 1 Reply Last reply Reply Quote 0
          • irrlicht
            irrlicht @RiffRaff last edited by

            I believe the issue is now addressed here:
            https://jira.kopano.io/browse/KC-1956

            closed today and not fixed.

            @fbartels: i know we are not paying customers, but to improve Kopano the developers should have a look at the forum. If nobody cares, we could stop posting here, that saves time.

            fbartels mpraunegger 2 Replies Last reply Reply Quote 0
            • irrlicht
              irrlicht @irrlicht last edited by

              @irrlicht said in Unknown PHP-MAPI Error:

              Does anybody knows a way to suppress this messages in logs? They disturb.

              in /etc/kopano/webapp/config.php deactivate logging should work, bad “solution”

              init_set("log_error",false);
              
              1 Reply Last reply Reply Quote 0
              • fbartels
                fbartels Kopano @irrlicht last edited by

                @irrlicht said in Unknown PHP-MAPI Error:

                Kopano the developers should have a look at the forum

                I can assure you developers are reading here in the forum. Its just that especially for non critical issues paying customers will always have to come first.

                Regards Felix

                Resources:
                https://kopano.com/blog/how-to-get-kopano/
                https://documentation.kopano.io/
                https://kb.kopano.io/

                Support overview:
                https://kopano.com/support/

                mpraunegger 1 Reply Last reply Reply Quote 0
                • mpraunegger
                  mpraunegger @irrlicht last edited by

                  @irrlicht Most of your support tickets (of our paying customers), ends with a bad feeling (message: you are a “stupid” customer) … The Kopano team should focus more on their main job and their customers (community and enterprise users).

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

                    @irrlicht Ohh, disabled all messages should not be a solution. A filter option would be nice…

                    1 Reply Last reply Reply Quote 0
                    • mpraunegger
                      mpraunegger @fbartels last edited by

                      @fbartels Okay, then let’s hope, they start to code as soon as possible. It is critical. I also wrote a support ticket a few months ago. It’s really not easy to debug other warnings and real errors, if there are sooooo many annoying messages with this php-mapi error … 99 lines php-mapi error, 1 line with the real problem …

                      1 Reply Last reply Reply Quote 0
                      • fbartels
                        fbartels Kopano last edited by fbartels

                        @mpraunegger your forum user had a negative reputation because of your “Kopano will die” comment in another thread and therefore you message have been put into the moderation queue. I have just approved your messages.

                        @mpraunegger said in Unknown PHP-MAPI Error:

                        hey start to code as soon as possible. It is critical. I also wrote a support ticket a few months ago.

                        As far as I know this is only a problem with the nightly builds of WebApp. As a customer you should really not use the nightlies, but the release versions. With the release this error does not exist.

                        PS: ticket has been reopened because of the log spam.

                        Regards Felix

                        Resources:
                        https://kopano.com/blog/how-to-get-kopano/
                        https://documentation.kopano.io/
                        https://kb.kopano.io/

                        Support overview:
                        https://kopano.com/support/

                        mpraunegger 1 Reply Last reply Reply Quote 0
                        • mpraunegger
                          mpraunegger @fbartels last edited by

                          @fbartels No, the problem also exists @4.7.0.0+157.1, which is a supported version I guess. The Kopano core is 11.0.0 -> and yes, I will switch to the next stable version.

                          gduran 1 Reply Last reply Reply Quote 0
                          • gduran
                            gduran @mpraunegger last edited by

                            @all,

                            Just upgraded core from 11.0.1.77.59ae03f to 11.0.1.101.762fa7d17f and webapp from webapp-5.0.0.216.21de38f to webapp-6.0.0.22.425d17f.
                            I can report that this problem still exists.
                            Confirmed by the following log entries:
                            Apr 22 09:25:12 exchange php-mapi[737853]: virtual HRESULT M4LMAPISession::OpenEntry(ULONG, const ENTRYID*, const IID*, ULONG, ULONG*, IUnknown**): OpenEntry(2) failed: interface not supported (80004002)
                            Apr 22 09:25:12 exchange php-mapi[737853]: MAPI error: interface not supported (80004002) (method: zif_mapi_ab_openentry, line: 985)

                            gduran 1 Reply Last reply Reply Quote 0
                            • gduran
                              gduran @gduran last edited by gduran

                              In addition to my previous post:
                              Another Error showed up in syslog which I believe wasn’t there with the previous packages and may be related:

                              Apr 23 08:03:11 server1 kopano-search[1209292]: 2021-04-23T08:03:11.185: [ERROR   ] search - Traceback (most recent call last):
                              Apr 23 08:03:11 server1 kopano-search[1209292]:   File "/usr/lib/python3/dist-packages/kopano/log.py", line 138, in log_exc
                              Apr 23 08:03:11 server1 kopano-search[1209292]:     try: yield
                              Apr 23 08:03:11 server1 kopano-search[1209292]:   File "/usr/lib/python3/dist-packages/kopano_search/__init__.py", line 356, in incremental_sync
                              Apr 23 08:03:11 server1 kopano-search[1209292]:     new_state = self.server.sync(importer, self.state, log=self.log)
                              Apr 23 08:03:11 server1 kopano-search[1209292]:   File "/usr/lib/python3/dist-packages/kopano/server.py", line 1082, in sync
                              Apr 23 08:03:11 server1 kopano-search[1209292]:     return _ics.sync(self, self.mapistore, importer, state, max_changes,
                              Apr 23 08:03:11 server1 kopano-search[1209292]:   File "/usr/lib/python3/dist-packages/kopano/ics.py", line 274, in sync
                              Apr 23 08:03:11 server1 kopano-search[1209292]:     exporter.Config(stream, flags, importer, restriction, None, None, 0)
                              Apr 23 08:03:11 server1 kopano-search[1209292]:   File "/usr/lib/python3/dist-packages/MAPICore.py", line 1875, in Config
                              Apr 23 08:03:11 server1 kopano-search[1209292]:     return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
                              Apr 23 08:03:11 server1 kopano-search[1209292]: MAPI.Struct.MAPIErrorCollision: MAPI error 80040604 (MAPI_E_COLLISION)
                              

                              I have the impression that the previous reported error is PHP related but this one appears to be Python. Both errors are persistent and over overflowing the logs.

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

                                Jun 17 14:31:33 mail1 kopano-server[3838]: K-1515: Object not found unknown user "crapsupport": crapsupport not found in LDAP
                                Jun 17 14:41:34 mail1 php-mapi[924]: MAPI error: not found (8004010f) (method: zif_mapi_ab_resolvename, line: 1019)
                                Jun 17 14:41:44 mail1 php-mapi[923]: virtual HRESULT M4LMAPISession::OpenEntry(ULONG, const ENTRYID*, const IID*, ULONG, ULONG*, IUnknown**): OpenEntry failed: unknown entryid (80040201)
                                Jun 17 14:41:44 mail1 php-mapi[923]: MAPI error: unknown entryid (80040201) (method: zif_mapi_ab_openentry, line: 965)
                                

                                software installed.

                                dpkg -l | egrep "mapi|webapp|kopano"

                                ii  kopano-backup                         11.0.2.25.b3a99449c-0+610.1           amd64        Utility to back up and restore Kopano stores
                                ii  kopano-client                         11.0.2.25.b3a99449c-0+661.1           amd64        Kopano MAPI provider library
                                ii  kopano-common                         11.0.2.25.b3a99449c-0+661.1           amd64        Shared files for Kopano services
                                ii  kopano-dagent                         11.0.2.25.b3a99449c-0+661.1           amd64        E-Mail Delivery Agent for Kopano Core
                                ii  kopano-dagent-pytils                  11.0.2.25.b3a99449c-0+610.1           amd64        Additional message handlers for kopano-dagent
                                ii  kopano-gateway                        11.0.2.25.b3a99449c-0+661.1           amd64        POP3 and IMAP Gateway for Kopano Core
                                ii  kopano-ical                           11.0.2.25.b3a99449c-0+661.1           amd64        ICal and CalDAV Gateway for Kopano Core
                                ii  kopano-kapid                          0.15.1-0+345.2                        amd64        Kopano API HTTP REST-Endpoints
                                ii  kopano-konnectd                       0.34.0-0+357.1                        amd64        Kopano Konnect OpenID Connect Provider service daemon
                                ii  kopano-kwebd                          0.12.4-0+316.3                        amd64        Kopano Web Server
                                ii  kopano-lang                           11.0.2.25.b3a99449c-0+661.1           all          Translations for Kopano Core components
                                ii  kopano-monitor                        11.0.2.25.b3a99449c-0+661.1           amd64        Quota Monitor for Kopano Core
                                ii  kopano-python-utils                   11.0.2.25.b3a99449c-0+610.1           amd64        Additional Python-based command-line utils for Kopano Core
                                ii  kopano-search                         11.0.2.25.b3a99449c-0+610.1           amd64        Indexed search engine for Kopano Core
                                ii  kopano-server                         11.0.2.25.b3a99449c-0+661.1           amd64        Server component for Kopano Core
                                ii  kopano-server-packages                11.0.2.25.b3a99449c-0+661.1           all          Metapackage to install the entire Kopano Core stack
                                ii  kopano-spooler                        11.0.2.25.b3a99449c-0+661.1           amd64        E-mail Spooler for Kopano Core
                                ii  kopano-webapp                         6.0.0.22+2006.1                       all          New and improved WebApp for Kopano
                                ii  libgsoap-kopano-2.8.109               2.8.109-0+1.5                         amd64        Runtime libraries for gSOAP
                                ii  libical3:amd64                        3.0.8+0kopano1+debian10~4.1           amd64        iCalendar library implementation in C (runtime)
                                ii  libkcicalmapi0                        11.0.2.25.b3a99449c-0+661.1           amd64        iCal interface for MAPI
                                ii  libkcinetmapi0                        11.0.2.25.b3a99449c-0+661.1           amd64        Interface between internet e-mail and MAPI
                                ii  libmapi1                              11.0.2.25.b3a99449c-0+661.1           amd64        Kopano's implementation of the Messaging API
                                ii  libvmime-kopano3                      0.9.2.96+3.10                         amd64        Library for working with MIME messages and IMAP/POP/SMTP
                                ii  php7-mapi                             11.0.2.25.b3a99449c-0+661.1           amd64        PHP bindings for MAPI
                                ii  python3-kopano                        11.0.2.25.b3a99449c-0+610.1           all          High-level Python 3 bindings for Kopano
                                ii  python3-kopano-search                 11.0.2.25.b3a99449c-0+610.1           all          Kopano search module for Python 3
                                ii  python3-kopano-utils                  11.0.2.25.b3a99449c-0+610.1           all          Kopano utils modules for Python 3
                                ii  python3-mapi                          11.0.2.25.b3a99449c-0+661.1           amd64        Python 3 bindings for MAPI
                                ii  z-push-backend-kopano                 2.6.2+0-0                             all          Z-Push Kopano backend
                                ii  z-push-kopano                         2.6.2+0-0                             all          Z-Push for Kopano
                                ii  z-push-kopano-gab2contacts            2.6.2+0-0                             all          GAB sync into a contacts folder for Kopano
                                
                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post