Error with docker-compose.maintenance.override.yml

Hello
Trying to install kobotoolbox in a promox 7 VM I got the following message:
“ERROR: The Compose file ‘./docker-compose.maintenance.override.yml’ is invalid because:
networks.kobo-fe-network value Additional properties are not allowed (‘name’ was unexpected)
An error has occurred”
At the end of this file I found:
networks:
kobo-fe-network:
name: kobofe_kobo-fe-network
Which I replaced by
networks:
kobo-fe-network:
driver: bridge
… and error message disappeared
I got the same message with docker-compose.frontend.override.yml

I wanted to modify kobo-install/templates/kobo-docker/docker-compose.maintenance.override.yml.tpl as this file seems to be used to generate docker-compose.maintenance.override.yml but without success

kobo-install Version: 8.2.0 (build 480c2bc)
Docker version 26.0.0, build 2ae903e
debian version 12.5
proxmox Virtual Environment 7.4-3

Welcome to the community, @chvitz! I’m pinging @stephenoduor to see if he is available for help!

Thanks @Kal_Lam , @chvitz kindly if you can send more information with screenshots through to my inbox

1 Like

Hello,

Thank you for your interest
At the beginning of the install process I got the following message:

In docker-compose.maintenance.override.yml I found at he end of the file:


networks:
kobo-fe-network:
name: kobofe_kobo-fe-network

Following what the message error said I replaced last line to have:

networks:
kobo-fe-network:

driver: bridge

and the install process does not stop anymore

I do not know how to explain that. At the beginning of the file we can see compose file version:
version: ‘3’
Which is also valid for 3.8 version. network.name parameter was added with 3.5 version.

My configuration:

  • kobo-install Version: 8.2.0 (build 480c2bc)
  • Docker
  • Client: Docker Engine - Community Version: 26.0.0
  • buildx: Docker Buildx (Docker Inc.) Version: v0.13.1
  • compose: Docker Compose (Docker Inc.) Version: v2.25.0- Proxmox VE 7.4-3 VM
  • Kernel Version: 6.1.0-18-amd64
  • Operating System: Debian GNU/Linux 12 (bookworm)
  • CPUs: 4 Total Memory: 7.766GiB

Best Regards

my issue has already been solved here:

We have to downgrade to a previous version of docker-compose

sudo docker info
sudo rm /usr/local/bin/docker-compose
sudo wget -O /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-x86_64
sudo chmod +x /usr/local/bin/docker-compose
sudo systemctl restart docker
sudo docker-compoe version