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

    mapi problems with php5/php7 when upgrading to Debian Stretch and Kopano 8.7.1

    Kopano Groupware Core
    2
    2
    313
    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.
    • klausade
      klausade last edited by

      We upgraded our Debian Jessie running Kopano 8.6.9 to Debian Stretch with Kopano 8.7.1. We now have imap running just fine, but z-push/webapp does not work, and we see this when trying to access webapp:
      Not Found: PHP mapi extension not found
      If you have upgraded Kopano Core, please restart Apache

      Kopano WebApp can’t start because of incompatible configuration.

      Please correct above errors, a good start is by checking your ‘/etc/php/7.0/apache2/php.ini’ file.

      You can disable this configuration check by editing the file ‘/usr/share/kopano-webapp/config.php’, but this is not recommended.

      Looks like php5-mapi was removed, but had not been purged:
      dpkg -l|grep php5-mapi
      rc php5-mapi 8.6.9.0-0+24.1

      Doing a
      aptitude purge php5-mapi
      and then a
      apt-get install --reinstall php7-mapi (not sure if this was necessary)
      and then apache restart solved this problem.

      I can’t see anything related to this in the releasenotes/changelog, thought you might like to know, maybe someone else also bumps into this.

      1 Reply Last reply Reply Quote 0
      • A Former User
        A Former User last edited by

        Hi,

        I do the upgrade with this steps:

        1. backup mysql, Kopano, WebApp and Z-Push configuration
        2. uninstall Z-Push, WebApp und Kopano
        3. uninstall and purge php5 and mysql
        4. upgrade OS to Stretch
        5. install php7 and mariadb
        6. copy config files from step 1. back to /etc/…
        7. install Kopano, WebApp and Z-Push
        8. migrate any changes in config files

        This steps works as expected.

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