"Health": {
"Status": "unhealthy",
"FailingStreak": 3061,
"Log": [
{
"Start": "2023-11-03T13:26:11.288609153Z",
"End": "2023-11-03T13:26:11.51671206Z",
"ExitCode": -1,
"Output": "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/healthcheck.sh\": stat /healthcheck.sh: no such file or directory: unknown"
},
its not clear to me why yet. looking into the overlay i can clearly see /healthcheck.sh exists. its using #!/bin/bash which also exists and a chroot into the overlay shows that both bash and /healthcheck.sh work fine
i changed the image to just use "ls" as command and .. /healthcheck.sh is indeed missing here
it looks like healthcheck is not actually executed inside the image ?
changing it to cat /etc/alpine-release shows "Output": "3.18.4\n"
so it is inside alpine. just without any of the changes added after that
originally i was trying to hunt an entirely different bug that looks maybe related.
deleting a mailbox results in
Could not move maildir to garbage collector: command failed: OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown
required but irrelevant form input follows
Logs:
Client: Docker Engine - Community
Version: 24.0.7
API version: 1.43
Go version: go1.20.10
Git commit: afdd53b
Built: Thu Oct 26 09:08:02 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.7
API version: 1.43 (minimum version 1.12)
Go version: go1.20.10
Git commit: 311b9ff
Built: Thu Oct 26 09:08:02 2023
OS/Arch: linux/amd64
Experimental: false
### Steps to reproduce:
```plain text
git clone https://github.com/mailcow/mailcow-dockerized
./generate_config.sh
docker compose up -d
### Which branch are you using?
master
### Operating System:
debian 12
### Server/VM specifications:
16
### Is Apparmor, SELinux or similar active?
no
### Virtualization technology:
KVM
### Docker version:
24.0.7
### docker-compose version or docker compose version:
v2.21.0
### mailcow version:
2023-10a
### Reverse proxy:
-
### Logs of git diff:
```plain text
--- a/data/Dockerfiles/unbound/Dockerfile
+++ b/data/Dockerfiles/unbound/Dockerfile
@@ -21,7 +21,7 @@ COPY docker-entrypoint.sh /docker-entrypoint.sh
# healthcheck (nslookup)
COPY healthcheck.sh /healthcheck.sh
RUN chmod +x /healthcheck.sh
-HEALTHCHECK --interval=30s --timeout=10s CMD [ "/healthcheck.sh" ]
+HEALTHCHECK --interval=30s --timeout=10s CMD ls /
Contribution guidelines
I've found a bug and checked that ...
Description
due to
its not clear to me why yet. looking into the overlay i can clearly see /healthcheck.sh exists. its using #!/bin/bash which also exists and a chroot into the overlay shows that both bash and /healthcheck.sh work fine
i changed the image to just use "ls" as command and .. /healthcheck.sh is indeed missing here
it looks like healthcheck is not actually executed inside the image ?
changing it to cat /etc/alpine-release shows "Output": "3.18.4\n" so it is inside alpine. just without any of the changes added after that
originally i was trying to hunt an entirely different bug that looks maybe related. deleting a mailbox results in
required but irrelevant form input follows
Logs:
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: