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

    Latest kopano/kopano_zpush docker image failed to build

    Development
    2
    5
    542
    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.
    • vadonka
      vadonka last edited by

      Hi!

      The latest image what is updated 2020.08.12 on docker hub failed to build.
      I can deploy it without build but if i use with Dockerfile i got this error:
      mv: cannot move ‘core-10.0.6.406.e263d46-Debian_10-amd64’ to ‘core/core-10.0.6.406.e263d46-Debian_10-amd64’: Directory not empty
      ERROR: Service ‘zpush’ failed to build: The command ‘/bin/bash -o pipefail -c . /kopano/helper/create-kopano-repo.sh && if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then dl_and_package_community “core” “$DOWNLOAD_DISTRIBUTION” “$DOWNLOAD_CHANNEL” “$DOWNLOAD_BRANCH”; fi’ returned a non-zero code: 1

      The previous build was fine. And the 2.5.1 version also works fine.

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

        Hi @vadonka,

        I just tried a local build of the docker image and for me it succeeds.

        How exactly did you run the build? Through the makefile? Do you see this only for the z-push image? Did you also pull/build the intermediate images?

        PS: I have moved your topic from the z-push subsection into the development one

        Edit: cross post with https://github.com/zokradonh/kopano-docker/issues/430

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

          Hi!

          I just use the kopano_zpush image as a base. I just need the php curl extension because i use the zimbra backend with this.
          So im not build the whole image from scratch.

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

            We have a full kopano deployement that is working fine. But we have an old zimbra server where i use the zpush too. I try to use the image without any build and its working. So if im deployed then install the php curl with docker exec its okay, but with the build not.

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

              I have merged a pr that will skip the download performed in the onbuild step (which was your above failure) in https://github.com/zokradonh/kopano-docker/pull/432. So when you pull the latest image again your build should succeed.

              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
              • First post
                Last post