Q: NextCloud/Collabora/Docker Version above 21.11.3.3.1

Hi!

I have NextCloud / Collabora Docker setup. Some time ago Collabora made some changes, and I had to fix it version to 21.11.3.3.1, otherwise it didn’t work anymore with NC. What need to be changed in order to upgrade Collabora Docker image to higher version? My docker-compse attached.

Thanks in advance.

docker-compose.yaml

  code:
    image: collabora/code:21.11.3.3.1
    container_name: cloud_code
    restart: unless-stopped
    cap_add:
      - MKNOD
    volumes:
      - ./src/fonts-barcode:/opt/collaboraoffice6.4/share/fonts/truetype/local:ro
    environment:
      - extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:security.enable_macros_execution=true
      - domain=(cloud\\.mydomain\\.com)
    ports:
      - "127.0.0.1:8180:9980"

I’m successfully running image: collabora/code:22.05.6.3.1 with two Nextcloud 24.0.6 installations.
I think it’s better you test new version and in case any issue arise you describe problem details so community can help you.

Please double check this troubleshooting guide: Troubleshooting — Nextcloud latest Administration Manual latest documentation

Hi, wwe,

Can you please post your Docker compose yaml and mods you made in coolswd.xml ?
This is our production NC server so I its not so easy to experiment with.

Thanks in advance.

  collabora:
    image: collabora/code:22.05.6.3.1
    container_name: collabora
    restart: unless-stopped
    networks:
      - traefik_proxy
    expose:
      - "9980"
    environment:
      # https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html
      - aliasgroup1=${NEXTCLOUD1}
      - aliasgroup2=${NEXTCLOUD2}
      - dictionaries=de_DE en_US es_ES ru
      - VIRTUAL_PROTO=http
      - VIRTUAL_PORT=9980
      - VIRTUAL_HOST=${COLLABORA_FQDN}
      - extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:user_interface.mode=compact --o:net.proto=IPv4 --o:hexify_embedded_urls=true --o:logging.level=warning
      - username=adminuser
      - password=adminpassword
    cap_add:
      - MKNOD
    tty: true
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=traefik_proxy"
      - traefik.http.routers.collabora.entrypoints=web-secure
      - traefik.http.routers.collabora.rule=Host(`${COLLABORA_FQDN}`)
      - traefik.http.routers.collabora.tls=true
      - traefik.http.routers.collabora.tls.certresolver=letsencryptresolver
      - traefik.passHostHeader=true
      - traefik.http.routers.collabora.middlewares=secHeaders2@file
      - traefik.http.services.collabora.loadbalancer.server.port=9980
    volumes:
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro

Ok, thanks a lot! I have to figure out what is going wrong in my case. I don’t use traefik.