-
-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error on "Ensure Pi-hole is running" task #627
Comments
It appears that 'avahi-daemon' was using that address so I disabled it and removed it, however, after running the playbook, I'm getting the same error. |
Yea i get the same Fatal error |
Can you try running |
There should not be anything else running, fresh install of Raspberry Pi OS |
I'm trying to set up internet-pi and whenever I run the playbook, I get this error. I saw in the issues someone else had run into this problem due to an address already being in use and that appears to be the case here as well. Perhaps it could be because I ran the playbook several times before in trying to correct errors I was running into?
Anyone know how to fix?
fatal: [127.0.0.1]: FAILED! => {"actions": [{"id": "pihole-exporter", "status": "Pulling", "what": "service"}, {"id": "pihole", "status": "Pulling", "what": "service"}, {"id": "pi-hole_default", "status": "Creating", "what": "network"}, {"id": "pihole-exporter", "status": "Creating", "what": "container"}, {"id": "pihole", "status": "Creating", "what": "container"}, {"id": "pihole-exporter", "status": "Starting", "what": "container"}, {"id": "pihole", "status": "Starting", "what": "container"}], "changed": true, "cmd": "/usr/bin/docker compose --ansi never --progress plain --project-directory /root/pi-hole/ up --detach --no-color --quiet-pull --no-build --", "containers": [{"Command": "\"/s6-init\"", "CreatedAt": "2025-01-13 20:12:44 -0500 EST", "ExitCode": 0, "Health": "", "ID": "2294016955a7842fdac0397d1502b78935fc78b9200e810398c9bedca5563c24", "Image": "pihole/pihole:latest", "Labels": {"com.docker.compose.config-hash": "a1ac84c186eb0a9923085fe6662388ee6261307c285be6930410cd67b290afe6", "com.docker.compose.container-number": "1", "com.docker.compose.depends_on": "", "com.docker.compose.image": "sha256:78de8a1eefcf9777ff7199f58252bf171d082e8368b50c21bd11625877905781", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "pi-hole", "com.docker.compose.project.config_files": "/root/pi-hole/docker-compose.yml", "com.docker.compose.project.working_dir": "/root/pi-hole", "com.docker.compose.service": "pihole", "com.docker.compose.version": "2.32.3", "org.opencontainers.image.created": "2024-07-05T18:19:25.777Z", "org.opencontainers.image.description": "Pi-hole in a docker container", "org.opencontainers.image.licenses": "NOASSERTION", "org.opencontainers.image.revision": "4149693092ea364c7aab6c30ba0b308e4bc45716", "org.opencontainers.image.source": "https://github.com/pi-hole/docker-pi-hole", "org.opencontainers.image.title": "docker-pi-hole", "org.opencontainers.image.url": "https://github.com/pi-hole/docker-pi-hole", "org.opencontainers.image.version": "2024.07.0"}, "LocalVolumes": "0", "Mounts": "/root/pi-hole/etc-dnsmasq.d,/etc/localtime,/root/pi-hole/etc-pihole", "Name": "pihole", "Names": ["pihole"], "Networks": ["pi-hole_default"], "Ports": "", "Project": "pi-hole", "Publishers": [], "RunningFor": "11 seconds ago", "Service": "pihole", "Size": "0B", "State": "created", "Status": "Created"}, {"Command": "\"./pihole-exporter\"", "CreatedAt": "2025-01-13 20:12:44 -0500 EST", "ExitCode": 0, "Health": "", "ID": "a8873475e270eaa82cd2931b5082cd9572f000ced4d5d0bf224238c493bae0ac", "Image": "ekofr/pihole-exporter:latest", "Labels": {"com.docker.compose.config-hash": "b77bf2b626c8e3c821e3382df86dbbd5075c2420267a461f72848bbaad0295be", "com.docker.compose.container-number": "1", "com.docker.compose.depends_on": "", "com.docker.compose.image": "sha256:cc029b36cf79f20804f28dac947a53ec967c27db2e20445722e46168ecd87400", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "pi-hole", "com.docker.compose.project.config_files": "/root/pi-hole/docker-compose.yml", "com.docker.compose.project.working_dir": "/root/pi-hole", "com.docker.compose.service": "pihole-exporter", "com.docker.compose.version": "2.32.3", "name": "pihole-exporter"}, "LocalVolumes": "0", "Mounts": "", "Name": "pihole-exporter", "Names": ["pihole-exporter"], "Networks": ["pi-hole_default"], "Ports": "0.0.0.0:9617->9617/tcp, :::9617->9617/tcp", "Project": "pi-hole", "Publishers": [{"Protocol": "tcp", "PublishedPort": 9617, "TargetPort": 9617, "URL": "0.0.0.0"}, {"Protocol": "tcp", "PublishedPort": 9617, "TargetPort": 9617, "URL": "::"}], "RunningFor": "11 seconds ago", "Service": "pihole-exporter", "Size": "0B", "State": "running", "Status": "Up 1 second"}], "images": [{"ContainerName": "pihole", "ID": "sha256:78de8a1eefcf9777ff7199f58252bf171d082e8368b50c21bd11625877905781", "Repository": "pihole/pihole", "Size": 306001631, "Tag": "latest"}, {"ContainerName": "pihole-exporter", "ID": "sha256:cc029b36cf79f20804f28dac947a53ec967c27db2e20445722e46168ecd87400", "Repository": "ekofr/pihole-exporter", "Size": 9043968, "Tag": "latest"}], "msg": "General error: Error response from daemon: driver failed programming external connectivity on endpoint pihole (9c5edfd472fa8f90cc85a61a2e20c142af39ce01a2484532f8d2ef1654d62506): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use", "rc": 1, "stderr": " pihole-exporter Pulling \n pihole Pulling \n pihole-exporter Pulled \n pihole Pulled \n Network pi-hole_default Creating\n Network pi-hole_default Created\n Container pihole-exporter Creating\n Container pihole Creating\n Container pihole-exporter Created\n Container pihole Created\n Container pihole-exporter Starting\n Container pihole Starting\n Container pihole-exporter Started\nError response from daemon: driver failed programming external connectivity on endpoint pihole (9c5edfd472fa8f90cc85a61a2e20c142af39ce01a2484532f8d2ef1654d62506): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use\n", "stderr_lines": [" pihole-exporter Pulling ", " pihole Pulling ", " pihole-exporter Pulled ", " pihole Pulled ", " Network pi-hole_default Creating", " Network pi-hole_default Created", " Container pihole-exporter Creating", " Container pihole Creating", " Container pihole-exporter Created", " Container pihole Created", " Container pihole-exporter Starting", " Container pihole Starting", " Container pihole-exporter Started", "Error response from daemon: driver failed programming external connectivity on endpoint pihole (9c5edfd472fa8f90cc85a61a2e20c142af39ce01a2484532f8d2ef1654d62506): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use"], "stdout": "", "stdout_lines": []}
The text was updated successfully, but these errors were encountered: