Requested branch FTLDNS not available

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

Expected Behaviour:

update web portion of pihole to the ftl branch

Actual Behaviour:

pihole checkout web FTLDNS
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

[✓] Fetching branches from GitHub - pi-hole/web: Pi-hole Dashboard for stats and more
[i] 29 branches available for Web Admin

[i] Requested branch "FTLDNS" is not available
[i] Available branches for Web Admin are:
- Promocustomiseadlists
- addtowhitelistoutputparsing
- angularJS
- auth/overTimeDataForwards
- customDisable
- dbIntegrate
- devel
- dnsWatch
- fix/overtimegraphs
- fix/php5.3-support
- fix/tempReading
- licenseUpdate
- master
- new/APItest
- new/FTL_API
- new/FTLupdatenotification
- new/GeoIP
- new/fixed_layout
- official_migration
- speedtest
- tweak/API_shutdown
- tweak/FTLimmediatelyquit
- tweak/auditlog_apply
- tweak/detectIPv6visitor
- tweak/settingspagesecurity
- ui_fix
- v3.2.1_merge
- v3.3
- webupdater

Debug Token:

kpufdpon07

What if you

cd /var/ww/html/admin
sudo git fetch --all

Then try again.

I've somehow fixed the initial problem but it seems that (or something else) broke something else. If I pihole -v I get:
Pi-hole version is v3.3-65-g295ac49 (Latest: v3.3)
AdminLTE version is v3.2.1-80-g517fa24f (Latest: v3.3)
FTL version is vDev-a26da52 (Latest: v3.0)

pihole -up tells me
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] FTL: update available

[i] FTL out of date

[i] FTL Checks...
[✓] Detected x86_64 architecture
[i] Checking for existing FTL binary...
[✓] Downloading and Installing FTL

[i] Web Interface: up to date

[i] FTL version is now at
[✓] Starting pihole-FTL service
[✓] Enabling pihole-FTL service to start on reboot

but no matter how often I try to update, the output stays the same.

OK, so now do

echo "FTLDNS" | sudo tee /etc/pihole/ftlbranch
pihole checkout web FTLDNS

Thanks for the follow up - As I've had the feeling something really bad happened I've restored the whole VM to the point it was yesterday (before the upgrade to the FTL beta).

So please take the initial post as the actual status again please:

cd /var/www/html/admin
strn@piDNS:/var/www/html/admin$ sudo git fetch --all
Fetching origin
strn@piDNS:/var/www/html/admin$ pihole checkout web FTLDNS
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

[✓] Fetching branches from GitHub - pi-hole/web: Pi-hole Dashboard for stats and more
[i] 29 branches available for Web Admin

[i] Requested branch "FTLDNS" is not available
[i] Available branches for Web Admin are:
- Promocustomiseadlists
- addtowhitelistoutputparsing
- angularJS
- auth/overTimeDataForwards
- customDisable
- dbIntegrate
- devel
- dnsWatch
- fix/overtimegraphs
- fix/php5.3-support
- fix/tempReading
- licenseUpdate
- master
- new/APItest
- new/FTL_API
- new/FTLupdatenotification
- new/GeoIP
- new/fixed_layout
- official_migration
- speedtest
- tweak/API_shutdown
- tweak/FTLimmediatelyquit
- tweak/auditlog_apply
- tweak/detectIPv6visitor
- tweak/settingspagesecurity
- ui_fix
- v3.2.1_merge
- v3.3
- webupdater

And you did this bit?

echo "FTLDNS" | sudo tee /etc/pihole/ftlbranch

Yes, I did

cd /var/ww/html/admin
sudo git fetch --all
sudo git checkout FTLDNS
/var/www/html/admin$ sudo git checkout FTLDNS
error: pathspec 'FTLDNS' did not match any file(s) known to git.
sudo git config --get remote.origin.fetch
sudo git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
sudo git config --get remote.origin.fetch

same situation :frowning:

