Closed DatDucati closed 11 months ago
Commit 0b62701 is the commit, where the "restart: true" got added.
https://community.mailcow.email/d/2853-servicesclamd-mailcowdepends-onunbound-mailcow
I opened a discussion here
The service_healthy
for Unbound was also problematic for me as I don't use it and it's always unhealthy, so it caused half the stack not start up. I needed to modify the compose file to service_started
everywhere to make the stack work again.
Commit 0b62701 is the commit, where the "restart: true" got added.
Could you maybe try updating your docker compose version and readd the changes?
I have no problems with that but i'm using a newer compose version then you
Jup confirmed.
It's because of the old compose version.
Alright, i'll remove that restart options as they are not necessary anyways.
Fixed with 2023-10a
@DerLinkman as long as you don't edit the docker-compose.yml file manually you can't update, because the docker compose validation check still complains about the dependency issue:
> ./update.sh
Detecting if your IP is listed on Spamhaus Bad ASN List...
Check completed! Your IP is clean
Checking internet connection... OK
Detecting which build your mailcow runs on...
You are receiving stable updates (master).
To change that run the update.sh Script one time with the --nightly parameter to switch to nightly builds.
Checking for newer update script...
Updated 0 paths from a843066d
Are you sure you want to update mailcow: dockerized? All containers will be stopped. [y/N] y
Great! Native IPv6 NAT is active.
Validating docker-compose stack configuration...
services.postfix-mailcow.depends_on.unbound-mailcow Additional property restart is not allowed
Oh no, something went wrong. Please check the error message above.
Yeah all who have this issue need to edit their compose.yml it's not solveable otherwise. For newly updaters it is however.
I had both old docker-compose and docker compose installed on my system. 2023-10
complained about the restart option. I've removed the old docker-compose using package manager apt --purge remove docker-compose
. Then tried again with 2023-10
and it successfully updated.
To manually check out the current docker compose version use:
git fetch && git checkout docker-compose.yml origin/master
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Operating System:
Ubuntu 20.04
Server/VM specifications:
32G, 4 Cores with HT
Is Apparmor, SELinux or similar active?
yes
Virtualization technology:
Docker version:
Docker version 20.10.24, build 297e128
docker-compose version or docker compose version:
Docker Compose version v2.9.0
mailcow version:
2023-10-54-ge133b2dc
Reverse proxy:
-
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check: