Pi-hole: Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf not found

Created on 16 Apr 2020  ยท  41Comments  ยท  Source: pi-hole/pi-hole

In raising this issue, I confirm the following: {please fill the checkboxes, e.g: [X]}

How familiar are you with the the source code relevant to this issue?:

{Replace this with a number from 1 to 10. 1 being not familiar, and 10 being very familiar}


Expected behaviour:

{A detailed description of what you expect to see}

Actual behaviour:

{A detailed description and/or screenshots of what you do see}

Steps to reproduce:

{Detailed steps of how we can reproduce this}

Debug token provided by uploading pihole -d log:

{Alphanumeric token}

Troubleshooting undertaken, and/or other relevant information:

{Steps of what you have done to fix this}

  • {Please delete this quoted section when opening your issue}
  • You must follow the template instructions. Failure to do so will result in your issue being closed.
  • Please submit any feature requests here, so it is votable and trackable by the community.
  • Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.
  • Detail helps us understand and resolve an issue quicker, but please ensure it's relevant.
  • _This template was created based on the work of udemy-dl._

Most helpful comment

Thanks. I removed the old ones and replaced with your recommendation. It all works as intended now.

All 41 comments

The file does exist:

dschaper@Mariner-10:~$ curl -L https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.

Check your /etc/resolv.conf to see if there is an accessible DNS server listed.

Checked:

# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line

What should this be?

I have the same problem as OP on my pi-zeroW running buster lite.

After running curl -sSL https://install.pi-hole.net | bash

This has borked the dns lookup on the pi - I'm not sure what the settings for this file should be to resolve it.

I am getting the same error.

However, when opening the URL on a web-browser, it redirects to an S3 URL, and I get a "SignatureDoesNotMatch" XML error (standard AWS S3 error page).

For clarification, all the binaries on the page https://github.com/pi-hole/FTL/releases/tag/v4.3.1 result in the above mentioned AWS error message when opening them.

It is reproducible by just clicking the links.

And it is fixed now. It seems that github releases had a site-wide error in rewriting the URL to S3.

Still broken as of 05/10/2020. I get the following when trying to install or update pi-hole

[โœ—] Downloading and Installing FTL
Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf not found
[โœ—] FTL Engine not installed

By me too.
I've get this:

 [โœ“] Detected ARM-hf architecture (armv7+)
  [i] Checking for existing FTL binary...
  [i] Downloading and Installing FTL...curl: (60) SSL: no alternative certificate subject name matches target host name 'github.com'
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
  [โœ—] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf not found
  [โœ—] FTL Engine not installed

Me too.

"sudo apt-get update" works so it's not a DNS issue.

me too

Me too.

"sudo apt-get update" works so it's not a DNS issue.

I was DNS for me.

For some reason, performing an additional sudo apt-get update and sudo apt-get upgrade after the failed installation fixed the problem for me..

What would help the most is if we see the curl errors that are displayed. So far every report has been an issue with the OS and not with anything we can control.

  [i] Downloading and Installing FTL...curl: (60) SSL: no alternative certificate subject name matches target host name 'github.com'
More details here: https://curl.haxx.se/docs/sslcerts.html

That indicates a certificate error, either with GitHub or with the Certificate Authority (CA) files on the local device.

We've seen other errors that relate to SSL/TLS and errors that relate to DNS failures, but they almost all have been caused by the OS itself.

Maybe that helps?

[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
curl: (6) Could not resolve host: github-production-release-asset-2e65be.s3.amazonaws.com
[i] Corruption detected...
[i] Downloading and Installing FTL...curl: (6) Could not resolve host: github-production-release-asset-2e65be.s3.amazonaws.com
[โœ—] Downloading and Installing FTL
Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf not found
[โœ—] FTL Engine not installed <

Yes, another example of the failure being from DNS.

curl: (6) Could not resolve host: github-production-release-asset-2e65be.s3.amazonaws.com

Something is preventing github-production-release-asset-2e65be.s3.amazonaws.com from being resolved. If this is happening now, then please run dig github-production-release-asset-2e65be.s3.amazonaws.com on the Pi-hole command line.

Yes, another example of the failure being from DNS.

curl: (6) Could not resolve host: github-production-release-asset-2e65be.s3.amazonaws.com

Something is preventing github-production-release-asset-2e65be.s3.amazonaws.com from being resolved. If this is happening now, then please run dig github-production-release-asset-2e65be.s3.amazonaws.com on the Pi-hole command line.

~ $ dig github-production-release-asset-2e65be.s3.amazonaws.com

; <<>> DiG 9.11.5-P4-5.1-Raspbian <<>> github-production-release-asset-2e65be.s3.amazonaws.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54040
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;github-production-release-asset-2e65be.s3.amazonaws.com. IN A

;; Query time: 14 msec
;; SERVER: 192.168.178.37#53(192.168.178.37)
;; WHEN: So Mai 17 22:53:50 CEST 2020
;; MSG SIZE  rcvd: 84

I'm affraid I don't understand the output. The ip address xxx.37 is the ip address of my pi.

Edit: Before updating to v5.0 everything worked like a charme. Now I have only three clients instead of about 15 on my dashboard.

You're missing an entire Answer section of the response.

;; ANSWER SECTION:
github-production-release-asset-2e65be.s3.amazonaws.com. 1229 IN CNAME s3-1-w.amazonaws.com.
s3-1-w.amazonaws.com.   1       IN      A       52.216.89.148

I'm confused though, you said the update didn't work, and now you're saying you are running version 5? What versions do you have installed right now?

pi@raspberrypi:~ $ sudo dig github-production-release-asset-2e65be.
s3.amazonaws.com

; <<>> DiG 9.11.5-P4-5.1-Raspbian <<>> github-production-release-as
set-2e65be.s3.amazonaws.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44486
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL:
1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;github-production-release-asset-2e65be.s3.amazonaws.com. IN A

;; Query time: 9 msec
;; SERVER: 192.168.178.37#53(192.168.178.37)
;; WHEN: Mo Mai 18 06:18:40 CEST 2020
;; MSG SIZE  rcvd: 84




โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค Existing Install Detected! โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€


 We have detected an existing install.

 Please choose from the following options:
 (You will remain on the same version)

   Repair      This will retain existing settings
   Reconfigure This will reset your Pi-hole and allow you to ent







                 <Ok>                     <Abbrechen>

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€




  [i] Repair option selected
  [โœ“] Disk space check
  [โœ“] Update local cache of available packages

  [โœ“] Checking apt-get for upgraded packages... 1 updates available
  [i] It is recommended to update your OS after installing the Pi-h
ole!

  [i] Installer Dependency checks...
  [โœ“] Checking for dhcpcd5
  [โœ“] Checking for git
  [โœ“] Checking for iproute2
  [โœ“] Checking for whiptail

  [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 dnsutils
  [โœ“] 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 php7.3-common
  [โœ“] Checking for php7.3-cgi
  [โœ“] Checking for php7.3-sqlite3
  [โœ“] Checking for php7.3-xml
  [โœ“] Checking for php-intl

  [โœ“] Enabling lighttpd service to start on reboot...
  [โœ“] Checking for user 'pihole'

  [i] FTL Checks...

  [โœ“] Detected ARM-hf architecture (armv7+)
  [i] Checking for existing FTL binary...
  [i] Latest FTL Binary already installed (v5.0). Confirming Checks
um...
curl: (6) Could not resolve host: github-production-release-asset-2
e65be.s3.amazonaws.com
  [i] Corruption detected...
  [i] Downloading and Installing FTL...curl: (6) Could not resolve
host: github-production-release-asset-2e65be.s3.amazonaws.com
  [โœ—] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/ftl/releases/latest/downloa
d/pihole-FTL-arm-linux-gnueabihf not found
  [โœ—] FTL Engine not installed

I'm on v5.0 but it does not work. By trying some dubugging with pihole -r I endet up with this error. So I guessed that my problem has something to do with this thread, because I have the same error.

In the meanwhile I'm close to either reinstall pihole with hope that a clean installation wouldn't end up in the mess I have now or simply give up to save my time.

Do you have any kind of firewall configured? Something is truncating the DNS response at 512 bytes.

Please provide the output from pihole -v

pi@raspberrypi:~ $ pihole -v
  Pi-hole version is v5.0 (Latest: v5.0)
  AdminLTE version is v5.0 (Latest: v5.0)
  FTL version is v5.0 (Latest: v5.0)

but I'm struggeling with much bigger problems since I updated:

Log: 2gpg584e2u

but I'm struggeling with much bigger problems since I updated:

This is likely the reason why:

[53] is in use by dnsmasq (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)

do sudo systemctl stop dnsmasq && sudo systemctl disable dnsmasq and then restart the pi.

What is strange is that dnsmasq should have been disabled as part of the installation process. Did you enable/install it since installing Pi-hole?

Basically, pihole-FTL contains dnsmasq within it's code already, so it cannot run at the same time.

I don't want to waste more of your time. Thank you, but I will make a clean install of pihole tonight. I tried so many settings till now to solve my issue that it is not reproducable.
As far as I can tell pihole worked on v4 very good but with the update to v5 it got some problems maybe resulting on my bad settings.

I'd like to second this issue. I have the same issue on a pi3 running plain debain10 (dedicated only to this). I've successfully updated to 5.0:

$ pihole -v
  Pi-hole version is v5.0 (Latest: v5.0)
  AdminLTE version is v5.0 (Latest: v5.0)
  FTL version is v5.0 (Latest: v5.0)

and as a part of general system updates and maintenance I go to update with:

$ pihole -up
  [i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Failed to connect to github.com port 443: Connection refused
  [i] Pi-hole Core: up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Failed to connect to github.com port 443: Connection refused
  [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:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [i] Existing PHP installation detected : PHP version 7.3.14-1~deb10u1
  [i] Performing unattended setup, no whiptail dialogs will be displayed
  [โœ“] Disk space check
  [โœ“] Update local cache of available packages

  [โœ“] Checking apt-get for upgraded packages... up to date!

  [i] Installer Dependency checks...
  [โœ“] Checking for dhcpcd5
  [โœ“] Checking for git
  [โœ“] Checking for iproute2
  [โœ“] Checking for whiptail

  [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 dnsutils
  [โœ“] 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 php7.3-common
  [โœ“] Checking for php7.3-cgi
  [โœ“] Checking for php7.3-sqlite3
  [โœ“] Checking for php7.3-xml
  [โœ“] Checking for php-intl

  [โœ“] Enabling lighttpd service to start on reboot...
  [โœ“] Checking for user 'pihole'

  [i] FTL Checks...

  [โœ“] Detected ARM-hf architecture (armv7+)
  [i] Checking for existing FTL binary...
  [i] Downloading and Installing FTL...curl: (7) Failed to connect to github.com port 443: Connection refused
  [โœ—] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf not found
  [โœ—] FTL Engine not installed

  Unable to complete update, please contact Pi-hole Support

Failed to connect to github.com port 443: Connection refused

Github is refusing the connection.

I've successfully updated to 5.0:

So...

and as a part of general system updates and maintenance I go to update with:

Do you have something that is checking for updates? you might be hitting rate limits if so...

No this is me manually running less than once per week, perhaps once a month

I suggest not running pihole -up on any kind of automation or scheduling. You should have a notification when there is an update.

Can you run curl -I https://github.com/pi-hole/pi-hole.git/ from the Pi-hole device command line and see if there is a response?

$ curl -I https://github.com/pi-hole/pi-hole.git/
curl: (7) Failed to connect to github.com port 443: Connection refused

hmm, something interesting however, when run through my laptop (on the same network):

curl -I https://github.com/pi-hole/pi-hole.git/                     Fri 22 May 2020 01:56:03 PM MDT
HTTP/1.1 301 Moved Permanently
date: Fri, 22 May 2020 19:55:20 GMT
content-type: text/html
content-length: 162
server: GitHub.com
location: https://github.com/pi-hole/pi-hole/
x-frame-options: DENY
vary: Accept-Encoding
Set-Cookie: _gh_sess=Gc0CRH4v5zSSG5eqQRRi3mVdNaGtdwDWz9fnVFnaHRHlt1w%2BU3vRQACd2gIZ5CEIvMRclaNnrqmjn%2FVa4QpPkJJGNoIYwCAwG9kWEmK7MBAgvckj05SaTxmC1IwG7GBTeTBn2p22itxDvkjVszQ65MTJ61ChdHPcC0P7FYl6XnGvqiasUeuLwE6RsasnRcRbB%2B86w0OepEIHV04rUEbOhWRdmrNcC1qdyAfpPNRWP5lKVbpLaGdhB5Q1vy1VNSYKhlLe8mPzyV99XQd2Sk78Cg%3D%3D--h1YZN0BSJJZ79My9--d9D6X6qBneAtoAduwV%2FawQ%3D%3D; Path=/; HttpOnly; Secure
Set-Cookie: _octo=GH1.1.780498204.1590177320; Path=/; Domain=github.com; Expires=Sat, 22 May 2021 19:55:20 GMT; Secure
Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 22 May 2021 19:55:20 GMT; HttpOnly; Secure
X-GitHub-Request-Id: B3FE:4BB7:BE24:10E34:5EC82E28

Looks like you are indeed being blocked from GitHub. What is the IP address you get for github? dig github.com @127.0.0.1?

(from pihole)

$ dig github.com @127.0.0.1

; <<>> DiG 9.11.5-P4-5.1+deb10u1-Raspbian <<>> github.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1199
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;github.com.            IN  A

;; ANSWER SECTION:
github.com.     2   IN  A   0.0.0.0

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 22 13:57:12 MDT 2020
;; MSG SIZE  rcvd: 44

You have github.com on a blocklist.

pihole -q -exact github.com

hmmm, interesting. I _think_ you're right:

$ pihole -q -exact github.com
 Exact matches for github.com found in:
  - https://easylist.to/easylist/fanboy-annoyance.txt
  - https://easylist.to/easylist/fanboy-annoyance.txt
  - https://easylist.to/easylist/fanboy-social.txt

Except that Im taking to you guys on github.com currently...

Also adding www.github.com to the whitelist had not effect

hmm, i suspect I don't know how to configure this. I disabled pihole for 30 sec and the update ran just fine... Apparently I don't know how to whitelist items properly...

If I were you I would remove those lists, they are not in the correct format for pi-hole, they are designed for browser-based blockers.

@WaLLy3K has a version of the easylist formatted correctly:

https://v.firebog.net/hosts/Easylist.txt

Thanks. I removed the old ones and replaced with your recommendation. It all works as intended now.

This isnt solving it for me:

pi@raspberrypi:~ $ pihole -q -exact github.com
  [i] No exact results found for github.com within the block lists
pi@raspberrypi:~ $ pihole -up
  [i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Couldn't connect to server
  [i] Pi-hole Core: up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Couldn't connect to server

I realised I couldnt even ping 8.8.8.8

pi@raspberrypi:~ $ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.1.0        0.0.0.0         255.255.255.0   U     202    0        0 eth0

Gateway was the problem, it should be the address of the router so I added:
sudo route add default gw [THE_IP_OF_YOUR_ROUTER]
Now it works!

pi@raspberrypi:~ $ pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core: update available
  [i] Web Interface:    update available
  [i] FTL:      update available

etc...etc......

Update Complete! 

  Current Pi-hole version is v5.1.2.
  Current AdminLTE version is v5.1.1.
  Current FTL version is v5.2.

I have this exact same issue, trying to update to FTL v5.3.1 from v5.2 today. The rest of my pihole update went without issue, but cannot update FTL with the phiole updater. It appears that https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-arm-linux-gnueabihf is not a valid address as of this post, as I can not ping/reach it from any of my devices. I am greeted with the github "this is not the page you are looking for" page not found no matter which device I use, and they all have no issues with internet access!

The file doesn't exist anymore. The binaries were renamed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

teckel12 picture teckel12  ยท  63Comments

tyrnight picture tyrnight  ยท  32Comments

fsantiago07044 picture fsantiago07044  ยท  31Comments

JobbeDeluxe picture JobbeDeluxe  ยท  37Comments

asoliman picture asoliman  ยท  33Comments