chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.06k stars 275 forks source link

Failed Upgrading to 2022.05 #136

Closed agponte closed 2 years ago

agponte commented 2 years ago

I'm currently running with 2022.02.1 and it's working fine, but I figured I'd upgrade while doing maintenance. This is a personal installation at home and I have noting requiring the upgrade.

When I pull the latest from dockerhub and pihole/unbound come up, I get a repeating of these errors:

und[737:0] warning: so-rcvbuf 2097152 was not granted. Got 425984. To fix: start with root permissions(linux) or sysctl bigger net.core.rmem_max(linux) or kern.ipc.maxsockbuf(bsd) values.
pihole    | [1655787028] unbound[737:0] error: can't bind socket: Cannot assign requested address for ::1 port 8953
pihole    | [1655787028] unbound[737:0] error: cannot open control interface ::1 8953
pihole    | [1655787028] unbound[737:0] fatal error: could not open ports
pihole    | Starting unbound

There isn't an existing 8953 listener on the host and 8953 isn't found in my YAML. The one curious thing is the reference to ::1 when my environment has IPv6 set to false.

Anyone else seen this or know how to fix it?

agponte commented 2 years ago

Before closing I wanted to document the fix. I modified /etc/unbound/unbound.conf.d/pi-hole.conf setting do-ip6 to false, then restarted and all was well.