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

    kopano-docker build webapp-plugins missing

    Development
    3
    4
    523
    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.
    • demerzel999
      demerzel999 last edited by

      Hi,

      i’m just trying to get my head around porting my existing kopano installation to the docker-backed one. Everything seems to be running smoothly (thank you very much for the time and effort in this endevour!), but i can’t get a build to finish for the target “build-webapp” (or any of the other build targets for that matter) when i add additional plugins for the webapp in the .env file like so:

      ADDITIONAL_KOPANO_WEBAPP_PLUGINS="kopano-webapp-plugin-spell"
      

      The error always is the same, it can’t find the package on the sources:

      #13 8.173 Reading package lists...
      #13 9.755 + apt-get install -y --no-install-recommends kopano-webapp kopano-webapp-plugin-spell
      #13 9.781 Reading package lists...
      #13 11.31 Building dependency tree...
      #13 11.64 Reading state information...
      #13 12.01 E: Unable to locate package kopano-webapp-plugin-spell
      #13 ERROR: executor failed running [/bin/bash -o pipefail -c . /kopano/helper/create-kopano-repo.sh &&     if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then         dl_and_package_community "webapp" "Debian_10";         dl_and_package_community "files" "Debian_10";         dl_and_package_community "mdm" "Debian_10";         dl_and_package_community "smime" "Debian_10";     fi;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_SMIME_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_MDM_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_FILES_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     set -x &&     apt-get update && apt-get install -y --no-install-recommends         kopano-webapp         ${ADDITIONAL_KOPANO_PACKAGES}         ${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}     && rm -rf /var/cache/apt /var/lib/apt/lists]: runc did not terminate sucessfully
      ------
       > importing cache manifest from zokradonh/kopano_webapp:builder:
      ------
      ------
       > [3/6] RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf     . /kopano/helper/create-kopano-repo.sh &&     if [ 1 -eq 1 ]; then         dl_and_package_community "webapp" "Debian_10";         dl_and_package_community "files" "Debian_10";         dl_and_package_community "mdm" "Debian_10";         dl_and_package_community "smime" "Debian_10";     fi;     echo "deb [trusted=yes] file:/kopano/repo/webapp ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [trusted=yes] file:/kopano/repo/smime ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [trusted=yes] file:/kopano/repo/mdm ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [trusted=yes] file:/kopano/repo/files ./" >> /etc/apt/sources.list.d/kopano.list;     set -x &&     apt-get update && apt-get install -y --no-install-recommends         kopano-webapp                  kopano-webapp-plugin-spell     && rm -rf /var/cache/apt /var/lib/apt/lists:
      ------
      failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to build LLB: executor failed running [/bin/bash -o pipefail -c . /kopano/helper/create-kopano-repo.sh &&     if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then         dl_and_package_community "webapp" "Debian_10";         dl_and_package_community "files" "Debian_10";         dl_and_package_community "mdm" "Debian_10";         dl_and_package_community "smime" "Debian_10";     fi;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_SMIME_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_MDM_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_FILES_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list;     set -x &&     apt-get update && apt-get install -y --no-install-recommends         kopano-webapp         ${ADDITIONAL_KOPANO_PACKAGES}         ${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}     && rm -rf /var/cache/apt /var/lib/apt/lists]: runc did not terminate sucessfully
      make[1]: *** [Makefile:63: build] Error 1
      make[1]: Leaving directory '/opt/kopano-docker'
      make: *** [Makefile:186: build-webapp] Error 2
      

      Without plugins, the build process runs through, no problem.

      Can anyone make heads or tails on this?

      Cheers!

      1 Reply Last reply Reply Quote 0
      • robing
        robing Kopano (Inactive) last edited by

        @demerzel999 We removed the spell plugin as we do not support IE11 anymore and this was the last browser without a built-in spellchecker

        Regards Robin,

        Need support?
        Have a look at https://kopano.com/support/ for options.

        Helpful resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

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

          Hi,

          thank you very much, i could have tried that also.
          I really would like to give back a little bit to this community, since kopano has been my favorite groupware over the last years, but i’m not really into bash-scripting.
          Since the setup.sh file proposes these plugins, it seems like a good idea to remove them from the script or at least make people aware of this issue - speaking of, i’ll open one on this.

          I just looked through the sources on the kopano-docker repo, there is nothing about spellcheck in them. I wonder how they got into my .env in the first place.

          Thank you very much again!

          Cheers!

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

            @demerzel999 said in kopano-docker build webapp-plugins missing:

            I just looked through the sources on the kopano-docker repo, there is nothing about spellcheck in them.

            Yes, I removed it in https://github.com/zokradonh/kopano-docker/pull/439

            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