Pihole update terminated with error and asks me to contact support

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

Expected Behaviour:

After starting "pihole -up" I expected that my pihole installtion would upgrade to v5.0

Actual Behaviour:

The operation terminated before finishing successfully with the following notification:
Last login: Tue Jun 2 11:02:38 on ttys000
:
pi@raspberrypi:~ $ pihole -up

  [i] Checking for updates...
  [i] Pi-hole Core:	update available
  [i] Web Interface:	update available
  [i] FTL:		update available

  [i] Pi-hole core files out of date, updating local repo.
  [✓] Check for existing repository in /etc/.pihole
  [✓] Update repo in /etc/.pihole

  [i] If you had made any changes in '/etc/.pihole/', they have been stashed using 'git stash'

  [i] Pi-hole Web Admin files out of date, updating local repo.
  [✓] Check for existing repository in /var/www/html/admin
  [✓] Update repo in /var/www/html/admin

  [i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'

  [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+deb9u7
  [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... 21 updates available
  [i] It is recommended to update your OS after installing the Pi-hole!

  [i] Installer Dependency checks...
  [i] Checking for dhcpcd5 (will be installed)
  [i] Checking for git (will be installed)
  [i] Checking for iproute2 (will be installed)
  [i] Checking for whiptail (will be installed)
  [i] Processing apt-get install(s) for: dhcpcd5 git iproute2 whiptail, please wait...
--------------------------------------------------------------------------------
Reading package lists... Done
Building dependency tree       
Reading state information... Done
iproute2 is already the newest version (4.9.0-1+deb9u1).
whiptail is already the newest version (0.52.19-1).
dhcpcd5 is already the newest version (1:6.11.5-1+rpt7).
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-cvs git-mediawiki git-svn
The following packages will be upgraded:
  git
1 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/3,393 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
apt-listchanges: Reading changelogs...
dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'libc6-dbg:armhf': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)

  Unable to complete update, please contact Pi-hole Support

pi@raspberrypi:~ $

Most pages don't work properly now. Dashboard shows nothing, Query Log throws "an unknown error occured while loading the data", Long term data shows nothing, ....

Running pihole -v shows:

  Pi-hole version is v5.0 (Latest: v5.0)
  AdminLTE version is v5.0 (Latest: v5.0)
  FTL version is v4.3.1 (Latest: v5.0)

Debug Token:

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

Please run

sudo apt update
sudp apt upgrade

ok. I ran both commands and they completed successfully! What is next?
Just run "pihole -up" again?

Yes, try it.

Everything is ok again. This issue can be closed!

Please mark as "Solution"

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