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

    Debian 9 upgrade to debian 10 kopano server

    Kopano Groupware Core
    4
    20
    1295
    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.
    • A Former User
      A Former User last edited by

      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).

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

        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?

        thctlo fbartels 2 Replies Last reply Reply Quote 0
        • thctlo
          thctlo @Guest last edited by thctlo

          @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

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

            @thctlo

            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                
            
            1 Reply Last reply Reply Quote 0
            • thctlo
              thctlo last edited by

              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.

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

                @ckruijntjens you should not mix our packages with the ones provided by Debian. Our package is called php7-mapi and not php-mapi.

                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/

                A Former User 2 Replies Last reply Reply Quote 0
                • A Former User
                  A Former User @fbartels last edited by

                  @fbartels

                  Ok so i should install php7-mapi i want to use the kopano packages

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

                    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.

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

                      @fbartels

                      Can i disable the debian packages

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

                        @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

                        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/

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

                          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/Kopano

                          and 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.

                          A Former User 2 Replies Last reply Reply Quote 0
                          • A Former User
                            A Former User @thctlo last edited by

                            @thctlo

                            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

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

                              @thctlo

                              I also use fpm-php

                              Can it have to do something with this? I reinstalled the packages. Also installed php7-mapi

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

                                @thctlo

                                After upgrade and all packages are upgraded then reboot and the i have the php-mapi error however php7-mapi is installed

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

                                  @thctlo

                                  stupid from me i resolved the issue. php was also upgraded however nginx was refering to the old php path.

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

                                    @ckruijntjens Ahh… i know that fealing, happend to me also., as long as it running fine now… :-) Good to hear you could fix it.

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