chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.08k stars 282 forks source link

Pulled new image, can no longer access Pihole GUI; DNS lookups fail #69

Closed wilberfan closed 3 years ago

wilberfan commented 3 years ago

Used Portainer to 'recreate' my working pihole-unbound setup while pulling the new image--and I can no longer access pihole gui, and DNS lookups fail. Portainer indicates "running" (pihole-unbound one-container).

Are updates inside Portainer not recommended or...?

bclevering commented 3 years ago

@chriscrowe Here the same problem:

The logfile states the following:

[1630054601] unbound[20:0] warning: so-rcvbuf 1048576 was not granted. Got 360448. To fix: start with root permissions(linux) or sysctl bigger net.core.rmem_max(linux) or kern.ipc.maxsockbuf(bsd) values. Starting DNS server: unbound. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 20-start.sh: executing... /start.sh: line 57: /root/ph_install.sh: No such file or directory [cont-init.d] 20-start.sh: exited 1. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. ./start_unbound_and_s6_init.sh: line 3: 25 Hangup /s6-init

chriscrowe commented 3 years ago

There's some discussion about this ph_install.sh error here:

https://discourse.pi-hole.net/t/pihole-portainer-docker-5-8-1-startup-error/48722

Looks like maybe you need to clear out some environment variables?

bclevering commented 3 years ago

indeed! that worked for me;

I removed the following variables (from within portainer) and restarted: