Giter Site home page Giter Site logo

Comments (2)

srygaard avatar srygaard commented on May 20, 2024 3

Thanks, after running the following:

docker exec pihole touch /etc/pihole/setupVars.conf

The error then slightly changes to:

2016/10/01 21:49:52 [error] 221#221: *8 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: piholeIPv6 in /var/www/html/admin/data.php on line 3" while reading response header from upstream, client: 192.168.1.3, server: , request: "GET /admin/api.php?summary HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.10", referrer: "http://192.168.1.10/admin/"

As a workaround on my system I ran the following:

docker exec pihole /bin/sh -c "echo piholeIPv6= >> /etc/pihole/setupVars.conf"

which seems to have worked!

from docker-pi-hole.

diginc avatar diginc commented on May 20, 2024

That line 3 in data seems related to the summary of domains blocked functionality. If ipv6 is on they divide the count by two, otherwise by 1. Since that file doesn't exist in my docker yet it'll always be 1 which should be accurate because I'm pretty sure ipv6 blocking doesn't work in my docker yet (see #43). For now I think I'll touch the file and leave it empty to make the warning go away.

Thanks for the report, seems like a minor warning but I'll keep an eye out for any more other critical usages of setupVars.txt that might require I actually add variables into that file.

from docker-pi-hole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.