@yubiuser, I ran some tests today using the new flag PIHOLE_SKIP_FTL_BINARY_CHECK and this branched basic-install.sh script. This was on an already established, working installation, so it simply treated it as an update rather than a fresh install. I will try a fresh install later this week and report back w/ details.
If there is any way I can further help in testing, please let me know and I'll contribute. NOTES: are at the end...
Conditions for these tests:
- hardware: Pogoplug v4 (Kirkwood SoC w/ ARMv5TE @800MHz, 128MB RAM)
- installed OS: Debian Trixie/Testing (13.0, not yet released) [N.B. Current Debian Stable is Bookworm 12.x]
- init: sysvinit, not systemd
pihole v6 already installed,up-to-date, operating as expected
- Core version is v6.0.4 (Latest: v6.0.4)
- Web version is v6.0.1 (Latest: v6.0.1)
- FTL version is v6.0.2 (Latest: v6.0.2)
pihole-FTL binary pre-installed at /usr/bin/pihole-FTL
, built from vanilla/official/master source w/ Debian chroot/qemu setup
Output/Results
./basic-install.sh
root@trixie-debian-armel:/# ./basic-install.sh
[β] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[i] SELinux not detected
[β] Update local cache of available packages
[β] Checking apt-get for upgraded packages... 41 updates available
[i] It is recommended to update your OS after installing the Pi-hole!
[β] Building dependency package pihole-meta.deb
[β] Installing Pi-hole dependency package
[β] Unsupported OS detected: Debian
If you are seeing this message and you do have a supported OS, please contact support.
https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems
If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:
e.g: If you are seeing this message on a fresh install, you can run:
curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash
If you are seeing this message after having run pihole -up:
sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
(In this case, your previous run of pihole -up will have already updated the local repository)
It is possible that the installation will still fail at this stage due to an unsupported configuration.
If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/
================================================
PIHOLE_SKIP_OS_CHECK=true PIHOLE_SKIP_FTL_BINARY_CHECK=true ./basic-install.sh
root@trixie-debian-armel:/# PIHOLE_SKIP_OS_CHECK=true PIHOLE_SKIP_FTL_BINARY_CHECK=true ./basic-install.sh
[β] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[i] SELinux not detected
[β] Update local cache of available packages
[β] Checking apt-get for upgraded packages... 41 updates available
[i] It is recommended to update your OS after installing the Pi-hole!
[β] Building dependency package pihole-meta.deb
[β] Installing Pi-hole dependency package
[i] PIHOLE_SKIP_OS_CHECK env variable set to true - installer will continue
[i] Update option selected
[β] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...HEAD is now at 567bb72 Pi-hole Core v6.0.4 (#5975)
[β] Update repo in /etc/.pihole
[β] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...HEAD is now at 42e7279a Pi-hole web v6.0.1 (#3234)
[β] Update repo in /var/www/html/admin
[β] Checking for user 'pihole'
[i] FTL Checks...
[β] This processor architecture is not supported by Pi-hole (v5TE) [β] Unknown error. Please contact Pi-hole Support
[β] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[β] Installing latest Cron script
[i] Installing latest logrotate script...
[i] Existing logrotate file found. No changes made.
[β] man pages installed and database updated
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved is not enabled
[i] Restarting services...
[β] Enabling pihole-FTL service to start on reboot...
[i] Restarting pihole-FTL service...System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to system scope bus via local transport: Host is down
================================================
PIHOLE_SKIP_OS_CHECK=true PIHOLE_SKIP_FTL_BINARY_CHECK=true pihole checkout web master
root@trixie-debian-armel:/# PIHOLE_SKIP_OS_CHECK=true PIHOLE_SKIP_FTL_BINARY_CHECK=true pihole checkout web master
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/web.git
[i] 18 branches available for Web Admin
[β] Switching to branch: 'master' from 'refs/heads/master'
[i] Already up to date.
================================================
PIHOLE_SKIP_OS_CHECK=true PIHOLE_SKIP_FTL_BINARY_CHECK=true pihole checkout core master
root@trixie-debian-armel:/# PIHOLE_SKIP_OS_CHECK=true PIHOLE_SKIP_FTL_BINARY_CHECK=true pihole checkout core master
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] 11 branches available for Pi-hole Core
[β] Switching to branch: 'master' from 'refs/heads/master'
[i] Already up to date.
[i] Running installer to upgrade your installation
[β] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[i] SELinux not detected
[β] Update local cache of available packages
[β] Checking apt-get for upgraded packages... 41 updates available
[i] It is recommended to update your OS after installing the Pi-hole!
[β] Building dependency package pihole-meta.deb
[β] Installing Pi-hole dependency package
[i] PIHOLE_SKIP_OS_CHECK env variable set to true - installer will continue
[i] Performing unattended setup, no dialogs will be displayed
[β] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...HEAD is now at 567bb72 Pi-hole Core v6.0.4 (#5975)
[β] Update repo in /etc/.pihole
[β] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...HEAD is now at 42e7279a Pi-hole web v6.0.1 (#3234)
[β] Update repo in /var/www/html/admin
[β] Checking for user 'pihole'
[i] FTL Checks...
[β] This processor architecture is not supported by Pi-hole (v5TE) [β] Unknown error. Please contact Pi-hole Support
[β] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[β] Installing latest Cron script
[i] Installing latest logrotate script...
[i] Existing logrotate file found. No changes made.
[β] man pages installed and database updated
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved is not enabled
[i] Restarting services...
[β] Enabling pihole-FTL service to start on reboot...
[i] Restarting pihole-FTL service... Error: Unable to complete update, please contact support
NOTES:
My interpretation of these results is that it all appears to work as I'd expect it to, normally.
- The v5TE processor is detected, but the installer continues.
- FTL binary is checked.
- The Restarting pihole-FTL service fails due to SysVInit (instead of Systemd) usage.
- The two distinct flags (OS Check and FLT Check) do not seem to interact in any unpredictable way.
I will check this on a freshly installed OS w/ no alterations/previous installs, and confirm that it functions for initial install (non-update).