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

    Install Kopano Core on Ubuntu 16.04 error -

    Kopano Groupware Core
    6
    29
    7894
    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.
    • fbartels
      fbartels Kopano last edited by

      hm… do you have any third party repositories configured? for my installing libjansson-doc does not create such conflicts. But as said earlier not all packages in the archive need to be installed anyways, libjansson-doc is such an example.

      To make it easier to resolve dependencies I always recommend to not use dpkg for the installation, but to create an ad-hoc apt repo from the downloaded archives. just extract the archives, cd into the directories just create and then create the repo with apt-ftparchives. I have the following script for this in my toolbox:

      #!/bin/bash
      
      read -p "Create a local apt repo from the current dir? (y/n) " RESP
      if [ "$RESP" = "y" ]; then
              apt-ftparchive packages . | gzip -9c > Packages.gz
      fi
      
      echo "To use this repo just add the following line to /etc/apt/sources.list:"
      echo "deb file:$(pwd) ./"
      echo
      echo "To skip verification you can call apt-get the following way:"
      echo "apt-get install --allow-unauthenticated kopano-server-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/

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

        @fbartels said in Install Kopano Core on Ubuntu 16.04 error -:

        hm… do you have any third party repositories configured? for my installing libjansson-doc does not create such conflicts. But as said earlier not all packages in the archive need to be installed anyways, libjansson-doc is such an example.

        To make it easier to resolve dependencies I always recommend to not use dpkg for the installation, but to create an ad-hoc apt repo from the downloaded archives. just extract the archives, cd into the directories just create and then create the repo with apt-ftparchives. I have the following script for this in my toolbox:

        #!/bin/bash
        
        read -p "Create a local apt repo from the current dir? (y/n) " RESP
        if [ "$RESP" = "y" ]; then
                apt-ftparchive packages . | gzip -9c > Packages.gz
        fi
        
        echo "To use this repo just add the following line to /etc/apt/sources.list:"
        echo "deb file:$(pwd) ./"
        echo
        echo "To skip verification you can call apt-get the following way:"
        echo "apt-get install --allow-unauthenticated kopano-server-packages"
        

        Have I understood it correctly?

        1. Download the newest core-package with wget.
        2. Extract these with tar -xvf.
        3. Cd into extracted directory.
        4. Create a new skript for example “kopano.sh” and copy your script 1:1 from above.
        5. add the line “deb file:$(pwd) ./” to my sources.list
        6. use command “apt-get install --allow-unauthenticated kopano-server-packages”

        Is this the right way?

        fbartels 1 Reply Last reply Reply Quote 0
        • MarcusRieche
          MarcusRieche last edited by

          I renember having issues with libjansson too. I think I solved it by installing libjansson-doc manually. Looks like a change or bug in the libjansson dependencies.

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

            @nils50122 yes, that sounds correct

            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/

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

              @fbartels

              now i have a package named packages.gz in my kopano directory.

              
              root@xxxxx:/tmp/core-8.4.0~792_151.1-Debian_8.0-amd64# ls -a
              .
              ..
              Packages.gz
              gsoap-kopano-dbg_2.8.43-3.1_amd64.deb
              gsoap-kopano-dev_2.8.43-3.1_amd64.deb
              gsoap-kopano-doc_2.8.43-3.1_all.deb
              gsoap-kopano_2.8.43-3.1_amd64.deb
              kopano-backup_8.4.0~792-151.1_amd64.deb
              kopano-bash-completion_8.4.0~792-151.1_amd64.deb
              kopano-client_8.4.0~792-151.1_amd64.deb
              kopano-common_8.4.0~792-151.1_amd64.deb
              kopano-contacts_8.4.0~792-151.1_amd64.deb
              kopano-dagent_8.4.0~792-151.1_amd64.deb
              kopano-dbg_8.4.0~792-151.1_amd64.deb
              kopano-dev_8.4.0~792-151.1_amd64.deb
              kopano-gateway_8.4.0~792-151.1_amd64.deb
              kopano-ical_8.4.0~792-151.1_amd64.deb
              kopano-lang_8.4.0~792-151.1_all.deb
              kopano-migration-imap_8.4.0~792-151.1_amd64.deb
              kopano-migration-pst_8.4.0~792-151.1_amd64.deb
              kopano-monitor_8.4.0~792-151.1_amd64.deb
              kopano-presence_8.4.0~792-151.1_amd64.deb
              kopano-search_8.4.0~792-151.1_amd64.deb
              kopano-server-packages_8.4.0~792-151.1_all.deb
              kopano-server_8.4.0~792-151.1_amd64.deb
              kopano-spooler_8.4.0~792-151.1_amd64.deb
              kopano-utils_8.4.0~792-151.1_amd64.deb
              kopano.sh
              libgsoap-kopano-2-8-43_2.8.43-3.1_amd64.deb
              libgsoap-kopano-dbg_2.8.43-3.1_amd64.deb
              libjansson-dbg_2.7-1_amd64.deb
              libjansson-dev_2.7-1_amd64.deb
              libjansson-doc_2.7-1_all.deb
              libjansson4_2.7-1_amd64.deb
              libkcarchiver0_8.4.0~792-151.1_amd64.deb
              libkcarchivercore0_8.4.0~792-151.1_amd64.deb
              libkcfreebusy0_8.4.0~792-151.1_amd64.deb
              libkchl0_8.4.0~792-151.1_amd64.deb
              libkcicalmapi0_8.4.0~792-151.1_amd64.deb
              libkcinetmapi0_8.4.0~792-151.1_amd64.deb
              libkcmapi0_8.4.0~792-151.1_amd64.deb
              libkcpyconv0_8.4.0~792-151.1_amd64.deb
              libkcpydirector0_8.4.0~792-151.1_amd64.deb
              libkcserver0_8.4.0~792-151.1_amd64.deb
              libkcsoap0_8.4.0~792-151.1_amd64.deb
              libkcssl0_8.4.0~792-151.1_amd64.deb
              libkcsync0_8.4.0~792-151.1_amd64.deb
              libkcutil0_8.4.0~792-151.1_amd64.deb
              libmapi1_8.4.0~792-151.1_amd64.deb
              libs3-3_3.0~git226-5.1_amd64.deb
              libs3-dev_3.0~git226-5.1_amd64.deb
              libtidy5_5.1.9-1.1_amd64.deb
              libvmime-kopano-dev_0.9.2-9.1_amd64.deb
              libvmime-kopano1_0.9.2-9.1_amd64.deb
              php5-mapi_8.4.0~792-151.1_amd64.deb
              python-kopano_8.4.0~792-151.1_all.deb
              python-mapi_8.4.0~792-151.1_amd64.deb
              tidy-html5-dev_5.1.9-1.1_amd64.deb
              tidy-html5_5.1.9-1.1_amd64.deb
              

              I added the line “deb file:/tmp/core-8.4.0~792_151.1-Debian_8.0-amd64 ./” to my sources.list

              but where is the way to install this now?
              when i use your command from the script i become this error:

              root@xxxx:/etc/apt# apt-get install --allow-unauthenticated kopano-server-packages
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              E: Unable to locate package kopano-server-packages
              
              fbartels 1 Reply Last reply Reply Quote 0
              • fbartels
                fbartels Kopano @nils50122 last edited by

                @nils50122 did you also run apt-get update?

                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/

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

                  @fbartels

                  Ah, apt-get update was the problem.

                  Now i become these erros:

                  
                  root@xxxxx:/etc/apt# apt-get install --allow-unauthenticated kopano-server-packages
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  Some packages could not be installed. This may mean that you have
                  requested an impossible situation or if you are using the unstable
                  distribution that some required packages have not yet been created
                  or been moved out of Incoming.
                  The following information may help to resolve the situation:
                  
                  The following packages have unmet dependencies:
                   kopano-server-packages : Depends: kopano-backup (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-dagent (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-gateway (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-ical (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-monitor (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-presence (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-search (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-server (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-spooler (= 8.4.0~792-151.1) but it is not going to be installed
                                            Depends: kopano-utils (= 8.4.0~792-151.1) but it is not going to be installed
                  E: Unable to correct problems, you have held broken packages.
                  
                  fbartels 1 Reply Last reply Reply Quote 0
                  • fbartels
                    fbartels Kopano @nils50122 last edited by

                    @nils50122 hm… maybe your previous attempts left some leftover, that are now blocking install. The same apt line worked just fine this morning.

                    Could you run the following: apt-get -s -o Debug::pkgProblemResolver=yes install kopano-server-packages

                    This should give some more insights why he cannot resolve the package dependencies.

                    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/

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

                      @fbartels

                      here’s the output:

                      root@xxxxx:/# apt-get -s -o Debug::pkgProblemResolver=yes install kopano-server-packages
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      Starting pkgProblemResolver with broken count: 11
                      Starting 2 pkgProblemResolver with broken count: 11
                      Investigating (0) kopano-server-packages [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-server-packages:amd64 Depends on kopano-dagent [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-dagent:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-gateway [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-gateway:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-ical [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-ical:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-server [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-server:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-spooler [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-spooler:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-utils [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-utils:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                      Investigating (0) libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcmapi0:amd64 Depends on libkcutil0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcutil0:amd64 10 as a solution to libkcmapi0:amd64 21
                        Holding Back libkcmapi0:amd64 rather than change libkcutil0:amd64
                      Investigating (0) libmapi1 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libmapi1:amd64 Depends on libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcmapi0:amd64 21 as a solution to libmapi1:amd64 13
                        Holding Back libmapi1:amd64 rather than change libkcmapi0:amd64
                      Investigating (0) kopano-client [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-client:amd64 Depends on libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcmapi0:amd64 21 as a solution to kopano-client:amd64 9
                        Holding Back kopano-client:amd64 rather than change libkcmapi0:amd64
                      Investigating (0) libkcfreebusy0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcfreebusy0:amd64 Depends on libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcmapi0:amd64 21 as a solution to libkcfreebusy0:amd64 5
                        Holding Back libkcfreebusy0:amd64 rather than change libkcmapi0:amd64
                      Investigating (0) libkcsync0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcsync0:amd64 Depends on libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcmapi0:amd64 21 as a solution to libkcsync0:amd64 3
                        Holding Back libkcsync0:amd64 rather than change libkcmapi0:amd64
                      Investigating (0) python-mapi [ amd64 ] < none -> 8.4.0~792-151.1 > ( python )
                      Broken python-mapi:amd64 Depends on libkcfreebusy0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcfreebusy0:amd64 5 as a solution to python-mapi:amd64 2
                        Holding Back python-mapi:amd64 rather than change libkcfreebusy0:amd64
                      Investigating (0) libkcsoap0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcsoap0:amd64 Depends on libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcmapi0:amd64 21 as a solution to libkcsoap0:amd64 2
                        Holding Back libkcsoap0:amd64 rather than change libkcmapi0:amd64
                      Investigating (0) python-kopano [ amd64 ] < none -> 8.4.0~792-151.1 > ( python )
                      Broken python-kopano:amd64 Depends on python-mapi [ amd64 ] < none -> 8.4.0~792-151.1 > ( python )
                        Considering python-mapi:amd64 2 as a solution to python-kopano:amd64 2
                        Holding Back python-kopano:amd64 rather than change python-mapi:amd64
                      Investigating (0) libkcssl0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcssl0:amd64 Depends on libkcutil0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcutil0:amd64 10 as a solution to libkcssl0:amd64 2
                        Holding Back libkcssl0:amd64 rather than change libkcutil0:amd64
                      Investigating (0) libkcicalmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcicalmapi0:amd64 Depends on libkcfreebusy0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcfreebusy0:amd64 5 as a solution to libkcicalmapi0:amd64 1
                        Holding Back libkcicalmapi0:amd64 rather than change libkcfreebusy0:amd64
                      Investigating (0) kopano-search [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-search:amd64 Depends on python-kopano [ amd64 ] < none -> 8.4.0~792-151.1 > ( python )
                        Considering python-kopano:amd64 2 as a solution to kopano-search:amd64 0
                        Holding Back kopano-search:amd64 rather than change python-kopano:amd64
                      Investigating (0) libkcinetmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcinetmapi0:amd64 Depends on libkcicalmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcicalmapi0:amd64 1 as a solution to libkcinetmapi0:amd64 0
                        Holding Back libkcinetmapi0:amd64 rather than change libkcicalmapi0:amd64
                      Investigating (0) kopano-backup [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-backup:amd64 Depends on python-kopano [ amd64 ] < none -> 8.4.0~792-151.1 > ( python )
                        Considering python-kopano:amd64 2 as a solution to kopano-backup:amd64 0
                        Holding Back kopano-backup:amd64 rather than change python-kopano:amd64
                      Investigating (0) kopano-presence [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-presence:amd64 Depends on python-kopano [ amd64 ] < none -> 8.4.0~792-151.1 > ( python )
                        Considering python-kopano:amd64 2 as a solution to kopano-presence:amd64 0
                        Holding Back kopano-presence:amd64 rather than change python-kopano:amd64
                      Investigating (0) libkcpyconv0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken libkcpyconv0:amd64 Depends on libmapi1 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libmapi1:amd64 13 as a solution to libkcpyconv0:amd64 0
                        Holding Back libkcpyconv0:amd64 rather than change libmapi1:amd64
                      Investigating (0) kopano-monitor [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-monitor:amd64 Depends on libkcmapi0 [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                        Considering libkcmapi0:amd64 21 as a solution to kopano-monitor:amd64 0
                        Holding Back kopano-monitor:amd64 rather than change libkcmapi0:amd64
                      Investigating (1) kopano-server-packages [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail )
                      Broken kopano-server-packages:amd64 Depends on kopano-backup [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-backup:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed early because of libicu52:amd64
                          Reinst Failed because of libkcutil0:amd64
                          Reinst Failed because of libkcmapi0:amd64
                          Reinst Failed because of libkcfreebusy0:amd64
                          Reinst Failed because of python-mapi:amd64
                          Reinst Failed because of python-kopano:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-dagent [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-dagent:amd64 0 as a solution to kopano-server-packages:amd64 9999
                      Broken kopano-server-packages:amd64 Depends on kopano-gateway [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-gateway:amd64 0 as a solution to kopano-server-packages:amd64 9999
                      Broken kopano-server-packages:amd64 Depends on kopano-ical [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-ical:amd64 0 as a solution to kopano-server-packages:amd64 9999
                      Broken kopano-server-packages:amd64 Depends on kopano-monitor [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-monitor:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed because of libkcmapi0:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-presence [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-presence:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed because of python-kopano:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-search [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-search:amd64 0 as a solution to kopano-server-packages:amd64 9999
                          Reinst Failed because of python-kopano:amd64
                      Broken kopano-server-packages:amd64 Depends on kopano-server [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-server:amd64 0 as a solution to kopano-server-packages:amd64 9999
                      Broken kopano-server-packages:amd64 Depends on kopano-spooler [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-spooler:amd64 0 as a solution to kopano-server-packages:amd64 9999
                      Broken kopano-server-packages:amd64 Depends on kopano-utils [ amd64 ] < none -> 8.4.0~792-151.1 > ( mail ) (= 8.4.0~792-151.1)
                        Considering kopano-utils:amd64 0 as a solution to kopano-server-packages:amd64 9999
                      Done
                      Some packages could not be installed. This may mean that you have
                      requested an impossible situation or if you are using the unstable
                      distribution that some required packages have not yet been created
                      or been moved out of Incoming.
                      The following information may help to resolve the situation:
                      
                      The following packages have unmet dependencies:
                       kopano-server-packages : Depends: kopano-backup (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-dagent (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-gateway (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-ical (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-monitor (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-presence (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-search (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-server (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-spooler (= 8.4.0~792-151.1) but it is not going to be installed
                                                Depends: kopano-utils (= 8.4.0~792-151.1) but it is not going to be installed
                      E: Unable to correct problems, you have held broken packages.
                      
                      1 Reply Last reply Reply Quote 0
                      • fbartels
                        fbartels Kopano last edited by

                        Ah found the reason you cannot resolve all dependencies: you are trying to install the packages from Debian 8 on Ubuntu 16.04.

                        @nils50122 said in Install Kopano Core on Ubuntu 16.04 error -:

                        root@xxxxx:/tmp/core-8.4.0~792_151.1-Debian_8.0-amd64#

                        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/

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

                          @fbartels

                          Now the installation is ok.
                          Only the package libjasson fault, but you say its not important.

                          The WebApp-Package installed successfull, restart the apache2 process after it, but when i try to connect the URL: http://xxx.xxx.de/webapp/ there comes an error 500 from apache.

                          When i restart the apache process there are no faults.

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

                            @nils50122 anything in the apache (error) logs? are you now using the 16.04 packages? for webapp and core?

                            which version do you have installed?

                            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/

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

                              @fbartels

                              here’s the error log from apache.

                              [Tue Jun 20 16:19:39.465221 2017] [mpm_prefork:notice] [pid 8686] AH00169: caught SIGTERM, shutting down
                              [Tue Jun 20 16:19:40.573970 2017] [ssl:warn] [pid 28362] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:19:40.574242 2017] [ssl:warn] [pid 28362] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:19:40.574312 2017] [suexec:notice] [pid 28362] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
                              [Tue Jun 20 16:19:40.584621 2017] [auth_digest:notice] [pid 28363] AH01757: generating secret for digest authentication ...
                              [Tue Jun 20 16:19:40.587812 2017] [ssl:warn] [pid 28363] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:19:40.588095 2017] [ssl:warn] [pid 28363] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:19:40.588744 2017] [mpm_prefork:notice] [pid 28363] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
                              [Tue Jun 20 16:19:40.588759 2017] [core:notice] [pid 28363] AH00094: Command line: '/usr/sbin/apache2'
                              [Tue Jun 20 16:20:07.990882 2017] [mpm_prefork:notice] [pid 28363] AH00169: caught SIGTERM, shutting down
                              [Tue Jun 20 16:20:09.079958 2017] [ssl:warn] [pid 29914] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:20:09.080257 2017] [ssl:warn] [pid 29914] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:20:09.080337 2017] [suexec:notice] [pid 29914] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
                              [Tue Jun 20 16:20:09.090137 2017] [auth_digest:notice] [pid 29915] AH01757: generating secret for digest authentication ...
                              [Tue Jun 20 16:20:09.093250 2017] [ssl:warn] [pid 29915] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:20:09.093488 2017] [ssl:warn] [pid 29915] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:20:09.094192 2017] [mpm_prefork:notice] [pid 29915] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
                              [Tue Jun 20 16:20:09.094208 2017] [core:notice] [pid 29915] AH00094: Command line: '/usr/sbin/apache2'
                              [Tue Jun 20 16:22:43.072352 2017] [mpm_prefork:notice] [pid 29915] AH00171: Graceful restart requested, doing restart
                              [Tue Jun 20 16:22:46.086263 2017] [auth_digest:notice] [pid 29915] AH01757: generating secret for digest authentication ...
                              [Tue Jun 20 16:22:46.088281 2017] [ssl:warn] [pid 29915] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:22:46.088563 2017] [ssl:warn] [pid 29915] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:22:46.088729 2017] [mpm_prefork:notice] [pid 29915] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
                              [Tue Jun 20 16:22:46.088737 2017] [core:notice] [pid 29915] AH00094: Command line: '/usr/sbin/apache2'
                              [Tue Jun 20 16:22:46.333456 2017] [core:alert] [pid 2108] [client 87.174.179.87:50696] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:22:49.506368 2017] [core:alert] [pid 2108] [client 87.174.179.87:50698] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:22:50.888586 2017] [core:alert] [pid 2108] [client 87.174.179.87:50699] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:22:52.915566 2017] [core:alert] [pid 2108] [client 87.174.179.87:50700] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:23:09.278796 2017] [mpm_prefork:notice] [pid 29915] AH00169: caught SIGTERM, shutting down
                              [Tue Jun 20 16:23:10.372162 2017] [ssl:warn] [pid 2153] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:23:10.372471 2017] [ssl:warn] [pid 2153] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:23:10.372548 2017] [suexec:notice] [pid 2153] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
                              [Tue Jun 20 16:23:10.383492 2017] [auth_digest:notice] [pid 2154] AH01757: generating secret for digest authentication ...
                              [Tue Jun 20 16:23:10.386513 2017] [ssl:warn] [pid 2154] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:23:10.386971 2017] [ssl:warn] [pid 2154] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:23:10.389558 2017] [mpm_prefork:notice] [pid 2154] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
                              [Tue Jun 20 16:23:10.389581 2017] [core:notice] [pid 2154] AH00094: Command line: '/usr/sbin/apache2'
                              [Tue Jun 20 16:23:12.171822 2017] [core:alert] [pid 2159] [client 87.174.179.87:50702] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:23:13.985263 2017] [core:alert] [pid 2159] [client 87.174.179.87:50703] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:23:14.958933 2017] [core:alert] [pid 2159] [client 87.174.179.87:50704] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:23:26.736460 2017] [core:alert] [pid 2164] [client 87.174.179.87:50712] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:23:44.436729 2017] [core:alert] [pid 2163] [client 87.174.179.87:50723] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:23:50.701906 2017] [core:alert] [pid 2166] [client 87.174.179.87:50725] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:26:45.902095 2017] [core:alert] [pid 2163] [client 87.174.179.87:50743] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:28:52.617819 2017] [core:alert] [pid 2163] [client 87.174.179.87:50756] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:29:06.564261 2017] [mpm_prefork:notice] [pid 2154] AH00169: caught SIGTERM, shutting down
                              [Tue Jun 20 16:29:07.654007 2017] [ssl:warn] [pid 3208] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:29:07.654311 2017] [ssl:warn] [pid 3208] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:29:07.654427 2017] [suexec:notice] [pid 3208] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
                              [Tue Jun 20 16:29:07.665162 2017] [auth_digest:notice] [pid 3209] AH01757: generating secret for digest authentication ...
                              [Tue Jun 20 16:29:07.668170 2017] [ssl:warn] [pid 3209] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:29:07.668418 2017] [ssl:warn] [pid 3209] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:29:07.669145 2017] [mpm_prefork:notice] [pid 3209] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
                              [Tue Jun 20 16:29:07.669160 2017] [core:notice] [pid 3209] AH00094: Command line: '/usr/sbin/apache2'
                              [Tue Jun 20 16:29:11.011963 2017] [core:alert] [pid 3214] [client 87.174.179.87:50758] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:32:56.990207 2017] [mpm_prefork:notice] [pid 3209] AH00169: caught SIGTERM, shutting down
                              [Tue Jun 20 16:32:58.093561 2017] [ssl:warn] [pid 3655] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:32:58.093873 2017] [ssl:warn] [pid 3655] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:32:58.093977 2017] [suexec:notice] [pid 3655] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
                              [Tue Jun 20 16:32:58.104575 2017] [auth_digest:notice] [pid 3656] AH01757: generating secret for digest authentication ...
                              [Tue Jun 20 16:32:58.107586 2017] [ssl:warn] [pid 3656] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:32:58.107822 2017] [ssl:warn] [pid 3656] AH01909: default-178_254_35_190:443:0 server certificate does NOT include an ID which matches the server name
                              [Tue Jun 20 16:32:58.108549 2017] [mpm_prefork:notice] [pid 3656] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
                              [Tue Jun 20 16:32:58.108568 2017] [core:notice] [pid 3656] AH00094: Command line: '/usr/sbin/apache2'
                              [Tue Jun 20 16:33:01.971126 2017] [core:alert] [pid 3661] [client 87.174.179.87:50901] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              [Tue Jun 20 16:51:06.225207 2017] [core:alert] [pid 3661] [client 87.174.179.87:51454] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
                              

                              used the package for ubuntu 16.04 from tonight. (https://download.kopano.io/community/webapp:/webapp-3.4.0.715_494-Ubuntu_16.04-all.tar.gz)

                              I think there is a error in the .htaccess with my php7.

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

                                @nils50122 are you running php-fpm?

                                Yes, the htaccess seems to be the problem.

                                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/

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

                                  @fbartels
                                  Yes, i run with php-fpm.

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

                                    @nils50122 I thought so. the php_value commands in the .htaccess will only work if you are running mod_php.

                                    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/

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

                                      @fbartels

                                      Can not run mod php, i have other websites for fpm on these server.

                                      Can we change the .htaccess file ?

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

                                        @nils50122 nobody is stopping you from defining those values directly in your php.ini.

                                        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/

                                        nils50122 ItzJustinN 2 Replies Last reply Reply Quote 0
                                        • nils50122
                                          nils50122 @fbartels last edited by

                                          @fbartels

                                          i comment out the php_values now.
                                          I reloard the url from webapp, no error, but the page is now download as a file.

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

                                            @fbartels said in Install Kopano Core on Ubuntu 16.04 error -:

                                            @nils50122 nobody is stopping you from defining those values directly in your php.ini.

                                            u need to define them in ur php.ini

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