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

    Update kopano webapp V 5.0.0.6+1885.1 error

    Kopano Groupware Core
    3
    28
    1653
    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,

      I Just did a upgrade of all my kopano packages nightly build. Seems there is an error with the webapp package.

      After upgrade i get the following error in the 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.3/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.


      Php mapi is installed. it always worked until the update…

      Kind regards.

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

        Little update

        libical.so.3 can not be loaded or found…

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

          i did a downgrade from

          libical3_3.0.8-0+2.1_amd64 to libical3_3.0.5-0+3.2_amd64.deb

          now its working again.

          Seems like a bug in the latest libical 3 package

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

            @fbartels

            any update on this matter? when i install the latest libical3 package version libical3_3.0.8-0+2.1_amd64.deb the server fails to start. if i downgrade the package everything runs fine?

            or am i missing something here?

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

              @ckruijntjens did you try again with the latest available download?

              Your version seems outdated:

              Package: libical-kopano3
              Source: libical
              Version: 3.0.8-0+6.3
              

              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

                i see it now. the version i installed is the one from debian i think?

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

                  @fbartels

                  strange thing here,

                  if i want to remove the old libical package it tries to remove all kopano server packages?

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

                    @ckruijntjens

                    no its from the my local repository nightly build

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

                      @ckruijntjens post that output what it wants to remove.

                      and show a dpkg -l|grep kopano.

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

                        @thctlo

                        all of this will be removed…

                        root@mail:~# apt purge libical3
                        Reading package lists... Done
                        Building dependency tree
                        Reading state information... Done
                        The following packages were automatically installed and are no longer required:
                          aspell aspell-en catdoc dictionaries-common emacsen-common enchant
                          hunspell-en-us kopano-common kopano-lang libaspell15 libenchant1c2a
                          libhunspell-1.7-0 libimagequant0 libkcarchiver0 libkcfreebusy0 libs3-4
                          libtcmalloc-minimal4 libvmime-kopano3 libwebpdemux2 libwebpmux3 libxapian30
                          libzip4 php-curl php-enchant php-zip php7.0-enchant php7.0-xml php7.3-curl
                          php7.3-enchant php7.3-zip python3-bsddb3 python3-daemon python3-dateutil
                          python3-lockfile python3-magic python3-olefile python3-pil python3-xapian
                          xapian-tools
                        Use 'apt autoremove' to remove them.
                        The following packages will be REMOVED:
                          kopano-backup* kopano-client* kopano-dagent* kopano-dagent-pytils*
                          kopano-gateway* kopano-ical* kopano-monitor* kopano-python-utils* kopano-search*
                          kopano-server* kopano-server-packages* kopano-spamd* kopano-spooler*
                          kopano-webapp* kopano-webapp-plugin-files*
                          kopano-webapp-plugin-filesbackend-owncloud*
                          kopano-webapp-plugin-filesbackend-smb* kopano-webapp-plugin-smime*
                          kopano-webapp-plugin-spell* kopano-webapp-plugin-spell-en*
                          kopano-webapp-plugin-spell-nl* libical3* libkcicalmapi0* libkcinetmapi0*
                          php7-mapi* python3-kopano* python3-kopano-search* python3-kopano-utils*
                          python3-mapi* whatsapp4deskapp*
                        
                        1 Reply Last reply Reply Quote 0
                        • A Former User
                          A Former User @thctlo last edited by

                          @thctlo said in Update kopano webapp V 5.0.0.6+1885.1 error:

                          dpkg -l|grep kopano

                          Output of command

                          root@mail:~# dpkg -l|grep kopano
                          ii  kopano-backup                              10.0.6.639.37a046acd-0+367.1          amd64        Utility to back up and restore Kopano stores
                          ii  kopano-client                              10.0.6.639.37a046acd-0+393.1          amd64        Kopano MAPI provider library
                          ii  kopano-common                              10.0.6.639.37a046acd-0+393.1          amd64        Shared files for Kopano services
                          ii  kopano-dagent                              10.0.6.639.37a046acd-0+393.1          amd64        E-Mail Delivery Agent for Kopano Core
                          ii  kopano-dagent-pytils                       10.0.6.639.37a046acd-0+367.1          amd64        Additional message handlers for kopano-dagent
                          ii  kopano-gateway                             10.0.6.639.37a046acd-0+393.1          amd64        POP3 and IMAP Gateway for Kopano Core
                          ii  kopano-ical                                10.0.6.639.37a046acd-0+393.1          amd64        ICal and CalDAV Gateway for Kopano Core
                          ii  kopano-lang                                10.0.6.639.37a046acd-0+393.1          all          Translations for Kopano Core components
                          ii  kopano-monitor                             10.0.6.639.37a046acd-0+393.1          amd64        Quota Monitor for Kopano Core
                          ii  kopano-python-utils                        10.0.6.639.37a046acd-0+367.1          amd64        Additional Python-based command-line utils for Kopano Core
                          ii  kopano-search                              10.0.6.639.37a046acd-0+367.1          amd64        Indexed search engine for Kopano Core
                          ii  kopano-server                              10.0.6.639.37a046acd-0+393.1          amd64        Server component for Kopano Core
                          ii  kopano-server-packages                     10.0.6.639.37a046acd-0+393.1          all          Metapackage to install the entire Kopano Core stack
                          ii  kopano-spamd                               10.0.6.639.37a046acd-0+367.1          amd64        ICS-driven spam learning daemon for Kopano/SpamAssassin
                          ii  kopano-spooler                             10.0.6.639.37a046acd-0+393.1          amd64        E-mail Spooler for Kopano Core
                          ii  kopano-statsd                              10.0.6.639.37a046acd-0+393.1          amd64        Statistics aggregator for Kopano Core services
                          ii  kopano-webapp                              5.0.0.60+1933.1                       all          New and improved WebApp for Kopano
                          rc  kopano-webapp-plugin-filepreviewer         2.2.0.26+21.7                         all          Kopano File previewer plugin
                          ii  kopano-webapp-plugin-files                 4.0.1.5+448.2                         all          Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
                          ii  kopano-webapp-plugin-filesbackend-owncloud 4.0.0.0+126.2                         all          Adds Owncloud specific functionality to Kopano Files plugin.
                          ii  kopano-webapp-plugin-filesbackend-smb      4.0.0.0+94.2                          all          Adds Samba specific functionality to Kopano Files plugin.
                          rc  kopano-webapp-plugin-mattermost            1.0.1+39.5                            all          Integrates Mattermost into WebApp
                          ii  kopano-webapp-plugin-smime                 2.4.0.2+238.1                         all          Kopano WebApp S/MIME plugin
                          ii  kopano-webapp-plugin-spell                 2.0.1.38+61.2                         all          Kopano WebApp Spellchecker plugin
                          ii  kopano-webapp-plugin-spell-en              2.0.1.7+46.2                          all          Kopano WebApp Spellchecker English dictionary plugin
                          ii  kopano-webapp-plugin-spell-nl              2.0.1.7+47.2                          all          Kopano WebApp Spellchecker Dutch dictionary plugin
                          ii  libgsoap-kopano-2.8.109                    2.8.109-0+1.3                         amd64        Runtime libraries for gSOAP
                          ii  libgsoap-kopano-2.8.83                     2.8.83-0+1.2                          amd64        Runtime libraries for gSOAP
                          ii  libical-kopano3:amd64                      3.0.8-0+6.3                           amd64        iCalendar library implementation in C (runtime)
                          ii  libvmime-kopano3                           0.9.2.96+3.10                         amd64        Library for working with MIME messages and IMAP/POP/SMTP
                          rc  php-kopano-smime                           1.0.00+20.1                           amd64        PHP Kopano SMIME Extension extends the php-openssl functions.
                          ii  python3-kopano                             10.0.6.639.37a046acd-0+367.1          all          High-level Python 3 bindings for Kopano
                          ii  python3-kopano-search                      10.0.6.639.37a046acd-0+367.1          all          Kopano search module for Python 3
                          ii  python3-kopano-utils                       10.0.6.639.37a046acd-0+367.1          all          Kopano utils modules for Python 3
                          
                          thctlo 1 Reply Last reply Reply Quote 0
                          • thctlo
                            thctlo @Guest last edited by

                            @ckruijntjens said in Update kopano webapp V 5.0.0.6+1885.1 error:

                            ii kopano-server-packages 10.0.6.639.37a046acd-0+393.1 all Metapackage to install the entire Kopano Core stack
                            ii kopano-spamd 10.0.6.639.37a046acd-0+367.1 amd64 ICS-dri

                            Ok, i see left overs…

                            Try this : apt-get dist-upgrade --autoremove --purge
                            now, one warning … here… --purge that also removed old config of removed packages.
                            If ( as shown ) again all of kopano will be removed, then stop. dont use --purge.

                            apt-get dist-upgrade --autoremove
                            This is always a pain and this is how kopano keeps packaging… with errors in upgrades.
                            As long the packages are missing some breaks and replaced in debian/control while packaging, the order when upgrading the packages might go wrong as you have now.

                            most simple way to fix this is.
                            apt remove --autoremove kopano-server-packages
                            then manual check if everything if kopano and related is removed.
                            vmime and few php onces are the blockers often.

                            then its all gone and your using a local repo.
                            and then just install it again.

                            So, this is not your error, its a packaging problem that keeps coming back in the development packages so now and then.

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

                              @thctlo said in Update kopano webapp V 5.0.0.6+1885.1 error:

                              apt remove --autoremove kopano-server-packages

                              Hi,

                              Thanks for you reply. however i am running in a problem to upgrade the libical3 package.

                              root@mail:~# apt dist-upgrade
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Calculating upgrade... Done
                              The following packages will be upgraded:
                                libical3
                              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              Need to get 0 B/264 kB of archives.
                              After this operation, 8,192 B of additional disk space will be used.
                              Do you want to continue? [Y/n] y
                              Get:1 file:/home/kopano  libical3 3.0.8-0+2.1 [264 kB]
                              (Reading database ... 86885 files and directories currently installed.)
                              Preparing to unpack .../libical3_3.0.8-0+2.1_amd64.deb ...
                              Unpacking libical3:amd64 (3.0.8-0+2.1) over (3.0.5-0+3.2) ...
                              dpkg: error processing archive /home/kopano/./download.kopano.io/community/dependencies:/kopano-dependencies/libical3_3.0.8-0+2.1_amd64.deb (--unpack):
                               trying to overwrite '/usr/lib/x86_64-linux-gnu/libical-glib-kopano.so.3.0.8', which is also in package libical-kopano3:amd64 3.0.8-0+6.3
                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
                              Errors were encountered while processing:
                               /home/kopano/./download.kopano.io/community/dependencies:/kopano-dependencies/libical3_3.0.8-0+2.1_amd64.deb
                              E: Sub-process /usr/bin/dpkg returned an error code (1)
                              root@mail:~# apt remove libical-kopano3
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              The following packages will be REMOVED:
                                libical-kopano3
                              0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
                              After this operation, 1,295 kB disk space will be freed.
                              Do you want to continue? [Y/n] y
                              (Reading database ... 86884 files and directories currently installed.)
                              Removing libical-kopano3:amd64 (3.0.8-0+6.3) ...
                              Processing triggers for libc-bin (2.28-10) ...
                              root@mail:~# apt dist-upgrade
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Calculating upgrade... Done
                              The following packages will be upgraded:
                                libical3
                              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              Need to get 0 B/264 kB of archives.
                              After this operation, 8,192 B of additional disk space will be used.
                              Do you want to continue? [Y/n] y
                              Get:1 file:/home/kopano  libical3 3.0.8-0+2.1 [264 kB]
                              (Reading database ... 86871 files and directories currently installed.)
                              Preparing to unpack .../libical3_3.0.8-0+2.1_amd64.deb ...
                              Unpacking libical3:amd64 (3.0.8-0+2.1) over (3.0.5-0+3.2) ...
                              Setting up libical3:amd64 (3.0.8-0+2.1) ...
                              Processing triggers for libc-bin (2.28-10) ...
                              root@mail:~#```
                              
                              
                              A Former User 2 Replies Last reply Reply Quote 0
                              • A Former User
                                A Former User @Guest last edited by

                                @ckruijntjens

                                ps i did run your commands

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

                                  @ckruijntjens @thctlo

                                  if i remove the libical-kopano3 package and install the libical3… package latest version server wont start…

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

                                    @ckruijntjens
                                    Ok, i see it… and this is/will be your next problem

                                    ii libgsoap-kopano-2.8.109 2.8.109-0+1.3 amd64 Runtime libraries for gSOAP
                                    ii libgsoap-kopano-2.8.83 2.8.83-0+1.2 amd64 Runtime libraries for gSOAP

                                    Remove the olded libgsoap-kopano-2.8.83

                                    but since there are more like this and suspect even more…
                                    Remove kopano and all it packages and install them back.

                                    Its a packaging problem.

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

                                      @thctlo

                                      hi,

                                      i removed all packages. but after i want to install everything again it still tries to install libical3?

                                      The following additional packages will be installed:
                                        catdoc kopano-backup kopano-client kopano-common kopano-dagent
                                        kopano-dagent-pytils kopano-gateway kopano-ical kopano-lang kopano-monitor
                                        kopano-python-utils kopano-search kopano-server kopano-spooler
                                        libgsoap-kopano-2.8.109 libical3 libimagequant0 libkcarchiver0 libkcfreebusy0
                                        libkcicalmapi0 libkcinetmapi0 libkcoidc0 libkcserver0 libkcsoap0 libs3-4
                                        libtcmalloc-minimal4 libvmime-kopano3 libwebpdemux2 libwebpmux3 libxapian30
                                        python3-bsddb3 python3-daemon python3-dateutil python3-kopano
                                        python3-kopano-search python3-kopano-utils python3-lockfile python3-magic
                                        python3-mapi python3-olefile python3-pil python3-xapian xapian-tools
                                      Suggested packages:
                                        python3-bsddb3-dbg python-lockfile-doc python-pil-doc python3-pil-dbg xapian-doc
                                      The following NEW packages will be installed:
                                        catdoc kopano-backup kopano-client kopano-common kopano-dagent
                                        kopano-dagent-pytils kopano-gateway kopano-ical kopano-lang kopano-monitor
                                        kopano-python-utils kopano-search kopano-server kopano-server-packages
                                        kopano-spooler libgsoap-kopano-2.8.109 libical3 libimagequant0 libkcarchiver0
                                        libkcfreebusy0 libkcicalmapi0 libkcinetmapi0 libkcoidc0 libkcserver0 libkcsoap0
                                        libs3-4 libtcmalloc-minimal4 libvmime-kopano3 libwebpdemux2 libwebpmux3
                                        libxapian30 python3-bsddb3 python3-daemon python3-dateutil python3-kopano
                                        python3-kopano-search python3-kopano-utils python3-lockfile python3-magic
                                        python3-mapi python3-olefile python3-pil python3-xapian xapian-tools
                                      
                                      

                                      in the dependencies these files of libical3 are in the tar.gz package

                                      ls -l libical
                                      libical3_3.0.5-0+1.3_amd64.deb
                                      libical3-dbgsym_3.0.5-0+1.3_amd64.deb
                                      libical-dev_3.0.5-0+1.3_amd64.deb
                                      libical-dev_3.0.8-0+6.3_amd64.deb
                                      libical-doc_3.0.5-0+1.3_all.deb
                                      libical-doc_3.0.8-0+6.3_all.deb
                                      libical-kopano3_3.0.8-0+6.3_amd64.deb
                                      libical-kopano3-dbgsym_3.0.8-0+6.3_amd64.deb

                                      is this correct?

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

                                        @ckruijntjens @thctlo

                                        when i download all dependecie packages and do a upgrade after install all needed packages i seet his:

                                        root@mail:/home/scripts# apt policy show libical3
                                        libical3:
                                          Installed: 3.0.5-0+1.3
                                          Candidate: 3.0.8-0+2.1
                                          Version table:
                                             3.0.8-0+2.1 500
                                                500 file:/home/kopano  Packages
                                         *** 3.0.5-0+1.3 100
                                                100 /var/lib/dpkg/status
                                             3.0.4-3 500
                                                500 http://deb.debian.org/debian buster/main amd64 Packages
                                        

                                        still a apckage problem?

                                        root@mail:/home/scripts# apt upgrade
                                        Reading package lists... Done
                                        Building dependency tree
                                        Reading state information... Done
                                        Calculating upgrade... Done
                                        The following packages will be upgraded:
                                          libical3
                                        1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                        Need to get 0 B/264 kB of archives.
                                        After this operation, 8,192 B of additional disk space will be used.
                                        Do you want to continue? [Y/n] y
                                        Get:1 file:/home/kopano  libical3 3.0.8-0+2.1 [264 kB]
                                        (Reading database ... 86369 files and directories currently installed.)
                                        Preparing to unpack .../libical3_3.0.8-0+2.1_amd64.deb ...
                                        Unpacking libical3:amd64 (3.0.8-0+2.1) over (3.0.5-0+1.3) ...
                                        dpkg: error processing archive /home/kopano/./download.kopano.io/community/dependencies:/kopano-dependencies/libical3_3.0.8-0+2.1_amd64.deb (--unpack):
                                         trying to overwrite '/usr/lib/x86_64-linux-gnu/libical-glib-kopano.so.3.0.8', which is also in package libical-kopano3:amd64 3.0.8-0+6.3
                                        dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
                                        Errors were encountered while processing:
                                         /home/kopano/./download.kopano.io/community/dependencies:/kopano-dependencies/libical3_3.0.8-0+2.1_amd64.deb
                                        E: Sub-process /usr/bin/dpkg returned an error code (1)
                                        root@mail:/home/scripts#
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • thctlo
                                          thctlo @Guest last edited by thctlo

                                          @ckruijntjens In my opinion not.

                                          Why ware there 2 version in there?

                                          libical-doc_3.0.5-0+1.3_all.deb
                                          libical-doc_3.0.8-0+6.3_all.deb
                                          

                                          i think thats a small kopano packaging bug also.

                                          Unpacking libical3:amd64 (3.0.8-0+2.1) over (3.0.5-0+1.3) ...
                                          dpkg: error processing archive /home/kopano/./download.kopano.io/community/dependencies:/kopano-dependencies/libical3_3.0.8-0+2.1_amd64.deb (--unpack):
                                           trying to overwrite '/usr/lib/x86_64-linux-gnu/libical-glib-kopano.so.3.0.8', which is also in package libical-kopano3:amd64 3.0.8-0+6.3
                                          

                                          fix this one with :

                                          dpkg -i --force-all /home/kopano/./download.kopano.io/community/dependencies:/kopano-dependencies/libical3_3.0.8-0+2.1_amd64.deb 
                                          

                                          Then after it, it fails, now do :
                                          apt dist-upgrade

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

                                            @thctlo

                                            Hi thanks for your reply. if i do this then after a reboot several kopano services fails to start…

                                            is the packaging so buggy?

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