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
    1690
    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.
    • 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
                      • thctlo
                        thctlo @Guest last edited by

                        @ckruijntjens and why dont they start?
                        you checked logs why?
                        Did you unmask the kopano-servers/checked status on it.
                        because if services fail to start these get masked to not start next time.
                        but yes, it looks again like a packaging bug.

                        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 Yes,

                          several services fail with libical…

                          error while loading shared libraries: libical.so.3: cannot open shared object file

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

                            @ckruijntjens @thctlo @fbartels @tommy

                            @tommy also created a toppic for this? With the same error

                            /usr/sbin/kopano-dagent: error while loading shared libraries: libical.so.3: cannot open shared object file: No such file or dir```

                            and several other services break.

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

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

                              nt: error while loading shared libraries: libical.so.3: cannot open

                              if it still happens there is still old and new packages mixed…

                              remove again and go through the packages kopano installed.
                              get latest from the download site.
                              re-create the local apt, make sure its clean before you add new.

                              try again, i’ll see if i can do a quick setup and reproduce it.

                              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

                                Hi @thctlo and @fbartels i think all is ok now again. Could you look at the installed packages to see if i am correct please?

                                ii  kopano-backup                         10.0.6.687.ff762b1fb-0+393.1          amd64        Utility to back up and restore Kopano stores
                                ii  kopano-client                         10.0.6.687.ff762b1fb-0+421.1          amd64        Kopano MAPI provider library
                                ii  kopano-common                         10.0.6.687.ff762b1fb-0+421.1          amd64        Shared files for Kopano services
                                ii  kopano-dagent                         10.0.6.687.ff762b1fb-0+421.1          amd64        E-Mail Delivery Agent for Kopano Core
                                ii  kopano-dagent-pytils                  10.0.6.687.ff762b1fb-0+393.1          amd64        Additional message handlers for kopano-dagent
                                ii  kopano-gateway                        10.0.6.687.ff762b1fb-0+421.1          amd64        POP3 and IMAP Gateway for Kopano Core
                                ii  kopano-ical                           10.0.6.687.ff762b1fb-0+421.1          amd64        ICal and CalDAV Gateway for Kopano Core
                                ii  kopano-lang                           10.0.6.687.ff762b1fb-0+421.1          all          Translations for Kopano Core components
                                ii  kopano-monitor                        10.0.6.687.ff762b1fb-0+421.1          amd64        Quota Monitor for Kopano Core
                                ii  kopano-python-utils                   10.0.6.687.ff762b1fb-0+393.1          amd64        Additional Python-based command-line utils for Kopano Core
                                ii  kopano-search                         10.0.6.687.ff762b1fb-0+393.1          amd64        Indexed search engine for Kopano Core
                                ii  kopano-server                         10.0.6.687.ff762b1fb-0+421.1          amd64        Server component for Kopano Core
                                ii  kopano-server-packages                10.0.6.687.ff762b1fb-0+421.1          all          Metapackage to install the entire Kopano Core stack
                                ii  kopano-spamd                          10.0.6.687.ff762b1fb-0+393.1          amd64        ICS-driven spam learning daemon for Kopano/SpamAssassin
                                ii  kopano-spooler                        10.0.6.687.ff762b1fb-0+421.1          amd64        E-mail Spooler for Kopano Core
                                ii  kopano-statsd                         10.0.6.687.ff762b1fb-0+421.1          amd64        Statistics aggregator for Kopano Core services
                                ii  kopano-webapp                         5.0.0.74+1943.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-smb 4.0.0.0+94.2                          all          Adds Samba specific functionality to Kopano Files plugin.
                                ii  kopano-webapp-plugin-htmleditor-jodit 0.2.0.7+34.2                          all          Kopano WebApp Jodit HHTML Editor 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
                                rc  kopano-webapp-plugin-spell            2.0.1.38+61.2                         all          Kopano WebApp Spellchecker 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  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.687.ff762b1fb-0+393.1          all          High-level Python 3 bindings for Kopano
                                ii  python3-kopano-search                 10.0.6.687.ff762b1fb-0+393.1          all          Kopano search module for Python 3
                                ii  python3-kopano-utils                  10.0.6.687.ff762b1fb-0+393.1          all          Kopano utils modules for Python 3
                                
                                thctlo 2 Replies Last reply Reply Quote 0
                                • thctlo
                                  thctlo @Guest last edited by

                                  @ckruijntjens good to hear its fix.

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

                                    @ckruijntjens
                                    Just do verify all packages with rc in that list.

                                    apt policy $package

                                    This is still not correct, i still dont understand why kopano isnt fixing this.
                                    all this needs is a small change in there version numbering of libgsoap-kopano

                                    And it upgraded with ever new 2.8 package…
                                    Ah, it keeps us of the street…

                                    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
                                    

                                    should be only 1 libgsoap-kopano here only 2.8.109-0+1.3

                                    thats why i use apt-get dist-upgrade if i upgrade kopano.
                                    That does help a bit.

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

                                      @thctlo

                                      Yes i understand. i remove the oldest package. I want to thank you for your help.

                                      Thanks a lot!

                                      kind regards,

                                      Chris Kruijntjens.

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