-
Versions
Platform
Expected behaviorPihole service should start. Actual behavior / bugStartup script fails with:
Steps to reproduceRun pihole using Debug TokenI couldn't capture the debug as the image crashed ScreenshotsIf applicable, add screenshots to help explain your problem. Additional contextAt first I thought it was a bad pihole update, but turns out it's a breaking |
Beta Was this translation helpful? Give feedback.
Replies: 18 comments 72 replies
-
Hi, Environment Log output
|
Beta Was this translation helpful? Give feedback.
-
Confirmed on both Raspi 4B (running bullseye light) and on OMV6 (on a Mac mini) |
Beta Was this translation helpful? Give feedback.
-
I had the same problem. Found I could get DNS working if I removed:
from my
However; I also use the pihole or DHCP and that would fail. I had to disable that to get things started. The DHCP would fail with:
I already had:
set in the compose file. I tried a few others Ended up disabling the docker container for now and installed manually which worked. |
Beta Was this translation helpful? Give feedback.
-
Same problem here.
|
Beta Was this translation helpful? Give feedback.
-
If you set the pihole uid/gid to 0 it will come up. Docker must have changed some permissions management for network. |
Beta Was this translation helpful? Give feedback.
-
Variable done work now ;) -e PIHOLE_UID=0 \ |
Beta Was this translation helpful? Give feedback.
-
Reading a bit I'm not sure why we never needed cap NET_BIND_SERVICE before. I think that maybe what is needed but I'm busy and don't want to take my network down again. Will try later tonight. |
Beta Was this translation helpful? Give feedback.
-
I'm not going to be able to troubleshoot this much, I'm currently on lunch at work and then away for the weekend... But can someone try setting the env var |
Beta Was this translation helpful? Give feedback.
-
This worked for me! |
Beta Was this translation helpful? Give feedback.
-
I can also confirm this issue. Fortunately I'm running two instances in my network in a docker cluster and only updated one at a time. 20.10.12 still works absolutely fine, 20.10.14 throws the above errors in pihole-FTL logs (and not much at all in docker logs) I've deleted and re-created docker containers, volumes and services (stack) completely and verified image hash is the same on both hosts. I use Host network as well, otherwise I wouldn't know which devices on my network are which (for stats). Per Docker docs, Setting |
Beta Was this translation helpful? Give feedback.
-
This helped. Pi Hole is running again. Thanks |
Beta Was this translation helpful? Give feedback.
-
Tests OK with
work too same
|
Beta Was this translation helpful? Give feedback.
-
@DFlexy 's answer is acceptable as a temporary workaround, but seeing as in the past Pi-Hole tried to take up as little permissions as necessary it's counterproductive to let everything run as root. Earlier I opened up an issue with Docker, where someone pointed me in the right direction. Maybe the comment might help fix the underlying issue: moby/moby#43420 (comment) The following is a quote from the comment:
|
Beta Was this translation helpful? Give feedback.
-
Update April 25th:Due to a known issue with Docker and libseccomp <2.5, you may run into issues running The first recommendation is to upgrade your host OS, which will include a more up to date (and fixed) version of If you absolutely cannot do this, some users have reported success in updating April 2nd: There is a new image March 30th at 1210: The latest fixes are now in the Edit: With the root workarounds removed of course. Edit2: This is the moby issue tracking the changes to Docker that looks to be the cause of this issue; |
Beta Was this translation helpful? Give feedback.
-
Why is this a discussion which is marked as answered? This is a bug which is definitely not fixed. |
Beta Was this translation helpful? Give feedback.
-
Tests now for u ;)
My code:
|
Beta Was this translation helpful? Give feedback.
-
Still not working... Even in the current dev. -.- |
Beta Was this translation helpful? Give feedback.
-
Locking this thread as it is now resolved. |
Beta Was this translation helpful? Give feedback.
Update April 25th:
Due to a known issue with Docker and libseccomp <2.5, you may run into issues running
2022.04
and later on host systems with an older version oflibseccomp2
(Such as Debian/Raspbian buster or Ubuntu 20.04, and maybe CentOS 7).The first recommendation is to upgrade your host OS, which will include a more up to date (and fixed) version of
libseccomp
.If you absolutely cannot do this, some users have reported success in updating
libseccomp2
via backports on debian, or similar via updates on Ubuntu. You can try this workaround at your own riskApril 2nd: There is a new image
2022.04.2beta
. Can you folks try it and see if it's working for you?March 30th at 1210: The lates…