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
I am getting this error
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
I am getting this error
This is related the docker compose version, you may need to downgrade to the previous version.
ok my docker compose version is as below
Which version should I downgrade to…Please help
version: ‘3’
services:
maintenance:
environment:
- ETA=${MAINTENANCE_ETA}
- DATE_STR=${MAINTENANCE_DATE_STR}
- DATE_ISO=${MAINTENANCE_DATE_ISO}
- EMAIL=${MAINTENANCE_EMAIL}
${USE_LETSENSCRYPT}ports:
${USE_LETSENSCRYPT} - ${NGINX_EXPOSED_PORT}:80
networks:
kobo-fe-network:
aliases:
- nginx.internal
networks:
kobo-fe-network:
external:
name: ${DOCKER_NETWORK_FRONTEND_PREFIX}_kobo-fe-network
Version 1.7 if I remember
@Kal_Lam Please explain why this Kobo application previously supported the same higher version and now suggestion was lower version, which appears to be a bug.
kindly assist
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 I am getting this error
My current version is 3 what should I downgrade it to??? Please help
version: ‘3’
services:
maintenance:
environment:
- ETA=${MAINTENANCE_ETA}
- DATE_STR=${MAINTENANCE_DATE_STR}
- DATE_ISO=${MAINTENANCE_DATE_ISO}
- EMAIL=${MAINTENANCE_EMAIL}
${USE_LETSENSCRYPT}ports:
${USE_LETSENSCRYPT} - ${NGINX_EXPOSED_PORT}:80
networks:
kobo-fe-network:
aliases:
- nginx.internal
networks:
kobo-fe-network:
external:
name: ${DOCKER_NETWORK_FRONTEND_PREFIX}_kobo-fe-network
Hi I’m getting the same error and the earliest version of docker available on the repo is 19.03.9. I had to downgrade from 23.0.1. The only available version of docker-compose is 1.25.0-1 so I cannot downgrade it. However, I am getting the same error after downgrading. How can I downgrade to version 17?
Client: Docker Engine - Community
Version: 19.03.9
API version: 1.40
Go version: go1.13.10
Git commit: 9d988398e7
Built: Fri May 15 00:25:20 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.9
API version: 1.40 (minimum version 1.12)
Go version: go1.13.10
Git commit: 9d988398e7
Built: Fri May 15 00:23:53 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.18
GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.18.0
GitCommit: fec3683
I think I misread datarange’s comment but the issue still remains. Docker-compose 1.25.0-1 appears to be the only version available in the repository. How can I downgrade to version 1.7?
Ok I educated myself and upgraded docker-compose. It runs the kobo-install script now.
For completeness, my process was as follows
docker-compose --version
sudo su
curl -L https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-
uname -s-
uname -m -o /usr/local/bin/docker-compose
su <your username>
sudo python3 run.py