FTL update error

Expected Behaviour:

Update the FTL engine

Actual Behaviour:

Getting following error during $ pihole -up:

  [i] FTL Checks...

  [✓] Detected ARM-hf architecture (armv7+)
  [i] Checking for existing FTL binary...
  [i] Downloading and Installing FTL...curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
  [✗] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/FTL/releases/download/v4.2.3/pihole-FTL-arm-linux-gnueabihf not found
  [✗] FTL Engine not installed

  Unable to complete update, please contact Pi-hole Support

$ sudo bash -x /etc/.pihole/automated\ install/basic-install.sh:

+ set -e
+ installLogLoc=/etc/pihole/install.log
+ setupVars=/etc/pihole/setupVars.conf
+ lighttpdConfig=/etc/lighttpd/lighttpd.conf
+ coltable=/opt/pihole/COL_TABLE
+ 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
+ useUpdateVars=false
+ adlistFile=/etc/pihole/adlists.list
+ regexFile=/etc/pihole/regex.list
+ IPV4_ADDRESS=
+ IPV6_ADDRESS=
+ QUERY_LOGGING=true
+ INSTALL_WEB_INTERFACE=true
+ PRIVACY_LEVEL=0
+ '[' -z root ']'
++ stty size
+ screen_size='40 140'
+ printf -v rows %d 40
+ printf -v columns %d 140
+ r=20
+ c=70
+ r=20
+ c=70
+ skipSpaceCheck=false
+ reconfigure=false
+ runUnattended=false
+ INSTALL_WEB_SERVER=true
+ [[ -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'
+ binary=tbd
+ counter=0
+ [[ '' != true ]]
+ main
+ 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.qwhjEQ
+ exec
+ rm /tmp/pihole_temp.qwhjEQ
+ distro_check
+ 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} --yes --no-install-recommends install)
+ PKG_COUNT='apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+ APT_SOURCES=/etc/apt/sources.list
+ awk 'BEGIN{a=1;b=0}/bionic main/{a=0}/bionic.*universe/{b=1}END{exit a + b}' /etc/apt/sources.list
+ apt-get install --dry-run iproute2
+ iproute_pkg=iproute2
+ is_command php
+ local check_command=php
+ command -v php
++ php
+ printf '  %b Existing PHP installation detected : PHP version %s\n' '[i]' 7.0.33-0+deb9u3
  [i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u3
++ php
+ printf -v phpInsMajor %d 7
++ php
+ printf -v phpInsMinor %d 0
+ '[' 7 -ge 7 ']'
+ phpInsNewer=true
+ [[ true != true ]]
+ phpVer=php7.0
+ apt-get install --dry-run php7.0-sqlite3
+ phpSqlite=sqlite3
+ INSTALLER_DEPS=(apt-utils dialog debconf dhcpcd5 git ${iproute_pkg} whiptail)
+ PIHOLE_DEPS=(cron curl dnsutils iputils-ping lsof netcat psmisc sudo unzip wget idn2 sqlite3 libcap2-bin dns-root-data resolvconf libcap2)
+ PIHOLE_WEB_DEPS=(lighttpd ${phpVer}-common ${phpVer}-cgi ${phpVer}-${phpSqlite})
+ LIGHTTPD_USER=www-data
+ LIGHTTPD_GROUP=www-data
+ LIGHTTPD_CFG=lighttpd.conf.debian
+ [[ -f /etc/pihole/setupVars.conf ]]
+ [[ false == true ]]
+ update_dialogs
+ [[ false = true ]]
+ opt1a=Update
+ opt1b='This will retain existing settings.'
+ strAdd='You will be updated to the latest version.'
+ opt2a=Reconfigure
+ opt2b='This will reset your Pi-hole and allow you to enter new settings.'
++ whiptail --title 'Existing Install Detected!' --menu '\n\nWe have detected an existing install.\n\nPlease choose from the following options: \n(You will be updated to the latest version.)' 20 70 2 Update 'This will retain existing settings.' Reconfigure 'This will reset your Pi-hole and allow you to enter new settings.'
+ UpdateCmd=Update
+ case ${UpdateCmd} in
+ printf '  %b %s option selected\n' '[i]' Update
  [i] Update option selected
+ useUpdateVars=true
+ [[ false == true ]]
+ verifyFreeDiskSpace
+ local 'str=Disk space check'
+ local required_free_kilobytes=51200
+ local existing_free_kilobytes
++ df -Pk
++ grep -m1 '\/$'
++ awk '{print $4}'
+ existing_free_kilobytes=21249360
+ [[ 21249360 =~ ^([0-9])+$ ]]
+ [[ 21249360 -lt 51200 ]]
+ printf '  %b %s\n' '[✓]' 'Disk space check'
  [✓] Disk space check
+ 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
+ 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/4.14.98-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!

+ install_dependent_packages 'INSTALLER_DEPS[@]'
+ counter=1
+ [[ 1 == 1 ]]
+ printf '  %b Installer Dependency checks...\n' '[i]'
  [i] Installer Dependency checks...
+ argArray1=("${!1}")
+ declare -a argArray1
+ declare -a installArray
+ is_command debconf-apt-progress
+ local check_command=debconf-apt-progress
+ command -v debconf-apt-progress
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' apt-utils
  [i] Checking for apt-utils...+ grep 'ok installed'
+ dpkg-query -W '-f=${Status}' apt-utils
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' apt-utils
  [✓] Checking for apt-utils
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' dialog
  [i] Checking for dialog...+ grep 'ok installed'
+ dpkg-query -W '-f=${Status}' dialog
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' dialog
  [✓] Checking for dialog
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' debconf
  [i] Checking for debconf...+ dpkg-query -W '-f=${Status}' debconf
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' debconf
  [✓] Checking for debconf
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' dhcpcd5
  [i] Checking for dhcpcd5...+ dpkg-query -W '-f=${Status}' dhcpcd5
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' dhcpcd5
  [✓] Checking for dhcpcd5
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' git
  [i] Checking for git...+ dpkg-query -W '-f=${Status}' git
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' git
  [✓] Checking for git
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' iproute2
  [i] Checking for iproute2...+ dpkg-query -W '-f=${Status}' iproute2
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' iproute2
  [✓] Checking for iproute2
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' whiptail
  [i] Checking for whiptail...+ grep 'ok installed'
+ dpkg-query -W '-f=${Status}' whiptail
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' whiptail
  [✓] Checking for whiptail
+ [[ 0 -gt 0 ]]
+ printf '\n'

+ return 0
+ checkSelinux
+ is_command getenforce
+ local check_command=getenforce
+ command -v getenforce
+ [[ true == false ]]
+ installDefaultBlocklists
+ [[ -f /etc/pihole/adlists.list ]]
+ return
+ source /etc/pihole/setupVars.conf
++ PIHOLE_INTERFACE=eth0
++ IPV4_ADDRESS=192.168.178.4/24
++ IPV6_ADDRESS=2003:e4:13cf:4f00:e43f:bac3:23ef:5166
++ QUERY_LOGGING=true
++ INSTALL_WEB_SERVER=true
++ INSTALL_WEB_INTERFACE=true
++ LIGHTTPD_ENABLED=true
++ WEBPASSWORD=5c84d263806f71b2c3330f4a501a62b90dac6f5de6ae5485cf7be9ae6f629901
++ DNSMASQ_LISTENING=single
++ PIHOLE_DNS_1=9.9.9.9
++ PIHOLE_DNS_2=149.112.112.112
++ PIHOLE_DNS_3=192.168.178.1#53
++ DNS_FQDN_REQUIRED=false
++ DNS_BOGUS_PRIV=false
++ DNSSEC=false
++ CONDITIONAL_FORWARDING=false
+ [[ -f /etc/pihole/pihole-FTL.conf ]]
++ sed -ne 's/PRIVACYLEVEL=\(.*\)/\1/p' /etc/pihole/pihole-FTL.conf
+ PRIVACY_LEVEL=
+ PRIVACY_LEVEL=0
+ clone_or_update_repos
+ [[ false == true ]]
+ getGitFiles /etc/.pihole https://github.com/pi-hole/pi-hole.git
+ local directory=/etc/.pihole
+ local remoteRepo=https://github.com/pi-hole/pi-hole.git
+ local 'str=Check for existing repository in /etc/.pihole'
+ printf '  %b %s...' '[i]' 'Check for existing repository in /etc/.pihole'
  [i] Check for existing repository in /etc/.pihole...+ is_repo /etc/.pihole
+ local directory=/etc/.pihole
+ local curdir
+ local rc
+ curdir=/home/pi
+ [[ -d /etc/.pihole ]]
+ cd /etc/.pihole
+ git status --short
+ cd /home/pi
+ return 0
+ printf '%b  %b %s\n' '\r' '[✓]' 'Check for existing repository in /etc/.pihole'
  [✓] Check for existing repository in /etc/.pihole
+ update_repo /etc/.pihole
+ local directory=/etc/.pihole
+ local curdir
+ local 'str=Update repo in /etc/.pihole'
+ curdir=/home/pi
+ cd /etc/.pihole
+ printf '  %b %s...' '[i]' 'Update repo in /etc/.pihole'
  [i] Update repo in /etc/.pihole...+ git stash --all --quiet
+ git clean --quiet --force -d
+ git pull --quiet
+ printf '%b  %b %s\n' '\r' '[✓]' 'Update repo in /etc/.pihole'
  [✓] Update repo in /etc/.pihole
+ cd /home/pi
+ return 0
+ echo ''

+ return 0
+ [[ true == true ]]
+ getGitFiles /var/www/html/admin https://github.com/pi-hole/AdminLTE.git
+ local directory=/var/www/html/admin
+ local remoteRepo=https://github.com/pi-hole/AdminLTE.git
+ local 'str=Check for existing repository in /var/www/html/admin'
+ printf '  %b %s...' '[i]' 'Check for existing repository in /var/www/html/admin'
  [i] Check for existing repository in /var/www/html/admin...+ is_repo /var/www/html/admin
+ local directory=/var/www/html/admin
+ local curdir
+ local rc
+ curdir=/home/pi
+ [[ -d /var/www/html/admin ]]
+ cd /var/www/html/admin
+ git status --short
+ cd /home/pi
+ return 0
+ printf '%b  %b %s\n' '\r' '[✓]' 'Check for existing repository in /var/www/html/admin'
  [✓] Check for existing repository in /var/www/html/admin
+ update_repo /var/www/html/admin
+ local directory=/var/www/html/admin
+ local curdir
+ local 'str=Update repo in /var/www/html/admin'
+ curdir=/home/pi
+ cd /var/www/html/admin
+ printf '  %b %s...' '[i]' 'Update repo in /var/www/html/admin'
  [i] Update repo in /var/www/html/admin...+ git stash --all --quiet
+ git clean --quiet --force -d
+ git pull --quiet
+ printf '%b  %b %s\n' '\r' '[✓]' 'Update repo in /var/www/html/admin'
  [✓] Update repo in /var/www/html/admin
+ cd /home/pi
+ return 0
+ echo ''

+ return 0
+ dep_install_list=("${PIHOLE_DEPS[@]}")
+ local dep_install_list
+ [[ true == true ]]
+ dep_install_list+=("${PIHOLE_WEB_DEPS[@]}")
+ install_dependent_packages 'dep_install_list[@]'
+ counter=2
+ [[ 2 == 1 ]]
+ printf '  %b Main Dependency checks...\n' '[i]'
  [i] Main Dependency checks...
+ argArray1=("${!1}")
+ declare -a argArray1
+ declare -a installArray
+ is_command debconf-apt-progress
+ local check_command=debconf-apt-progress
+ command -v debconf-apt-progress
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' cron
  [i] Checking for cron...+ dpkg-query -W '-f=${Status}' cron
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' cron
  [✓] Checking for cron
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' curl
  [i] Checking for curl...+ dpkg-query -W '-f=${Status}' curl
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' curl
  [✓] Checking for curl
+ for i in "${argArray1[@]}"
+ 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
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' iputils-ping
  [i] Checking for iputils-ping...+ dpkg-query -W '-f=${Status}' iputils-ping
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' iputils-ping
  [✓] Checking for iputils-ping
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' lsof
  [i] Checking for lsof...+ dpkg-query -W '-f=${Status}' lsof
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' lsof
  [✓] Checking for lsof
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' netcat
  [i] Checking for netcat...+ dpkg-query -W '-f=${Status}' netcat
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' netcat
  [✓] Checking for netcat
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' psmisc
  [i] Checking for psmisc...+ dpkg-query -W '-f=${Status}' psmisc
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' psmisc
  [✓] Checking for psmisc
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' sudo
  [i] Checking for sudo...+ dpkg-query -W '-f=${Status}' sudo
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' sudo
  [✓] Checking for sudo
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' unzip
  [i] Checking for unzip...+ dpkg-query -W '-f=${Status}' unzip
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' unzip
  [✓] Checking for unzip
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' wget
  [i] Checking for wget...+ dpkg-query -W '-f=${Status}' wget
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' wget
  [✓] Checking for wget
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' idn2
  [i] Checking for idn2...+ dpkg-query -W '-f=${Status}' idn2
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' idn2
  [✓] Checking for idn2
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' sqlite3
  [i] Checking for sqlite3...+ dpkg-query -W '-f=${Status}' sqlite3
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' sqlite3
  [✓] Checking for sqlite3
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' libcap2-bin
  [i] Checking for libcap2-bin...+ dpkg-query -W '-f=${Status}' libcap2-bin
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' libcap2-bin
  [✓] Checking for libcap2-bin
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' dns-root-data
  [i] Checking for dns-root-data...+ dpkg-query -W '-f=${Status}' dns-root-data
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' dns-root-data
  [✓] Checking for dns-root-data
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' resolvconf
  [i] Checking for resolvconf...+ dpkg-query -W '-f=${Status}' resolvconf
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' resolvconf
  [✓] Checking for resolvconf
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' libcap2
  [i] Checking for libcap2...+ dpkg-query -W '-f=${Status}' libcap2
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' libcap2
  [✓] Checking for libcap2
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' lighttpd
  [i] Checking for lighttpd...+ dpkg-query -W '-f=${Status}' lighttpd
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' lighttpd
  [✓] Checking for lighttpd
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' php7.0-common
  [i] Checking for php7.0-common...+ dpkg-query -W '-f=${Status}' php7.0-common
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' php7.0-common
  [✓] Checking for php7.0-common
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' php7.0-cgi
  [i] Checking for php7.0-cgi...+ dpkg-query -W '-f=${Status}' php7.0-cgi
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' php7.0-cgi
  [✓] Checking for php7.0-cgi
+ for i in "${argArray1[@]}"
+ printf '  %b Checking for %s...' '[i]' php7.0-sqlite3
  [i] Checking for php7.0-sqlite3...+ dpkg-query -W '-f=${Status}' php7.0-sqlite3
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r' '[✓]' php7.0-sqlite3
  [✓] Checking for php7.0-sqlite3
+ [[ 0 -gt 0 ]]
+ printf '\n'

+ return 0
+ unset dep_install_list
+ [[ true == true ]]
+ enable_service lighttpd
+ local 'str=Enabling lighttpd service to start on reboot'
+ printf '  %b %s...' '[i]' 'Enabling lighttpd service to start on reboot'
  [i] Enabling lighttpd service to start on reboot...+ is_command systemctl
+ local check_command=systemctl
+ command -v systemctl
+ systemctl enable lighttpd
+ printf '%b  %b %s...\n' '\r' '[✓]' 'Enabling lighttpd service to start on reboot'
  [✓] Enabling lighttpd service to start on reboot...
+ check_service_active lighttpd
+ is_command systemctl
+ local check_command=systemctl
+ command -v systemctl
+ systemctl is-enabled lighttpd
+ LIGHTTPD_ENABLED=true
+ FTLdetect
+ printf '\n  %b FTL Checks...\n\n' '[i]'

  [i] FTL Checks...

+ FTLcheckUpdate
+ get_binary_name
+ local machine
++ uname -m
+ machine=armv7l
+ local 'str=Detecting architecture'
+ printf '  %b %s...' '[i]' 'Detecting architecture'
  [i] Detecting architecture...+ [[ armv7l == \a\r\m* ]]
+ local rev
++ uname -m
++ sed 's/[^0-9]//g;'
+ rev=7
+ local lib
++ ldd /bin/ls
++ grep -E '^\s*/lib'
++ awk '{ print $1 }'
+ lib=/lib/ld-linux-armhf.so.3
+ [[ /lib/ld-linux-armhf.so.3 == \/\l\i\b\/\l\d\-\l\i\n\u\x\-\a\a\r\c\h\6\4\.\s\o\.\1 ]]
+ [[ /lib/ld-linux-armhf.so.3 == \/\l\i\b\/\l\d\-\l\i\n\u\x\-\a\r\m\h\f\.\s\o\.\3 ]]
+ [[ 7 -gt 6 ]]
+ printf '%b  %b Detected ARM-hf architecture (armv7+)\n' '\r' '[✓]'
  [✓] Detected ARM-hf architecture (armv7+)
+ binary=pihole-FTL-arm-linux-gnueabihf
+ printf '  %b Checking for existing FTL binary...\n' '[i]'
  [i] Checking for existing FTL binary...
+ local ftlLoc
++ which pihole-FTL
+ ftlLoc=/usr/bin/pihole-FTL
+ local ftlBranch
+ [[ -f /etc/pihole/ftlbranch ]]
+ ftlBranch=master
+ local remoteSha1
+ local localSha1
+ which dnsmasq
+ [[ ! master == \m\a\s\t\e\r ]]
+ [[ -n /usr/bin/pihole-FTL ]]
+ local FTLversion
++ /usr/bin/pihole-FTL tag
+ FTLversion=v4.0
+ local FTLlatesttag
++ curl -sI https://github.com/pi-hole/FTL/releases/latest
++ grep Location
++ awk -F / '{print $NF}'
++ tr -d '\r\n'
+ FTLlatesttag=v4.2.3
+ [[ v4.0 != \v\4\.\2\.\3 ]]
+ return 0
+ FTLinstall
+ local latesttag
+ local 'str=Downloading and Installing FTL'
+ printf '  %b %s...' '[i]' 'Downloading and Installing FTL'
  [i] Downloading and Installing FTL...++ curl -sI https://github.com/pi-hole/FTL/releases/latest
++ grep Location
++ awk -F / '{print $NF}'
+ latesttag=$'v4.2.3\r'
 == v* ]].2.3
++ mktemp -d
+ pushd /tmp/tmp.9bU4XUh2aA
+ install -T -m 0755 /etc/.pihole/advanced/Templates/pihole-FTL.service /etc/init.d/pihole-FTL
+ local ftlBranch
+ local url
+ [[ -f /etc/pihole/ftlbranch ]]
+ ftlBranch=master
+ [[ master == \m\a\s\t\e\r ]]
+ url=https://github.com/pi-hole/FTL/releases/download/v4.2.3
+ curl -sSL --fail https://github.com/pi-hole/FTL/releases/download/v4.2.3/pihole-FTL-arm-linux-gnueabihf -o pihole-FTL-arm-linux-gnueabihf
curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
+ popd
+ printf '%b  %b %s\n' '\r' '[✗]' 'Downloading and Installing FTL'
  [✗] Downloading and Installing FTL
+ printf '  %bError: URL %s/%s not found%b\n' '' https://github.com/pi-hole/FTL/releases/download/v4.2.3 pihole-FTL-arm-linux-gnueabihf ''
  Error: URL https://github.com/pi-hole/FTL/releases/download/v4.2.3/pihole-FTL-arm-linux-gnueabihf not found
+ return 1
+ return 1
+ printf '  %b FTL Engine not installed\n' '[✗]'
  [✗] FTL Engine not installed
+ exit 1

Debug Token:

9phnl5ut6i!

I tried this but it did not work.

$ pihole -v:

  Pi-hole version is v4.2.2 (Latest: v4.2.2)
  AdminLTE version is v4.2 (Latest: v4.2)
  FTL version is v4.0 (Latest: v4.2.3)

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