Reinstall/repair pihole without replacing compiled pihole-FTL binary
Context: I have a slot 1-based system with two Pentium 3 processors and 1GB ECC memory running Debian 12 i686 on my LAN. I already have this system running as a local NAS and web server but I would also like to host my Pi-hole from here.
When I run the installer script for Pi-hole it gets about halfway through the installation until it attempts to initialize pihole-FTL which then crashes with an Illegal Instruction exception. My guess is the binary on the Github repo is compiled using some SSE2 instructions which the P3 doesn't support. No big deal, I was able to clone the pihole-FTL repo locally to recompile and install it myself. Doing this I was able to bring up the service and open the dashboard hosted on the P3. However, everything was still broken because the initial installer script was never able to complete. The database was never generated/linked, there is no authentication for the dashboard and it's showing DNS server failure in the corner.
After confirming the dashboard at least started with my recompiled pihole-FTL I wanted to try running pihole -r to hopefully finish configuring all of the steps the installer script had missed when it stopped earlier. Problem is pihole -r checks the signature of the pihole-FTL binary against the signature of the one on the Github. As a result, it deleted the binary I had just compiled and replaced it with the one it can't run off Github causing the repair script to stop dead again because it can't restart the FTL service after replacing my binary.
Is there a command line argument or some other way to run the Pi-hole repair script that doesn't replace the pihole-FTL binary in the process? Or maybe an alternative installer script one can use that allows you to specify or install the pihole-FTL binary/path manually so it doesn't need to download one off the Github? Something like this would be great to allow users to compile and run Pi-hole on other SBCs and architectures too that may not be officially supported yet by the Pi-hole team like PowerPC or MIPS also.
Posted Oct 16, 2025, 5:06 AM UTC