-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
docker version tag > 2021.11: ERROR: ServerIPv6 Environment variable (X:X:X:X:X:X:X:X) doesn't appear to be a valid IPv6 address #961
Comments
Without seeing the value of the envar entry or the docker-compose file, it's hard to troubleshoot. |
Hi Dan, I cannot show you my public IPv6 address but she is normal, I just upgrade the version of the docker image from v2021.11 to v2021.12, an error is raising and the container did not start anymore. Regards, |
Also the docker container logs output.
|
Here is where the checks are failing (line 65) : docker-pi-hole/bash_functions.sh Lines 65 to 69 in 9a9ee41
This code has not been touched for a couple of years, so nothing should have changed here between the two tagged versions. I can maybe suggest running those two checks manually on the CLI, and from within the container to see if that gives you any clues, but it looks as though maybe it's a networking issue - as opposed to an issue with the IP string you are passing in |
Hi, I did some tests and I think the Lines 1 to 3 in b0a5a0f
|
Oh, yes of course - egg on my face! It was removed from the core Pi-hole install script (although it will be re-added for the next release), and so it does not get installed when it runs in the docker build script. I'll add it to the base image and tag a new container asap |
Signed-off-by: Adam Warner <[email protected]>
Happens ! |
With me what made it work was that my ENV was using 'ServerIP' and 'ServerIPv6' and i read in the README.md that they were going to be deprecated so i changed them into 'FTLCONF_REPLY_ADDR4' and 'FTLCONF_REPLY_ADDR6' But right before that i also did this: https://docs.docker.com/config/daemon/ipv6/ 'Enable IPv6 support' Also want to point i'm a total newb so i only half understood what i did. But it did work so i'm happy. |
This should be fixed in the latest image. ServerIP and ServerIPv6 will be deprecated at some point, just need to face the task of going through and untangling them from the rest of the image... (per #956) |
Using Replacing |
I replace them and works with image tag 2022.01.1. |
Versions
Platform
Expected behavior
Start Pi-hole container with IPv6 support.
Actual behavior / bug
Steps to reproduce
Steps to reproduce the behavior:
ServerIPv6
The text was updated successfully, but these errors were encountered: