Skip to content
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

Pihole stop working at all after reboot. Can't access internet by itself #5594

Open
GAS85 opened this issue Mar 1, 2024 · 4 comments
Open
Labels

Comments

@GAS85
Copy link

GAS85 commented Mar 1, 2024

Versions

  • Pi-hole: 5.9
  • AdminLTE: -1
  • FTL: 5.14

Platform

  • OS and version: Ubuntu 22.04
  • Platform: Baremetal

Expected behavior

After reboot Pihole can work as expected.

Actual behavior / bug

After reboot Pihole can't update Gravity -- all connections were refused. It didn't answer to any requests, all of them were refused.
All dig commands finished with an error. If I use external DNS server, e.g. dig @8.8.8.8 google.com it was ok.
Here is debug log: https://sitnikov.eu/pastebin/J21uAtL_nIILL_Xl0boxs

Only what helped is to update netplan and add there google DNS:

network:
  version: 2
  ethernets:
    enp5s0:
      addresses:
      - "192.168.0.9/24"
      nameservers:
        addresses:
        - 192.168.0.9 # This is Pihole Server
        - 8.8.8.8     # This what I add to solve the issue.
        search:
        - fritz.box
      gateway4: 192.168.0.1

And Pihole Diagnosis is full of following error:

2024-03-01 23:12:06	DNSMASQ_WARN	Warning in dnsmasq core:

ignoring nameserver 192.168.0.9 - local interface

Check out [our documentation](https://docs.pi-hole.net/ftldns/dnsmasq_warn/) for further information.

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Debug Token

Screenshots

изображение

@GAS85
Copy link
Author

GAS85 commented Mar 1, 2024

IDK why it was broken, but basically I tires pihole -r, but repair fails with an error Unable to reset /var/www/html/admin, exiting installer. This was "expected" as I do use my own webserver.
However I run it again and select "reconfigure" goes over wizard with no changes done, all defaults and pihole seems working again. From this point of view Ticket could be closed, however if you still have time to check logs to understand why it happens and how to avoid it. I will appreciate it. 🍺

Copy link

github-actions bot commented Apr 1, 2024

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

@github-actions github-actions bot added the stale label Apr 1, 2024
@GAS85
Copy link
Author

GAS85 commented Apr 1, 2024

Still valid.

@github-actions github-actions bot removed the stale label Apr 1, 2024
Copy link

github-actions bot commented May 2, 2024

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

@github-actions github-actions bot added the stale label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant