Fresh install gets FTL 4.3.1

Fresh install on new Pi3B+ with buster with all updates till now.
Used below commands to install Beta 5.0 by DL6ER
sudo mkdir -p /var/www/html/admin
cd /var/www/html/admin
sudo git clone GitHub - pi-hole/AdminLTE: Pi-hole Dashboard for stats and more .
sudo git checkout release/v5.0
sudo mkdir -p /etc/.pihole
cd /etc/.pihole
sudo git clone GitHub - pi-hole/pi-hole: A black hole for Internet advertisements .
sudo git checkout release/v5.0
sudo ./automated\ install/basic-install.sh

Versions show as below even after pihole -up

Dashboard shows 0 domains though they are downloaded during the process
Current Pi-hole version is v4.3.2-424-g85c15a71
Current AdminLTE version is v4.3.2-426-gdd7b2b20
Current FTL version is v4.3.1
pi@RPi:/etc/.pihole $ pihole -up --check-only
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: up to date
[i] FTL: up to date

[โœ“] Everything is up to date!
pi@RPi:/etc/.pihole $image

Debug token - https://tricorder.pi-hole.net/ovgy28d0sv

Beta does not show 5.0 in the version.

1 Like

Please note that those instructions were a best guess from @DL6ER and not instructions on how to get beta 5 directly. You're not using the beta 5 FTL because of that.

1 Like

@DanSchaper - thanks

What is interesting is if I install current public version and do an in place upgrade using same command lines from @DL6ER it works perfectly fine and shows all beta versions:
Pi-hole Version vDev (release/v5.0, v4.3.2-421-gb73580f) Web Interface Version vDev (release/v5.0, v4.3.2-426-gdd7b2b20) FTL Version vDev (release/v5.0, vDev-61d67ff)

Or you could just do it the way the instructions say?

From Announcing a Beta test of Pi-hole 5.0!

OK, enough reading.. how do I switch to the beta?

echo "release/v5.0" | sudo tee /etc/pihole/ftlbranch 
pihole checkout core release/v5.0 
pihole checkout web release/v5.0
1 Like

Thanks @DanSchaper for pointing me to this thread and sorry for the trouble. I guess I got fixated with what I read and bookmarked from DL6ER.

i will go thru this steps soon though I have no clue whether I should simply install current version and then follow this or some other method. I will try the read up a bit more on this forum to get my bearings

A post was split to a new topic: Web won't update to 5 beta

This morning I started fresh with new buster build With updates.
Tried installing current public version (4.3.2) and ended up with FTL error so restarted the process by building and running

Installation script from https://pi-hole.net
curl -sSL https://install.pi-hole.net | bash

Last few lines of installation ending in FTL release location not being found.

[โœ—] Check for existing repository in /etc/.pihole
[โœ“] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole

[โœ—] Check for existing repository in /var/www/html/admin
[โœ“] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin

[i] Main Dependency checks...
[โœ“] Checking for cron
[โœ“] Checking for curl
[i] Checking for dnsutils (will be installed)
[โœ“] Checking for iputils-ping
[i] Checking for lsof (will be installed)
[i] Checking for netcat (will be installed)
[โœ“] Checking for psmisc
[โœ“] Checking for sudo
[โœ“] Checking for unzip
[โœ“] Checking for wget
[i] Checking for idn2 (will be installed)
[i] Checking for sqlite3 (will be installed)
[โœ“] Checking for libcap2-bin
[i] Checking for dns-root-data (will be installed)
[i] Checking for resolvconf (will be installed)
[โœ“] Checking for libcap2
[i] Checking for lighttpd (will be installed)
[i] Checking for php-common (will be installed)
[i] Checking for php-cgi (will be installed)
[i] Checking for php-sqlite3 (will be installed)
[โœ“] Enabling lighttpd service to start on reboot...

[i] FTL Checks...

[โœ“] Detected ARM-hf architecture (armv7+)
[i] Checking for existing FTL binary...
[โœ—] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[โœ—] FTL Engine not installed

What am I doing wrong?

This will temporarily reset the nameserver on the Pi to bypass Pi-Hole DNS.

sudo nano /etc/resolv.conf

edit nameserver 127.0.0.1 to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit

Run the install command again.

I reinstalled raspbian buster and applied patches.
This 3rd time is the charm time somehow I ran install script by changing to root with โ€˜sudo -Iโ€™
All went well and product is installed.

Next I tried @DanSchaper suggestion (as root) and its still a no go to get to beta 5
root@Beta5:~# echo "release/v5.0" | sudo tee /etc/pihole/ftlbranch
release/v5.0
root@Beta5:~# pihole checkout core release/v5.0
Please note that changing branches severely alters your Pi-hole subsystems
Features that work on the master branch, may not on a development branch
This feature is NOT supported unless a Pi-hole developer explicitly asks!
Have you read and understood this? [y/N] y

[i] Branch change has been cancelledstrong text

What OS?

Edit: And what does locale show? Are you using something besides an english UTF-8?

Run curl -sSL https://install.pi-hole.net | sudo bash -x and that will output everything to see what exactly is being used to download the binaries.

@DanSchaper - thank you yet again.
Your new command line worked fine and installed dev FTL. Now that I have this command I will work around to see how to get pi-hole and web up to 5

  • /usr/local/bin/pihole version --current
    Current Pi-hole version is v4.3.2
    Current AdminLTE version is v4.3.3
    Current FTL version is vDev-61d67ff

Sure, what did the locale output show? The problem with branch changing being cancelled happens sometimes with non English locales.

I see only below entry uncommented in /etc/locale.gen, all others are comment with hash

en_GB.UTF-8 UTF-8

Run the command locale and copy the output here.

@DanSchaper

root@raspberrypi:~# locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Simultaneously installed new Raspbian on another RPi3B+ and got error below running command you provided earlier - curl -sSL https://install.pi-hole.net | sudo bash -x.

resolv.conf shows IP addresses of 2 pihole addresses on LAN that is in use currently

Last few lines of output from console

 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\033[K' '[\e[1;32mโœ“\e[0m]'
  [โœ“] 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=
+ local ftlBranch
+ [[ -f /etc/pihole/ftlbranch ]]
+ ftlBranch=master
+ local remoteSha1
+ local localSha1
+ which dnsmasq
+ [[ ! master == \m\a\s\t\e\r ]]
+ [[ -n '' ]]
+ 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=
+ [[ ! '' == v* ]]
+ printf '%b  %b %s\n' '\r\033[K' '[\e[1;31mโœ—\e[0m]' 'Downloading and Installing FTL'
  [โœ—] Downloading and Installing FTL
+ printf '  %bError: Unable to get latest release location from GitHub%b\n' '\e[1;31m' '\e[0m'
  Error: Unable to get latest release location from GitHub
+ return 1
+ return 1
+ printf '  %b FTL Engine not installed\n' '[\e[1;31mโœ—\e[0m]'
  [โœ—] FTL Engine not installed
+ exit 1

What does that output?

root@raspberrypi:~# curl -sI Release v5.24 ยท pi-hole/FTL ยท GitHub

HTTP/1.1 302 Found
Server: GitHub.com
Date: Fri, 21 Feb 2020 20:25:48 GMT
Content-Type: text/html; charset=utf-8
Status: 302 Found
Vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With
Location: https://github.com/pi-hole/FTL/releases/tag/v4.3.1
Cache-Control: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Expect-CT: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
Content-Security-Policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com
Age: 51
Set-Cookie: _gh_sess=j1fc3a%2FSGEacsH11jgf6n%2FeNmYB%2FSmA%2B7geuTFHcWT9d0hO5ozLc3x1%2FhFN30oLY7%2B3N%2F3iT%2By3odwjm6G7Gsy7WcetDyrE48J79iLdpe%2B%2BHwE3F7N%2FwVgDejhv5KdF7Rb9Kjq21jKZsD39giXjQtjhpPd3kUAF3BJOSi6n4ocYfCcMZkn9sMKrVFroOkqHIgty5cScWXJA1%2FZzmiEPG6vxc1Qs3ArY821rCLSzV5b89xRep%2FJ3Dn7jYXXD9u8co%2BEHXTwS09NKIgzs3Ihbd2Q%3D%3D--vfVhOffJFxmSxF%2F3--KTqh%2FhOUFcygs0cu7T%2BJug%3D%3D; Path=/; HttpOnly; Secure
Set-Cookie: _octo=GH1.1.1796975347.1582316799; Path=/; Domain=github.com; Expires=Sun, 21 Feb 2021 20:26:39 GMT; Secure
Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 21 Feb 2021 20:26:39 GMT; HttpOnly; Secure
Content-Length: 116
X-GitHub-Request-Id: D2AE:517E:44C454:74D480:5E503CFF