PiHole FTL Engine not installed

I am installing PiHole onto a RPi4 (2Gb RAM) running RaspbianOS. OS is running fine. PiHole install stops with this:

 [✓] Checking for user 'pihole'
  [i] FTL Checks...
  [✓] Detected ARMv7 processor (with hard-float support)
  [i] Checking for existing FTL binary...
  [i] Downloading and Installing FTL...curl: (23) Failed writing body (1293 != 16375)
  [✗] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf not found
  [✗] FTL Engine not installed*

Most every reference to this FTL issue discusses 'updating pihole' and what to do to correct. I am having this issue during installation so none of the "update fix suggestions" corrects the issue as pihole is NOT installed, as yet.

I have tried all three (3) versions of install script and all three (3) fail with the same reference.

I am hoping someone here may know what to do?

What's the output of

df -h

Output of:

linux@rpihole01:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  1.4G   27G   5% /
devtmpfs        800M     0  800M   0% /dev
tmpfs           961M     0  961M   0% /dev/shm
tmpfs           961M  8.5M  953M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           961M     0  961M   0% /sys/fs/cgroup
tmpfs           961M  288K  961M   1% /var/log
tmpfs           4.0K     0  4.0K   0% /var/lib/upsd
tmpfs           1.0M     0  1.0M   0% /var/tmp
tmpfs            10M     0   10M   0% /tmp
tmpfs            50M     0   50M   0% /var/www/html
/dev/mmcblk0p1  253M   49M  204M  20% /boot
tmpfs           193M     0  193M   0% /run/user/1001

Even with my novice skills I have been searching for reasons why 'curl' fails.

When I run: Alternative 2: Manually download the installer and run looking through the "basic-install.sh" I am unable to locate a curl command similar to the failure. A command that "calls" to download https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf does NOT exist within the script.

I could be wrong (not being a programmer) but, this "call" to download and install appears to come from elsewhere.

Why would curl be failing here?

Sorry for the delay.

With the df command we ruled out that it is a disk space issue.

There it is. The curl command uses ${url} and than adds the detected ${binary}. Can you run

curl https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf and post the output please.

Sure.

root@rpihole01:~# curl https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf
<html><body>You are being <a href="https://github.com/pi-hole/ftl/releases/download/v5.11/pihole-FTL-armv7-linux-gnueabihf">redirected</a>.</body></html>root@rootroot@rrootrororrorororooroot@rrrorororoororororroot@rroororrroroororoorroorootroorootrorootrootrootroororoorrooroot@roorororrooroorootrooroororrooroot@roorootrorrooroorootrorrroroorootroorootroroot@rorooroororoororrorootroororrorrorrrrrrrrroorrrrrr

(All the various "r's" and "o's" and the "t's" combinations continue farther the the terminal can expand but, I think you get the idea.)

Your thoughts?

Sorry the command was not right

curl -L https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf -o pihole

And now:

root@rpihole01:~# curl -L https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf -o pihole
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   153  100   153    0     0    788      0 --:--:-- --:--:-- --:--:--   792
100   638  100   638    0     0   2155      0 --:--:-- --:--:-- --:--:--  2155
100 10.9M  100 10.9M    0     0  4759k      0  0:00:02  0:00:02 --:--:-- 5539k

Suggestions?

The download was successful without issues. Please try again to install Pi-hole. Maybe this was only some connection hickup.

I will close this issue with these facts.

As Bullseye was recently released I have installed Pihole and will finish this when we return from our trip next week.

These machines I consider as servers. Running headless and supporting exclusive processes, I also include the following packages to assist me in maintenance, updates, etc. These packages are Postfix, Unattended Updates, Smartmontools, lm-sensors, & timesync. I have a difficult time thinking that any of these are interfering with the Pihole script but, I have decided that maybe this is why I am experiencing my failure issue.

With the Buster build (that Pihole script was complaining about) I had used a backup image and updated Buster to the latest (updates) before running the Pihole install script. This Buster backup image included all those "server" packages already installed. (This Pihole was going to replace a Pihole running on an older RPi 2B(I think?) with a RPi 4B (2Gb RAM) hardware.)

With a Bullseye build, I installed Pihole first and will add the other programs postinstall. And, as expected, Pihole installed without issue.

In the existing (RPi 2) build, two years ago or so, I had installed Pihole first and added other programs later and all was fine. Lesson learned.

Thanks for your time, I hope you do not feel like I abused it, I really appreciated your help.

2 Likes

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