strn@piDNS:/var/www/html/admin$ sudo git config --get remote.origin.fetch
+refs/heads/*:refs/remotes/origin/*
strn@piDNS:/var/www/html/admin$ sudo git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
strn@piDNS:/var/www/html/admin$ sudo git config --get remote.origin.fetch
+refs/heads/*:refs/remotes/origin/*

strn@piDNS:/var/www/html/admin$ sudo git checkout FTLDNS
error: pathspec 'FTLDNS' did not match any file(s) known to git.

I guess we could try the nuclear option:

sudo rm -rf /var/www/html/admin
sudo git clone https://github.com/pi-hole/AdminLTE.git /var/www/html/admin

cd /var/www/html/admin
echo "FTLDNS" | sudo tee /etc/pihole/ftlbranch
pihole checkout core FTLDNS
pihole checkout web FTLDNS
1 Like

I can pretty much destroy everything if I have to. I can restore the vm in case of atomic radiation very quickly ...

strn@piDNS:/var/www/html/admin$ sudo rm -rf /var/www/html/admin
strn@piDNS:/var/www/html/admin$ sudo git clone https://github.com/pi-hole/AdminLTE.git /var/www/html/admin
fatal: Could not get current working directory: No such file or directory

//edit: I guess sudo rm -rm is a typo for -rf

Yep, you were right on the typo. If you were in the directory when you removed it, you might need to cd out of it, then run the command again.

sorry, my bad ...

strn@piDNS:/var/www/html/admin$ cd /
strn@piDNS:/$ sudo git clone https://github.com/pi-hole/AdminLTE.git /var/www/html/admin
Cloning into '/var/www/html/admin'...
remote: Counting objects: 17452, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 17452 (delta 8), reused 18 (delta 6), pack-reused 17425
Receiving objects: 100% (17452/17452), 24.74 MiB | 2.63 MiB/s, done.
Resolving deltas: 100% (9111/9111), done.

strn@piDNS:/$ sudo git checkout FTLDNS
fatal: Not a git repository (or any of the parent directories): .git

dunno if it helps:

strn@piDNS:/$ pihole -v
Pi-hole version is v3.3-rc1-114-g295ac49 (Latest: v3.3)
AdminLTE version is v3.3 (Latest: v3.3)
FTL version is vDev-a26da52 (Latest: v3.0)

OK, now you just need to cd /var/www/html/admin (you're still in the root directory), and then do the git checkout.

ok looks better now

strn@piDNS:/var/www/html/admin$ sudo git checkout FTLDNS
Branch FTLDNS set up to track remote branch FTLDNS from origin.
Switched to a new branch 'FTLDNS'

and now pihole -up pihole or checkout web FTLDNS?

Not pihole -up. Just run all these

echo "FTLDNS" | sudo tee /etc/pihole/ftlbranch
pihole checkout core FTLDNS
pihole checkout web FTLDNS
strn@piDNS:/var/www/html/admin$ pihole checkout core FTLDNS
  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

  [✓] Fetching branches from https://github.com/pi-hole/pi-hole.git
  [i] 36 branches available for Pi-hole Core

  [✓] Switching to branch: 'FTLDNS' from 'refs/heads/FTLDNS'
  [i] Already up-to-date.
  [i] Running installer to upgrade your installation

  [✓] Root user check

  
  [...]
  
  
	  strn@piDNS:/var/www/html/admin$ pihole checkout web FTLDNS
  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

  [✓] Fetching branches from https://github.com/pi-hole/AdminLTE.git
  [i] 18 branches available for Web Admin

  [✓] Switching to branch: 'FTLDNS' from 'refs/heads/FTLDNS'
  [i] Already up-to-date.

  
	  strn@piDNS:/var/www/html/admin$ pihole -v
  Pi-hole version is v3.3-rc1-114-g295ac49 (Latest: v3.3)
  AdminLTE version is v3.2.1-80-g517fa24f (Latest: v3.3)
  FTL version is vDev-a26da52 (Latest: v3.0)

GUI is working again, checkout worked like it should I guess.
Should the version namings look how they should be I can confirm that you solved the puzzle, great job jacob - thank you

1 Like

Yes, since it's not an official release, they don't have a pretty number attached to them.

1 Like