mapi problems with php5/php7 when upgrading to Debian Stretch and Kopano 8.7.1
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 184.108.40.206-0+24.1
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.
A Former User last edited by
I do the upgrade with this steps:
- backup mysql, Kopano, WebApp and Z-Push configuration
- uninstall Z-Push, WebApp und Kopano
- uninstall and purge php5 and mysql
- upgrade OS to Stretch
- install php7 and mariadb
- copy config files from step 1. back to /etc/…
- install Kopano, WebApp and Z-Push
- migrate any changes in config files
This steps works as expected.