Pihole not able to update

Please follow the below template, it will help us to help you!

Expected Behaviour:

pihole should update from raspiban and pihole servers, it should allow other devices to get ip lookups.

Actual Behaviour:

After a long run without any issues, suddenly things seem to have gone wrong......

Pihole cannot connect to raspbian or pihole servers. (ping servers from my laptop works OK)
No other devices can update when using pihole as dns server.
Gravity update fails.
pihole-d freezes at *** [ DIAGNOSING ]: Dashboard and block page ----- So no debug log available.

 ip -4 route
default via 192.168.1.254 dev eth0 src 192.168.1.31 metric 202
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.31 metric 202

So the above looks OK to me....I am confused as to what has happened....This tells me to contact pihole support...

 pihole -up
  [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] Existing PHP installation detected : PHP version 7.0.33-0+deb9u3
  [i] Performing unattended setup, no whiptail dialogs will be displayed
  [✓] Disk space check
  [✓] Update local cache of available packages

  [✓] Checking apt-get for upgraded packages... 3 updates available
  [i] It is recommended to update your OS after installing the Pi-hole!

  [i] Installer Dependency checks...
  [✓] Checking for apt-utils
  [✓] Checking for dialog
  [✓] Checking for debconf
  [✓] Checking for dhcpcd5
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for whiptail

  [i] Performing reconfiguration, skipping download of local repos
  [✓] Resetting repository within /etc/.pihole...
  [✓] Resetting repository within /var/www/html/admin...
  [i] Main Dependency checks...
  [✓] Checking for cron
  [✓] Checking for curl
  [✓] Checking for dnsutils
  [✓] Checking for iputils-ping
  [✓] Checking for lsof
  [✓] Checking for netcat
  [✓] Checking for psmisc
  [✓] Checking for sudo
  [✓] Checking for unzip
  [✓] Checking for wget
  [✓] Checking for idn2
  [✓] Checking for sqlite3
  [✓] Checking for libcap2-bin
  [✓] Checking for dns-root-data
  [✓] Checking for resolvconf
  [✓] Checking for libcap2
  [✓] Checking for lighttpd
  [✓] Checking for php7.0-common
  [✓] Checking for php7.0-cgi
  [✓] Checking for php7.0-sqlite3

  [✓] Enabling lighttpd service to start on reboot...

  [i] FTL Checks...

  [✓] Detected ARM-hf architecture (armv6 or lower) Using ARM binary
  [i] Checking for existing FTL binary...
  [✗] Downloading and Installing FTL
  Error: Unable to get latest release location from GitHub
  [✗] FTL Engine not installed

  Unable to complete update, please contact Pi-hole Support

Debug Token:

pihole-d freezes at *** [ DIAGNOSING ]: Dashboard and block page ----- So no debug log available.

By changing address in hosts file from 127.0.0.1 to 1.1.1.1 I was able to update successfully.....

Now I can also generate a debug token.....

https://tricorder.pi-hole.net/npejktyvsp

Things seem to be working OK now, but if someone would be so kind as to have a quick look over the log, then that would be great.

You have a few issues in your log:

  2019-06-28 14:51:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  shell_exec(): Unable to execute 'nproc' in /var/www/html/admin/scripts/pi-hole/php/header.php on line 78
  2019-06-28 14:51:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  shell_exec(): Unable to execute 'pidof pihole-FTL' in /var/www/html/admin/scripts/pi-hole/php/header.php on line 150
  2019-06-28 14:51:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  exec(): Unable to fork [sudo pihole status web] in /var/www/html/admin/scripts/pi-hole/php/header.php on line 326

  [✗] Jun 30 13:58:48 dnsmasq[634]: bad address at /etc/hosts line 2 (https://discourse.pi-hole.net/t/why-do-i-see-bad-address-at-in-pihole-log/3972)

The first few are operating system level errors, and the last one is a warning due to a misconfigured config.

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