Cannot update pi-hole

I am unable to update pi-hole. I followed some directions from some of the similar requests for assistance but they did not resolve my problem.

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

Expected Behaviour:

pi-hole should update if an update is available

Actual Behaviour:

I receive an error noting that pi-hole could not be updated and to contact support

Debug Token:

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

You are running with nginx and that is not our web server.

Right - I'm running multiple things on my raspberry pi. nginx serves a website. If I use nginx (and not lighthttpd) does that preclude me from being able to update pi-hole?

Please share the full output of the updater so we know exactly what error you are running into.

Note that because we only support lighttpd at the moment, we can not guarantee that the update will work if you change the web server.

Sorry for the delay -

  [i] Checking for updates...
  [i] Pi-hole Core:	up to date
  [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.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7
  [i] Performing unattended setup, no whiptail dialogs will be displayed
  [✓] Disk space check
  [i] Update local cache of available packages...
e[K  [✓] Update local cache of available packages

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

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

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

  Unable to complete update, please contact Pi-hole Support

The installer failed to install lighttpd, so it quit. That package needs to be install-able for the installer to continue.

Could changing below setting fix the nginx issue ?

pi@noads:~ $ cat /etc/pihole/setupVars.conf
[..]
INSTALL_WEB_SERVER=true

EDIT: most likely apt isn't up to date causing lighttpd install to fail.

sudo apt update

1 Like

cat /etc/pihole/setupVars.conf
[..]
INSTALL_WEB_SERVER=true

This was very helpful and lead to resolving my issue. I set the following values.

INSTALL_WEB_SERVER=false
LIGHTTPD_ENABLED=false

Thank you!

1 Like

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