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 to Kopano to 10.0.X from 8.7?

    Kopano Groupware Core
    4
    13
    1268
    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 last edited by thctlo

      Hi,
      I just checked the script and make a few small change for debian 10 but it works.
      I need to have a better look at it, but im currently out of time.

      If this is a Virtual machines, snapshot it, if is bare metal machine and your able to you can use for example hdclone to make a image or the disk IF you need to restore.
      And make sure you shutdown the mail programs (postfix/exim) before you start.

      but good luck on the upgrade.

      ps.
      I just did an upgrade from 9.0.2 to 10.0.1 flawless as far i can tell.

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

        @hispeed said in Update to Kopano to 10.0.X from 8.7?:

        is it possible to pay […] Kopano if I fail

        Sure, our support and prof. services are always available for customers. I’d recommend reaching out to our sales team to get a quote.

        PS: a valid subscription would also mean that you not have to mess with download archives, but can directly use our package respositories.

        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
        • hispeed
          hispeed last edited by

          The vm is pre-configured and fetchmail of course is stopped.
          @thctlo

          I’m not able to update at the moment. I stuck here:

          100 12.8M  100 12.8M    0     0  17.8M      0 --:--:-- --:--:-- --:--:-- 17.8M
          Extracting (strip2) core to tmp-extract folder, please wait
          Extracting (strip2) archiver to tmp-extract folder, please wait
          Extracting (strip2) files to tmp-extract folder, please wait
          Extracting (strip2) mdm to tmp-extract folder, please wait
          Extracting (strip2) smime to tmp-extract folder, please wait
          Extracting (strip2) webapp to tmp-extract folder, please wait
          rm: cannot remove './amd64/*.deb': No such file or directory
          rmdir: failed to remove 'amd64': No such file or directory
          Please wait, generating amd64/Packages File
           
          The installed Kopano CORE apt-list file: /etc/apt/sources.list.d/kopano-community.list
           
          Checking for Z_PUSH Repo on Ubuntu.
          The Kopano Z_PUSH repo was already setup.
          
          The z-push info : https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-z-push-activesync-for-mobile-devices
          Before you configure/install also read : https://wiki.z-hub.io/display/ZP/Installation
          
          Please wait, running apt-get update
          E: Fehlschlag beim Holen von file:/home/kopano/apt/amd64/Packages Datei nicht gefunden - /home/kopano/apt/amd64/Packages (2: No such file or directory)
          E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
          Kopano core versions available on the repo now are: 
          kopano-server:
            Installiert:           8.7.80.587.10057ac52-0+100.1
            Installationskandidat: 8.7.80.587.10057ac52-0+100.1
            Versionstabelle:
           *** 8.7.80.587.10057ac52-0+100.1 100
                  100 /var/lib/dpkg/status
               8.5.5-0ubuntu1 500
                  500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
           
           
          The AD DC extension can be found here: https://download.kopano.io/community/adextension:/
          The Outlook extension : https://download.kopano.io/community/olextension:/
          
          NOTE!
          You need to manually cleanup the Backups folder and Download folder
          I keep it because if you need/want and older version, now its available for you
          
          root@svgwma-kopa-01:/home/kopano# 
          
          1 Reply Last reply Reply Quote 0
          • thctlo
            thctlo last edited by

            @hispeed said in Update to Kopano to 10.0.X from 8.7?:

            /home/kopano/apt/amd64/Packages

            ok, thats something i have to look at.

            in /home/kopano you have also : downloads
            all downloaded packages are there, extract the content in /home/kopano/apt/amd64 only the .deb files.

            cd /home/kopano/apt
            apt-ftparchive packages amd64/ > amd64/Packages

            apt-get update

            That should do the trick.
            I’ll have to look what kopano changed in the tar.gz’s for ubuntu.

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

              Hi @thctlo

              “/root/kopano-repo/downloads” <- i found the downloads at this path.

              Getting Kopano for bionic: Ubuntu_18.04 amd64
              Downloading .tar.gz files to /root/kopano-repo/downloads
              Getting and extracting : core ( -amd64 ) 
              Downloading files to downloads folder : core  ( -amd64 )
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100 50.1M  100 50.1M    0     0  12.3M      0  0:00:04  0:00:04 --:--:-- 12.3M
              Getting and extracting : archiver ( -amd64 ) 
              Downloading files to downloads folder : archiver  ( -amd64 )
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100 35792  100 35792    0     0   277k      0 --:--:-- --:--:-- --:--:--  279k
              Downloading files to downloads folder : files ( -all ) 
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100 2066k  100 2066k    0     0  6204k      0 --:--:-- --:--:-- --:--:-- 6204k
              Downloading files to downloads folder : mdm ( -all ) 
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100 50561  100 50561    0     0   324k      0 --:--:-- --:--:-- --:--:--  324k
              Getting and extracting : smime ( -amd64 ) 
              Downloading files to downloads folder : smime  ( -amd64 )
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100  131k  100  131k    0     0   723k      0 --:--:-- --:--:-- --:--:--  727k
              Downloading files to downloads folder : webapp ( -all ) 
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100 12.8M  100 12.8M    0     0  11.0M      0  0:00:01  0:00:01 --:--:-- 11.0M
              

              @fbartels
              I installed the packages now I want to start kopano-server:

              Feb 10 21:33:37 svgwma-kopa-01 kopano-server[1841]: /usr/sbin/kopano-server: /usr/lib/x86_64-linux-gnu/libkcsoap.so.0: version `KC_10.0' not found (required by /u
              sr/sbin/kopano-server)
              Feb 10 21:33:37 svgwma-kopa-01 kopano-server[1841]: /usr/sbin/kopano-server: /usr/lib/x86_64-linux-gnu/libkcutil.so.0: version `KC_10.0' not found (required by /u
              sr/sbin/kopano-server)
              Feb 10 21:33:37 svgwma-kopa-01 kopano-server[1841]: /usr/sbin/kopano-server: /usr/lib/x86_64-linux-gnu/libkcserver.so.0: version `KC_10.0' not found (required by
              /usr/sbin/kopano-server)
              
              fbartels thctlo 2 Replies Last reply Reply Quote 0
              • fbartels
                fbartels Kopano @hispeed last edited by

                @hispeed said in Update to Kopano to 10.0.X from 8.7?:

                I installed the packages now I want to start kopano-server:

                that looks like you did not update all of the available packages.

                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

                  Run : apt dist-upgrade --autoremove will fix it.

                  That will remove the conflicting (if any) packages, often the mapi of libkcsoap.
                  then : systemctl restart apache kopano-*

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

                    @hispeed said in Update to Kopano to 10.0.X from 8.7?:

                    Hi @thctlo

                    “/root/kopano-repo/downloads” <- i found the downloads at this path.

                    Correct, you can set the path to you needs in the script.
                    It defaults to $HOME so if you run it as root, the repo is in user root.

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

                      I was able to update Kopano Core and Webapp to the newest version, thank you thctlo.

                      How can I check if the MDM and Files version is also up to date?

                      I also updated Z-Push but at the moment it’s still showing the old version in the webapp?!?

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

                        For everyone this was my way to upgrade 8.7 to 10.0.X

                        sudo su
                        sudo systemctl stop fetchmail
                        sudo systemctl stop kopano-server
                        
                        apt-get update
                        apt dist-upgrade
                        
                        reboot 
                        
                        sudo systemctl stop fetchmail
                        sudo systemctl stop kopano-server
                        
                        sudo apt-get install gnupg2 -y
                        sudo wget -O - https://raw.githubusercontent.com/thctlo/Kopano/master/get-kopano-community.sh | bash
                        
                        cd /root/kopano-repo/downloads
                        tar xfvz core-2020-02-15.tar.gz --strip-components 1 --directory /home/kopano/apt/amd64
                        tar xfvz files-2020-02-15.tar.gz --strip-components 1 --directory /home/kopano/apt/amd64
                        tar xfvz mdm-2020-02-15.tar.gz --strip-components 1 --directory /home/kopano/apt/amd64
                        tar xfvz webapp-2020-02-15.tar.gz --strip-components 1 --directory /home/kopano/apt/amd64
                        
                        mkdir /home/kopano/apt/amd64
                        cd /home/kopano/apt/
                        apt-ftparchive packages amd64/ > amd64/Packages
                        
                        apt install kopano-server-packages
                        apt install kopano-server-packages kopano-webapp
                        apt install kopano-server-packages mdm
                        apt install kopano-server-packages files
                        
                        apt dist-upgrade --autoremove
                        systemctl restart apache2
                        // If you have running path in config enabled, you have to disable it:
                        
                        nano /etc/kopano/server.cfg
                        nano /etc/kopano/spooler.cfg
                        
                        systemctl start kopano-server
                        systemctl status kopano-server
                        
                        // Check if Repo is still there for Z-Push:
                        nano /etc/apt/sources.list.d/z-push.list 
                        
                        wget -qO - http://repo.z-hub.io/z-push:/final/Ubuntu_18.04/Release.key | sudo apt-key add -
                        sudo apt-get update
                        sudo apt-get install z-push-kopano z-push-config-apache
                        sudo /etc/init.d/apache2 reload
                        
                        reboot
                        
                        noise 1 Reply Last reply Reply Quote 0
                        • noise
                          noise @hispeed last edited by

                          Hi guys and thanks for this

                          i upgrade now from 8.7.82 to 10.0.2 on Ubuntu 18.04.4 LTS
                          All seems to runnig but after all updates & reboot a “apt update” gives the following error:

                          Alle Pakete sind aktuell.
                          N: Der Download wird als root und nicht Sandbox-geschützt durchgeführt, da auf die Datei »/root/kopano-repo/apt/amd64/InRelease« durch den Benutzer »_apt« nicht zugegriffen werden kann. - pkgAcquire::Run (13: Permission denied)
                          

                          I used earlier to install and update it this script:

                          cd /home/kopano/amd64
                          rm -v !("Packages")
                          
                          if [ ! -d /home/kopano/amd64 ]
                          then
                               mkdir -p /home/kopano/amd64
                          fi
                          cd /home/kopano/
                          #Core
                          wget https://download.kopano.io/community/core:/core-10.0.2.3.1ab2e8a-Ubuntu_18.10-amd64.tar.gz
                          tar xfvz core-10.0.2.3.1ab2e8a-Ubuntu_18.10-amd64.tar.gz
                          mv core-10.0.2.3.1ab2e8a-Ubuntu_18.10-amd64/*.deb /home/kopano/amd64/
                          
                          #webapp
                          wget https://download.kopano.io/community/webapp:/webapp-4.0.2668%2B1566.1.6712c28-Ubuntu_18.04-all.tar.gz
                          tar xfvz webapp-4.0.2668+1566.1.6712c28-Ubuntu_18.04-all.tar.gz
                          mv webapp-4.0.2668+1566.1.6712c28-Ubuntu_18.04-all/*.deb /home/kopano/amd64/
                          
                          #mdm
                          wget https://download.kopano.io/community/mdm:/mdm-3.0.135%2B86.1.30e560a-Ubuntu_18.04-all.tar.gz
                          tar xfvz mdm-3.0.135+86.1.30e560a-Ubuntu_18.04-all.tar.gz
                          mv mdm-3.0.135+86.1.30e560a-Ubuntu_18.04-all/*.deb /home/kopano/amd64/
                          
                          #kopano-files
                          wget https://download.kopano.io/community/files:/files-3.0.0.5%2B73.f6a1c61-Ubuntu_18.04-all.tar.gz
                          tar xfvz files-3.0.0.5+73.f6a1c61-Ubuntu_18.04-all.tar.gz
                          mv files-3.0.0.5+73.f6a1c61-Ubuntu_18.04-all/*.deb /home/kopano/amd64/
                          
                          apt-ftparchive packages amd64/ > amd64/Packages
                          if [ ! -f /etc/apt/sources.list.d/kopano-com.list ]
                          then
                              echo "deb [trusted=yes] file:/home/kopano amd64/" > /etc/apt/sources.list.d/kopano-com.list
                          fi
                          
                          apt update
                          apt dist-upgrade --autoremove
                          
                          1 Reply Last reply Reply Quote 0
                          • hispeed
                            hispeed last edited by

                            Hi Noise,

                            For me this looks like a ubuntu and packaging problem which I haven’t seen. I’m sorry I can’t help you.
                            I would ask this on freenode irc or so in a ubuntu chat and translate it to english.

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