OS: Rocky Linux 9.5
Branch: Master 1994b9895bc92cfc83caf0f25123efbb763f8635
PHP-FPM: 1.93
Docker: 28.2.2
SELinux: active
I tried this both with and without IPv6 support I don’t have IPv6 in my network, changes are commented
# enable_ipv6: true
ipam:
driver: default
config:
- subnet: ${IPV4_NETWORK:-172.22.1}.0/24
#- subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
also editting resolv.conf to remove the faulty search domain, but going to the server it stays on
preparing for
and 404 for
the output of docker compose logs --tail=200 php-fpm-mailcow nginx-mailcow
provides:
nginx-mailcow-1| 2025/06/02 13:42:18 [error] 15#15: *4 connect() failed (111: Connection refused) while connecting to upstream, client: [client IPv4], server: mail.mydomain.tld, request: "GET / HTTP/1.1", upstream: "fastcgi://172.22.1.6:9002", host: "[mailcow IPv4]"
nginx-mailcow-1| [client IPv4] - - [02/Jun/2025:13:42:18 +0000] "GET / HTTP/1.1" 502 2015 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36"
nginx-mailcow-1| 2025/06/02 13:42:18 [error] 15#15: *4 connect() failed (111: Connection refused) while connecting to upstream, client: [client IPv4], server: mail.mydomain.tld, request: "GET / HTTP/1.1", upstream: "fastcgi://172.22.1.6:9002", host: "[mailcow IPv4]"
nginx-mailcow-1| 2025/06/02 13:42:18 [error] 15#15: *4 connect() failed (111: Connection refused) while connecting to upstream, client: [client IPv4], server: mail.mydomain.tld, request: "GET / HTTP/1.1", upstream: "fastcgi://172.22.1.6:9002", host: "[mailcow IPv4]"
nginx-mailcow-1| [client IPv4] - - [02/Jun/2025:13:42:18 +0000] "GET / HTTP/1.1" 502 2015 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36"
and
php-fpm-mailcow-1 | Waiting for SQL...
alternatingly.
source mailcow.conf ; docker compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
logs me into maria with no errors.
Thanks in advance! 😃
As a sidenote.. my network is 10.10.0.0/24, not 172.22.1.0/24 as the the docker-compose.yml
would suggest but I’ve seen no instruction to change it so I assume it is a magic number