question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pi-Hole Logs at Startup

See original GitHub issue

The problem

At startup of Home Assistant, I consistently get the following logs:

Logger: hole
Source: /usr/local/lib/python3.9/site-packages/hole/__init__.py:53
First occurred: 8:06:35 PM (1 occurrences)
Last logged: 8:06:35 PM

Can not load data from *hole: pihole.domain.local

Logger: homeassistant.components.pi_hole
Source: components/pi_hole/__init__.py:115
Integration: Pi-hole (documentation, issues)
First occurred: 8:06:35 PM (1 occurrences)
Last logged: 8:06:35 PM

Failed to connect: Can not load data from *hole: pihole.domain.local

Then 4 seconds later


Logger: homeassistant.config_entries
Source: config_entries.py:366
First occurred: 8:06:35 PM (2 occurrences)
Last logged: 8:06:39 PM

Config entry 'Pi-Hole' for pi_hole integration not ready yet: Can not load data from *hole: pihole.domain.local; Retrying in background

The configuration does work. Name resolution is fine (as metioned in other closed issues). Eventually everything does appear. Under Settings Info, Pi-hole takes 25.84 seconds for Setup Time. Don’t think that anything is necessarily wrong with the integration because it does eventually load, I get all my sensors, but perhaps a delay to start so that the error doesn’t come up? Especially since eventually it does work. Didn’t see a report of this, so wanted to log it. Thanks!

What version of Home Assistant Core has the issue?

core-2002.3.8

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

pi-hole

Link to integration documentation on our website

https://www.home-assistant.io/integrations/pi_hole

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Gloomyeyecommented, Aug 19, 2022

This issue still exists in core-2022.8.6.

0reactions
github-actions[bot]commented, Aug 19, 2022

There hasn’t been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I watch and interpret the pihole.log file? - FAQs
Use this command to watch the log file in real time: pihole -t. which is just a short version of sudo tail -F...
Read more >
GUIDE: How to clear all pi-hole logs : r/pihole - Reddit
Start Pi-Hole FTL. service pihole-FTL start. Let run for a bit and check db is populating. sqlite3 /etc/pihole/pihole-FTL.
Read more >
The first ever issue with my Pi-hole, and I don't know what ...
In short, it's a DNS server that runs inside your house on a Raspberry Pi. The cool part is that it's super simple...
Read more >
Pi-hole - ArchWiki
Note: To disable logging, see #Disable query logging. pihole-FTL.service is statically enabled; re/start it. For FTL configuration, see upstream ...
Read more >
Pi-hole Quick Reference Commands - Adamsdesk KB
Configuration¶ ; Disable Log, pihole -l off, Disable and empty log entries in /var/log/pihole.log . ; Enable Log, pihole -l on, Enable logging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found