Same thing...
+ readonly PI_HOLE_SCRIPT_DIR=/opt/pihole
+ PI_HOLE_SCRIPT_DIR=/opt/pihole
+ setupVars=/etc/pihole/setupVars.conf
+ PI_HOLE_BIN_DIR=/usr/local/bin
+ readonly FTL_PID_FILE=/run/pihole-FTL.pid
+ FTL_PID_FILE=/run/pihole-FTL.pid
+ readonly colfile=/opt/pihole/COL_TABLE
+ colfile=/opt/pihole/COL_TABLE
+ source /opt/pihole/COL_TABLE
++ [[ -t 1 ]]
+++ tput colors
++ [[ 256 -ge 8 ]]
++ COL_BOLD=''
++ COL_ULINE=''
++ COL_NC=''
++ COL_GRAY=''
++ COL_RED=''
++ COL_GREEN=''
++ COL_YELLOW=''
++ COL_BLUE=''
++ COL_PURPLE=''
++ COL_CYAN=''
++ COL_WHITE=''
++ COL_BLACK=''
++ COL_LIGHT_BLUE=''
++ COL_LIGHT_GREEN=''
++ COL_LIGHT_CYAN=''
++ COL_LIGHT_RED=''
++ COL_URG_RED=''
++ COL_LIGHT_PURPLE=''
++ COL_BROWN=''
++ COL_LIGHT_GRAY=''
++ COL_DARK_GRAY=''
++ TICK='[✓]'
++ CROSS='[✗]'
++ INFO='[i]'
++ QST='[?]'
++ DONE=' done!'
++ OVER='\r'
+ utilsfile=/opt/pihole/utils.sh
+ source /opt/pihole/utils.sh
+ [[ 2 = 0 ]]
+ case "${1}" in
+ [[ ! 0 -eq 0 ]]
+ case "${1}" in
+ webpageFunc -a -t
+ source /opt/pihole/webpage.sh
++ readonly dnsmasqconfig=/etc/dnsmasq.d/01-pihole.conf
++ dnsmasqconfig=/etc/dnsmasq.d/01-pihole.conf
++ readonly dhcpconfig=/etc/dnsmasq.d/02-pihole-dhcp.conf
++ dhcpconfig=/etc/dnsmasq.d/02-pihole-dhcp.conf
++ readonly FTLconf=/etc/pihole/pihole-FTL.conf
++ FTLconf=/etc/pihole/pihole-FTL.conf
++ readonly dhcpstaticconfig=/etc/dnsmasq.d/04-pihole-static-dhcp.conf
++ dhcpstaticconfig=/etc/dnsmasq.d/04-pihole-static-dhcp.conf
++ readonly dnscustomfile=/etc/pihole/custom.list
++ dnscustomfile=/etc/pihole/custom.list
++ readonly dnscustomcnamefile=/etc/dnsmasq.d/05-pihole-custom-cname.conf
++ dnscustomcnamefile=/etc/dnsmasq.d/05-pihole-custom-cname.conf
++ readonly gravityDBfile=/etc/pihole/gravity.db
++ gravityDBfile=/etc/pihole/gravity.db
++ readonly PI_HOLE_FILES_DIR=/etc/.pihole
++ PI_HOLE_FILES_DIR=/etc/.pihole
++ PH_TEST=true
++ source '/etc/.pihole/automated install/basic-install.sh'
+++ set -e
+++ export PATH+=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ PATH+=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ : 0
+++ : 1
+++ : 255
++++ cat
+++ DNS_SERVERS='Google (ECS, DNSSEC);8.8.8.8;8.8.4.4;2001:4860:4860:0:0:0:0:8888;2001:4860:4860:0:0:0:0:8844
OpenDNS (ECS, DNSSEC);208.67.222.222;208.67.220.220;2620:119:35::35;2620:119:53::53
Level3;4.2.2.1;4.2.2.2;;
Comodo;8.26.56.26;8.20.247.20;;
DNS.WATCH (DNSSEC);84.200.69.80;84.200.70.40;2001:1608:10:25:0:0:1c04:b12f;2001:1608:10:25:0:0:9249:d69b
Quad9 (filtered, DNSSEC);9.9.9.9;149.112.112.112;2620:fe::fe;2620:fe::9
Quad9 (unfiltered, no DNSSEC);9.9.9.10;149.112.112.10;2620:fe::10;2620:fe::fe:10
Quad9 (filtered, ECS, DNSSEC);9.9.9.11;149.112.112.11;2620:fe::11;2620:fe::fe:11
Cloudflare (DNSSEC);1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001'
+++ installLogLoc=/etc/pihole/install.log
+++ setupVars=/etc/pihole/setupVars.conf
+++ lighttpdConfig=/etc/lighttpd/lighttpd.conf
+++ coltable=/opt/pihole/COL_TABLE
+++ webroot=/var/www/html
+++ webInterfaceGitUrl=https://github.com/pi-hole/AdminLTE.git
+++ webInterfaceDir=/var/www/html/admin
+++ piholeGitUrl=https://github.com/pi-hole/pi-hole.git
+++ PI_HOLE_LOCAL_REPO=/etc/.pihole
+++ PI_HOLE_FILES=(chronometer list piholeDebug piholeLogFlush setupLCD update version gravity uninstall webpage)
+++ PI_HOLE_INSTALL_DIR=/opt/pihole
+++ PI_HOLE_CONFIG_DIR=/etc/pihole
+++ PI_HOLE_BIN_DIR=/usr/local/bin
+++ PI_HOLE_BLOCKPAGE_DIR=/var/www/html/pihole
+++ '[' -z '' ']'
+++ useUpdateVars=false
+++ adlistFile=/etc/pihole/adlists.list
+++ IPV4_ADDRESS=
+++ IPV6_ADDRESS=
+++ QUERY_LOGGING=true
+++ INSTALL_WEB_INTERFACE=true
+++ PRIVACY_LEVEL=0
+++ CACHE_SIZE=10000
+++ '[' -z root ']'
+++ r=20
+++ c=70
+++ reconfigure=false
+++ runUnattended=false
+++ INSTALL_WEB_SERVER=true
+++ for var in "$@"
+++ case "$var" in
+++ for var in "$@"
+++ case "$var" in
+++ [[ -f /opt/pihole/COL_TABLE ]]
+++ source /opt/pihole/COL_TABLE
++++ [[ -t 1 ]]
+++++ tput colors
++++ [[ 256 -ge 8 ]]
++++ COL_BOLD=''
++++ COL_ULINE=''
++++ COL_NC=''
++++ COL_GRAY=''
++++ COL_RED=''
++++ COL_GREEN=''
++++ COL_YELLOW=''
++++ COL_BLUE=''
++++ COL_PURPLE=''
++++ COL_CYAN=''
++++ COL_WHITE=''
++++ COL_BLACK=''
++++ COL_LIGHT_BLUE=''
++++ COL_LIGHT_GREEN=''
++++ COL_LIGHT_CYAN=''
++++ COL_LIGHT_RED=''
++++ COL_URG_RED=''
++++ COL_LIGHT_PURPLE=''
++++ COL_BROWN=''
++++ COL_LIGHT_GRAY=''
++++ COL_DARK_GRAY=''
++++ TICK='[✓]'
++++ CROSS='[✗]'
++++ INFO='[i]'
++++ QST='[?]'
++++ DONE=' done!'
++++ OVER='\r'
+++ [[ '' != true ]]
+++ main -a -t
+++ local 'str=Root user check'
+++ printf '\n'
+++ [[ 0 -eq 0 ]]
+++ printf ' %b %s\n' '[✓]' 'Root user check'
[✓] Root user check
+++ show_ascii_berry
+++ echo -e '
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'\''ccll:;ll .oooodc
.;cll.;;looo:.
.. '\'','\''.
.'\'',,,,,,'\''.
.'\'',,,,,,,,,,.
.'\'',,,,,,,,,,,,....
....'\'''\'''\'',,,,,,,'\''.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'\''......
....'\'',,,,,,,,,,,,.
.'\'',,,,,,,,,'\''.
.'\'',,,,,,'\''.
..'\'''\'''\''.
'
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
+++ make_temporary_log
++++ mktemp /tmp/pihole_temp.XXXXXX
+++ TEMPLOG=/tmp/pihole_temp.Gmfe9o
+++ exec
+++ rm /tmp/pihole_temp.Gmfe9o
+++ checkSelinux
+++ local DEFAULT_SELINUX
+++ local CURRENT_SELINUX
+++ local SELINUX_ENFORCING=0
+++ [[ -f /etc/selinux/config ]]
+++ echo -e ' [i] SELinux not detected'
[i] SELinux not detected
+++ [[ 0 -eq 1 ]]
+++ [[ 0 -eq 1 ]]
+++ package_manager_detect
+++ is_command apt-get
+++ local check_command=apt-get
+++ command -v apt-get
+++ PKG_MANAGER=apt-get
+++ UPDATE_PKG_CACHE='apt-get update'
+++ PKG_INSTALL=("${PKG_MANAGER}" -qq --no-install-recommends install)
+++ PKG_COUNT='apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+++ update_package_cache
+++ local 'str=Update local cache of available packages'
+++ printf ' %b %s...' '[i]' 'Update local cache of available packages'
[i] Update local cache of available packages...+++ eval 'apt-get update'
+++ printf '%b %b %s\n' '\r' '[✓]' 'Update local cache of available packages'
[✓] Update local cache of available packages
+++ local phpVer=php
+++ is_command php
+++ local check_command=php
+++ command -v php
++++ php
+++ phpVer=7.0.33-0+deb9u12
+++ [[ 7 =~ [1-9] ]]
+++ printf ' %b Existing PHP installation detected : PHP version %s\n' '[i]' 7.0.33-0+deb9u12
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u12
++++ php
+++ printf -v phpInsMajor %d 7
++++ php
+++ printf -v phpInsMinor %d 0
+++ phpVer=php7.0
+++ OS_CHECK_DEPS=(grep dnsutils)
+++ INSTALLER_DEPS=(git iproute2 dialog ca-certificates)
+++ PIHOLE_DEPS=(cron curl iputils-ping psmisc sudo unzip idn2 libcap2-bin dns-root-data libcap2 netcat-openbsd procps)
+++ PIHOLE_WEB_DEPS=(lighttpd "${phpVer}-common" "${phpVer}-cgi" "${phpVer}-sqlite3" "${phpVer}-xml" "${phpVer}-intl")
+++ [[ -z 7 ]]
+++ [[ 7 -lt 8 ]]
+++ PIHOLE_WEB_DEPS+=("${phpVer}-json")
+++ LIGHTTPD_USER=www-data
+++ LIGHTTPD_GROUP=www-data
+++ LIGHTTPD_CFG=lighttpd.conf.debian
+++ notify_package_updates_available
+++ local 'str=Checking apt-get for upgraded packages'
+++ printf '\n %b %s...' '[i]' 'Checking apt-get for upgraded packages'
[i] Checking apt-get for upgraded packages...++++ eval 'apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+++++ apt-get -s -o Debug::NoLocking=true upgrade
+++++ grep -c '^Inst'
+++++ true
+++ updatesToInstall=0
++++ uname -r
+++ [[ -d /lib/modules/5.15.53-v7+ ]]
+++ [[ 0 -eq 0 ]]
+++ printf '%b %b %s... up to date!\n\n' '\r' '[✓]' 'Checking apt-get for upgraded packages'
[✓] Checking apt-get for upgraded packages... up to date!
+++ printf ' %b Checking for / installing Required dependencies for OS Check...\n' '[i]'
[i] Checking for / installing Required dependencies for OS Check...
+++ install_dependent_packages grep dnsutils
+++ declare -a installArray
+++ is_command apt-get
+++ local check_command=apt-get
+++ command -v apt-get
+++ for i in "$@"
+++ printf ' %b Checking for %s...' '[i]' grep
[i] Checking for grep...+++ dpkg-query -W '-f=${Status}' grep
+++ grep 'ok installed'
+++ printf '%b %b Checking for %s\n' '\r' '[✓]' grep
[✓] Checking for grep
+++ for i in "$@"
+++ printf ' %b Checking for %s...' '[i]' dnsutils
[i] Checking for dnsutils...+++ dpkg-query -W '-f=${Status}' dnsutils
+++ grep 'ok installed'
+++ printf '%b %b Checking for %s\n' '\r' '[✓]' dnsutils
[✓] Checking for dnsutils
+++ [[ 0 -gt 0 ]]
+++ printf '\n'
+++ return 0
+++ os_check
+++ '[' '' '!=' true ']'
+++ local remote_os_domain valid_os valid_version valid_response detected_os detected_version display_warning cmdResult digReturnCode response
+++ remote_os_domain=versions.pi-hole.net
++++ grep '^ID=' /etc/os-release
++++ cut -d = -f2
++++ tr -d '"'
+++ detected_os=raspbian
++++ grep VERSION_ID /etc/os-release
++++ cut -d = -f2
++++ tr -d '"'
+++ detected_version=9
++++ dig +short -t txt versions.pi-hole.net @ns1.pi-hole.net
++++ echo 0
+++ cmdResult='"Raspbian=10,11 Ubuntu=18,20,21,22 Debian=10,11 Fedora=34 CentOS=7,8 Rocky=8"
0'
+++ digReturnCode=0
+++ '[' '!' 0 == 0 ']'
+++ response='"Raspbian=10,11 Ubuntu=18,20,21,22 Debian=10,11 Fedora=34 CentOS=7,8 Rocky=8"'
+++ '[' '"Raspbian=10,11 Ubuntu=18,20,21,22 Debian=10,11 Fedora=34 CentOS=7,8 Rocky=8"' == 0 ']'
+++ IFS=' '
+++ read -r -a supportedOS
++++ echo '"Raspbian=10,11 Ubuntu=18,20,21,22 Debian=10,11 Fedora=34 CentOS=7,8 Rocky=8"'
++++ tr -d '"'
+++ for distro_and_versions in "${supportedOS[@]}"
+++ distro_part=Raspbian
+++ versions_part=10,11
+++ [[ RASPBIAN =~ RASPBIAN ]]
+++ valid_os=true
+++ IFS=,
+++ read -r -a supportedVer
+++ for version in "${supportedVer[@]}"
+++ [[ 9 =~ 10 ]]
+++ for version in "${supportedVer[@]}"
+++ [[ 9 =~ 11 ]]
+++ break
+++ '[' true = true ']'
+++ '[' '' = true ']'
+++ '[' '' '!=' false ']'
+++ '[' '' = false ']'
+++ printf ' %b %bUnsupported OS detected: %s %s%b\n' '[✗]' '' Raspbian 9 ''
[✗] Unsupported OS detected: Raspbian 9
+++ printf ' If you are seeing this message and you do have a supported OS, please contact support.\n'
If you are seeing this message and you do have a supported OS, please contact support.
+++ printf '\n'
+++ printf ' %bhttps://docs.pi-hole.net/main/prerequisites/#supported-operating-systems%b\n' '' ''
https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems
+++ printf '\n'
+++ printf ' If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:\n'
If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:
+++ printf '\n'
+++ printf ' e.g: If you are seeing this message on a fresh install, you can run:\n'
e.g: If you are seeing this message on a fresh install, you can run:
+++ printf ' %bcurl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash%b\n' '' ''
curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash
+++ printf '\n'
+++ printf ' If you are seeing this message after having run pihole -up:\n'
If you are seeing this message after having run pihole -up:
+++ printf ' %bsudo PIHOLE_SKIP_OS_CHECK=true pihole -r%b\n' '' ''
sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
+++ printf ' (In this case, your previous run of pihole -up will have already updated the local repository)\n'
(In this case, your previous run of pihole -up will have already updated the local repository)
+++ printf '\n'
+++ printf ' It is possible that the installation will still fail at this stage due to an unsupported configuration.\n'
It is possible that the installation will still fail at this stage due to an unsupported configuration.
+++ printf ' If that is the case, you can feel free to ask the community on Discourse with the %bCommunity Help%b category:\n' '' ''
If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
+++ printf ' %bhttps://discourse.pi-hole.net/c/bugs-problems-issues/community-help/%b\n' '' ''
https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/
+++ printf '\n'
+++ exit 1