pi-hole / FTL

The Pi-hole FTL engine
https://pi-hole.net
Other
1.38k stars 196 forks source link

FTL Failing to Update #1619

Closed LazerDickMcCheese closed 1 year ago

LazerDickMcCheese commented 1 year ago

Versions

Pi-hole version is v5.15.3 (Latest: N/A) AdminLTE version is v5.18.3 (Latest: N/A) FTL version is v5.20.1 (Latest: N/A)

Platform

Expected behavior

pihole -up Update Pi-hole

Actual behavior / bug

pihole -up fails and I get this reassuring error: Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-aarch64-linux-gnu not found

Steps to reproduce

Steps to reproduce the behavior:

Type 'pihole -up'...?

Debug Token

I cannot provide one, please see the awesome error I was given: curl: (7) Failed to connect to tricorder.pi-hole.net port 443: No route to host

Additional context

I apologize in advance, but in case it isn't obvious: I'm not a Linux person...this kind of problem is exactly why. Any help is appreciated, I just want this thing (that I set up years ago) to update as intended. I'm not even sure if this is the correct place to type this out, but posting to Github is the only recommendation I've been given.

rdwebdesign commented 1 year ago

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

I think this was a temporary issue (network issue or maybe a server side issue).

Can you please try again?

LazerDickMcCheese commented 1 year ago

Hey, thank you for the response. I just tried again and got the same error: "Unable to complete update, please contact Pi-hole Support." I fully assume this is an error on my side, I could have easily set something up to unknowingly fail...but I have no idea.

rdwebdesign commented 1 year ago

Debug Token

I cannot provide one, ...

Why? Are you seeing an error message? (maybe this is related)

LazerDickMcCheese commented 1 year ago

Why? Are you seeing an error message? (maybe this is related)

Exactly, this is the error i get:

"curl: (7) Failed to connect to tricorder.pi-hole.net port 443: No route to host"

LazerDickMcCheese commented 1 year ago

I attempted another update, the issue persists.

Because my Pi-hole is incapable of connecting to this repo for the forseeable future, is it possible to force an update directly on the SD card with Windows?

rdwebdesign commented 1 year ago

Are you able to connect to the repo using this link on your browser? https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-aarch64-linux-gnu

If you are, the problem is on your Raspberry Pi.

LazerDickMcCheese commented 1 year ago

Yes, I can connect to it in my browser. Is it possible to force an update via the SD card?

rdwebdesign commented 1 year ago

Is it possible to force an update via the SD card?

No.

If you can connect via browser, we need find out why your Raspberry Pi is not able to connect.

On your RP, what is the output of sudo cat /etc/resolv.conf?

LazerDickMcCheese commented 1 year ago

Generated by dhcpcd from eth0.dhcp6, eth0.ra

/etc/resolv.conf.head can replace this line

search attlocal.net nameserver 2600:1700:c560:5c50::1

/etc/resolv.conf.tail can replace this line

rdwebdesign commented 1 year ago

Another question:

Do you have any firewall rules in place, that could block the curl command?

LazerDickMcCheese commented 1 year ago

I don't even know how to check...It used to update just fine, and I haven't changed any rules like that. Any idea how to check on Windows or SSH?

LazerDickMcCheese commented 1 year ago

Please see the referenced issue above, this has been solved.