Pi-Hole v5.11.4 won't update -g

I have issues with my pihole.
It wont update after a new install.

It also wont Upload debug log.

And i cannot post my pihole -d here.

Sorry, new users can't mention other users.
Sorry, new users can only put 5 links in a post.

Change nameserver in /etc/resolv.conf to something like 8.8.8.8 and try again.

Generated by resolvconf
nameserver fe80::::****:1694%eth0

If i replace the fe80::*. to nameserver 8.8.8.8 and try pihole -g after a reboot, nothing happens .




pi@raspberrypi:~ $ pihole -g
  [i] Neutrino emissions detected...
  [✓] Pulling blocklist source list into range

  [✓] Preparing new gravity database
  [i] Using libz compression

  [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available

[✓] Creating new gravity databases
  [✓] Storing downloaded domains in new gravity database
  [✓] Building tree
  [✓] Swapping databases
  [✓] The old database remains available.
  [i] Number of gravity domains: 0 (0 unique domains)
  [i] Number of exact blacklisted domains: 0
  [i] Number of regex blacklist filters: 0
  [i] Number of exact whitelisted domains: 0
  [i] Number of regex whitelist filters: 0
  [✓] Flushing DNS cache
  [✓] Cleaning up stray matter

  [✓] FTL is listening on port 53
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled.



pi@raspberrypi:~ $ pihole -up
  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 7.4.30
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for dialog
  [✓] Checking for ca-certificates

  [i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Could not resolve host: github.com
  [i] Pi-hole Core:     up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Could not resolve host: github.com
  [i] Web Interface:    up to date
  [i] FTL:              update available

  [i] FTL out of date, it will be updated by the installer.

  [✓] Root user check

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [i] SELinux not detected
  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 7.4.30

  [✓] Checking apt-get for upgraded packages... up to date!

  [i] Checking for / installing Required dependencies for OS Check...
  [✓] Checking for grep
  [✓] Checking for dnsutils

  [✗] Retrieval of supported OS list failed. dig failed with return code 10.
      Unable to determine if the detected OS (Raspbian 11) is supported
      Possible causes for this include:
        - Firewall blocking certain DNS lookups from Pi-hole device
        - ns1.pi-hole.net being blocked (required to obtain TXT record from versions.pi-hole.net containing supported operating systems)
        - Other internet connectivity issues

      https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems

      If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:

      e.g: If you are seeing this message on a fresh install, you can run:
             curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash

           If you are seeing this message after having run pihole -up:
             sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
           (In this case, your previous run of pihole -up will have already updated the local repository)

      It is possible that the installation will still fail at this stage due to an unsupported configuration.
      If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
      https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/


  Unable to complete update, please contact Pi-hole Support
pi@raspberrypi:~ $

Do you have any firewall rules actived on your router. Do you block port 53 outbound?

Why are you rebooting? This is reverting the nameserver change you made.

1 Like

I normaly reboot every 1 month all my systems.
So every time i made a reboot on my Pi4 Pi-Hole i need to edit this resolv.conf file. That's strange.

But indeed the updates did work after changing the nameserver in resolv.conf to 8.8.8.8 without rebooting.

I have very basic knowledge about Raspbian, so please excuse me for that. I'm just trying to learn something new.

I still find it odd that i need edit this file every time for the next future to get updates.

That is not strange. File /etc/resolv.conf is not a source file, it is typically populated from another file. As an example, in Raspbian Bullseye, the file reads as follows:

cat /etc/resolv.conf
# Generated by dhcpcd from enxb827eb0c8c4f.dhcp
# /etc/resolv.conf.head can replace this line
nameserver 1.0.0.1
nameserver 1.1.1.1
# /etc/resolv.conf.tail can replace this line

The source file in this case is /etc/dhcpcd.conf, which contains the following entry for that interface:

interface enxb827eb0c8c4f
   static ip_address=192.168.0.155/24
   static routers=192.168.0.1
   static domain_name_servers=1.0.0.1 1.1.1.1

ok thanks.

Ill leave it by this.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.