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

    Z-Push isn't working anymore (mapi.so not found)

    Z-Push when using Kopano
    2
    3
    856
    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.
    • raphiH
      raphiH last edited by

      Hello,

      Since I updated to z-push-* 2.6.4, Z-Push doesn’t work anymore.
      A “z-push-admin -a list” for example outputs:

      PHP Warning:  PHP Startup: Unable to load dynamic library 'mapi.so' (tried: /usr/lib/php/20180731/mapi.so (/usr/lib/php/20180731/mapi.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mapi.so.so (/usr/lib/php/20180731/mapi.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
      

      My OS is Debian 9 and I have the following Package-Versions installed:

      kopano-backup 8.7.25.0-0+debian9~44.1
      kopano-client 8.7.25.0-0+debian9~73.1
      kopano-common 8.7.25.0-0+debian9~73.1
      kopano-dagent 8.7.25.0-0+debian9~73.1
      kopano-dagent-pytils 8.7.25.0-0+debian9~44.1
      kopano-gateway 8.7.25.0-0+debian9~73.1
      kopano-ical 8.7.25.0-0+debian9~73.1
      kopano-lang 8.7.25.0-0+debian9~73.1
      kopano-monitor 8.7.25.0-0+debian9~73.1
      kopano-python-utils 8.7.25.0-0+debian9~44.1
      kopano-search 8.7.25.0-0+debian9~44.1
      kopano-server 8.7.25.0-0+debian9~73.1
      kopano-server-packages 8.7.25.0-0+debian9~73.1
      kopano-spooler 8.7.25.0-0+debian9~73.1
      kopano-webapp 5.3.0.0-1+172.1
      kopano-webapp-plugin-desktopnotifications 2.0.3.26+32.5
      libgsoap-kopano-2.8.109 2.8.109-0+1.1
      libvmime-kopano3 0.9.2.96+3.3
      python-kopano 8.7.25.0-0+debian9~44.1
      python3-kopano 8.7.25.0-0+debian9~44.1
      python3-kopano-search 8.7.25.0-0+debian9~44.1
      python3-kopano-utils 8.7.25.0-0+debian9~44.1
      z-push-backend-kopano 2.6.4+0-0
      z-push-kopano 2.6.4+0-0
      php 2:7.3+69
      php-cli 2:7.3+69
      php-common 1:49
      php-gd 1:7.0+49
      php-mbstring 1:7.0+49
      php-pear 1:1.10.1+submodules+notgz-9+deb9u3
      php-soap 1:7.0+49
      php-xml 1:7.0+49
      php-zip 1:7.0+49
      php7-mapi 8.7.25.0-0+debian9~73.1
      php7.0 7.0.33-0+deb9u12
      php7.0-cli 7.0.33-0+deb9u12
      php7.0-common 7.0.33-0+deb9u12
      php7.0-gd 7.0.33-0+deb9u12
      php7.0-json 7.0.33-0+deb9u12
      php7.0-mbstring 7.0.33-0+deb9u12
      php7.0-opcache 7.0.33-0+deb9u12
      php7.0-phpdbg 7.0.33-0+deb9u12
      php7.0-readline 7.0.33-0+deb9u12
      php7.0-snmp 7.0.33-0+deb9u12
      php7.0-soap 7.0.33-0+deb9u12
      php7.0-xml 7.0.33-0+deb9u12
      php7.0-zip 7.0.33-0+deb9u12
      php7.3 7.3.3-1
      php7.3-cli 7.3.3-1
      php7.3-common 7.3.3-1
      php7.3-json 7.3.3-1
      php7.3-opcache 7.3.3-1
      php7.3-readline 7.3.3-1
      z-push-backend-kopano 2.6.4+0-0
      z-push-common 2.6.4+0-0
      z-push-config-apache 2.6.4+0-0
      z-push-ipc-sharedmemory 2.6.4+0-0
      z-push-kopano 2.6.4+0-0
      

      Btw. I’ve enabled php7.0 for apache.
      As the error says the mapi.so isn’t in the /usr/lib/php/20180731 directory but in the /usr/lib/php/20151012 dir.
      I already tried moving the mapi.so to the 2018… folder but it’s not compiled for the 2018… api.

      Can anyone help me with this?

      mapo 1 Reply Last reply Reply Quote 0
      • mapo
        mapo @raphiH last edited by

        Hello @raphih.

        Looks like you have both php7.0 and 7.3 installed. I guess 7.3 version was installed when you upgraded z-push. It seems new version of z-push requires php7.3, but mapi is compiled for php7.0.
        Consider upgrading to Debian 10 and install kopano for Debian 10 where mapi is compiled for php7.3…

        1 Reply Last reply Reply Quote 2
        • raphiH
          raphiH last edited by

          Hi @mapo,

          Thank you, updated to Debian 10 enabled php 7.3 and it worked :)

          1 Reply Last reply Reply Quote 1
          • First post
            Last post