Debian 9 upgrade to debian 10 kopano server
-
Check if php7.3 is enabled with the a2enmod command and for testing set “secure cookies” in the webapp config.php to true. That will allow the use of http rather than https
-
hi,
It is working now. How can i check in debian 10 if i dont have multiple versions of kopano installed?
-
Hi all,
Now the mailserver is working however z-push not anymore after the update. Z-push is installed on a different virtual server. The issue is with the z-push server. If i revert then all is working again.
When i upgrade i get the following error in the z-push login page. After login:
Z-Push - Open Source ActiveSync Version 2.5.0+0-0 FatalMisconfigurationException PHP-MAPI extension is not available Trace: Array ( [0] => Array ( [file] => /usr/share/z-push/backend/kopano/kopano.php [line] => 41 [function] => include_once )
Now php7.3 is installed. and php-mapi is also installed. What can be the problem here?
php7-mapi is already the newest version (8.7.82.61.d33e1a123-0+317.1).
-
Found some more info.
php-mapi : Depends: kopano-libs (>= 8.7.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@ex02:~#
How can this be resolved?
-
@ckruijntjens try
apt dist-upgrade --autoremove
Then
systemctl stop apache2 && systemctl start apache2
and a bit ahead, still the error, show
dpkg -l |grep kopano
-
Hi after this i still mis php-mapi. With this error
Preparing to unpack .../5-kopano-libs_8.7.0-3_amd64.deb ... Unpacking kopano-libs:amd64 (8.7.0-3) ...dpkg: error processing archive /tmp/apt-dpkg-install-POrNYu/5-kopano-libs_8.7.0-3_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libkcfreebusy.so.0.0.0', which is also in package libkcfreebusy0 8.7.82.61.d33e1a123-0+317.1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Selecting previously unselected package php-mapi. Preparing to unpack .../6-php-mapi_8.7.0-3_amd64.deb ... Unpacking php-mapi (8.7.0-3) ... Errors were encountered while processing: /tmp/apt-dpkg-install-POrNYu/5-kopano-libs_8.7.0-3_amd64.deb
-
that is because the debian package want to override the kopano packages.
which one are you going to use, the debian packages or kopano’s.
-
@ckruijntjens you should not mix our packages with the ones provided by Debian. Our package is called php7-mapi and not php-mapi.
-
Ok so i should install php7-mapi i want to use the kopano packages
-
If you going to use the kopano packages.
you must remove the debian packages first or you will keep getting conflicts.i suggest,
apt remove --autoremove kopano-*
then reinstall the kopano packages again.
-
Can i disable the debian packages
-
@ckruijntjens said in Debian 9 upgrade to debian 10 kopano server:
Can i disable the debian packages
don’t know, but don’t think so. just take care about the package names and you should be good.
@ckruijntjens said in Debian 9 upgrade to debian 10 kopano server:
Ok so i should install php7-mapi i want to use the kopano packages
yes, php7-mapi is our name for the package
-
If you really want you can lower the priority of the debian kopano packages.
As shown here : https://wiki.debian.org/AptPreferences
I dont advice it.
just fix as i told you, that will work. remove all, install the kopano packages again.Use a local file repo for it.
see : https://github.com/thctlo/Kopanoand for the next people reading this.
Before you upgrade debian 9 to 10. Add the buster kopano files to the local repo first.
That prevents this problem. -
Hi i allredeay have a local repo and the kopano server is working ok. Zpush is on a different server and here i have the problems.
I will try to rinstall zpush and the packages
-
I also use fpm-php
Can it have to do something with this? I reinstalled the packages. Also installed php7-mapi
-
After upgrade and all packages are upgraded then reboot and the i have the php-mapi error however php7-mapi is installed
-
stupid from me i resolved the issue. php was also upgraded however nginx was refering to the old php path.
-
@ckruijntjens Ahh… i know that fealing, happend to me also., as long as it running fine now… :-) Good to hear you could fix it.