Pihole 5 & php 8

Pi-hole version is v5.2.4 (Latest: v5.2.4)
AdminLTE version is v5.4 (Latest: v5.4)
FTL version is v5.6 (Latest: v5.7)

Hallo,

im Raspberry-System schlägt der letzte Update-Vorgang von PiHole fehlt, weil hier php8.0-json installiert werden soll:

$ pihole -up
  [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:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 8.0.2
  [i] Performing unattended setup, no whiptail dialogs will be displayed

  [✓] 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 dhcpcd5
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for whiptail
  [✓] Checking for dnsutils

  [✓] Supported OS detected
  [i] SELinux not detected
  [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 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 libcap2
  [✓] Checking for lighttpd
  [✓] Checking for php8.0-common
  [✓] Checking for php8.0-cgi
  [✓] Checking for php8.0-sqlite3
  [✓] Checking for php8.0-xml
  [i] Checking for php8.0-json (will be installed)
  [✓] Checking for php8.0-intl
  [i] Processing apt-get install(s) for: php8.0-json, please wait...
--------------------------------------------------------------------------------
E: Für Paket »php8.0-json« existiert kein Installationskandidat.

  Unable to complete update, please contact Pi-hole Support

Auf dieser Webseite JSON extension is always available - PHP 8.0 • PHP.Watch wird erläutert, dass die Erweiterung json nicht mehr nötig ist, da diese Funktion in PHP 8.0 bereits integriert wurde.

Kann mir jemand erläutern, was geändert werden muss, damit PiHole nicht mehr versucht, die json-Erweiterung zu installieren?

Vielen Dank im voraus.

Bitte lade ein Debug Log hoch und poste hier anschliessend nur das Token.
Das Token generierst Du über

pihole -d

wobei Du die Frage nach dem Upload bejahst, oder Du machst das über die Weboberfläche:
Tools > Generate Debug Log

Hallo,

mein Token ist : https://tricorder.pi-hole.net/w2f02xs2gw

[✓] Distro:  Debian
[✓] Version: 10

Screenshot_2021-02-20 Debian -- Package Search Results -- php

Buster is PHP 7.3, which we support. We do not support 8.0 since it is not supported by Debian on Buster.

Hallo,

vielen Dank für den Hinweis.

PHP 8.0 wurde wegen eines externen Repositories automatisch installiert:

deb Index of /php/ buster main

Nachdem von PHP 8 alle Pakete deinstalliert wurden und die externe Repository entfernt wurde, trat auch kein Fehler beim PiHole-Update mehr auf.

Nach der Umstellung ist wieder "PHP 7.4" aktiv.

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