non-standard elements:
- Web Server
apache2 instead of lighttpd - I don't run a fresh installation of raspbian. This installation is years old an was upgraded fom Stretch to Buster to Bullseye. I dont't whant to reinstall it, because i also use this Pi as a internet radio, IR controlled and with a homebrewed web GUI for the radio.
additional information:
I already had a working installation. But it stopped working after some updates. I was no longer able to update the gravity because it stucked at "pending...". So i decided to reinstall it.
Expected Behaviour:
Install script should run fine.
curl -sSL https://install.pi-hole.net | bash
After "Checking for dnsutils" the script should move one.
-operating system
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
-hardware]_
Raspberry Pi Model B Rev 2
Actual Behaviour:
Installation stuck at "Checking for dnsutils".
pi@raspberrypi:~ $ curl -sSL https://install.pi-hole.net | bash
[i] Root user check
[i] Script called with non-root privileges
The Pi-hole requires elevated privileges to install and run
Please check the installer for any concerns regarding this requirement
Make sure to download this script from a trusted source
[✓] Sudo utility check
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.4.25
[✓] Checking apt-get for upgraded packages... up to date!
[i] Checking for / installing Required dependencies for OS Check...
[✓] Checking for grep
[✓] Checking for dnsutils
... 30min later, nothing happens.
Debug Token:
I'm not able to run "pihole -d" because the installation faild.
What I tried to fix the Problem:
- Uninstall Pi Hole by the uninstall script. Still stucks at the same point when I try to reinstall it.
- Purged dnsutils by "sudo apt purge dnsutils". The Pi Hole script reinstalled dnsutils but it stucks after the installation of dnsutils.
*My native language is german.
Update:
When I skip the OS check, the setup will move on. But it will stuck at "Pending..." again.
> pi@raspberrypi:~ $ curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash
>
> [✓] Root user check
>
> .;;,.
> .ccccc:,.
> :cccclll:. ..,,
> :ccccclll. ;ooodc
> 'ccll:;ll .oooodc
> .;cll.;;looo:.
> .. ','.
> .',,,,,,'.
> .',,,,,,,,,,.
> .',,,,,,,,,,,,....
> ....''',,,,,,,'.......
> ......... .... .........
> .......... ..........
> .......... ..........
> ......... .... .........
> ........,,,,,,,'......
> ....',,,,,,,,,,,,.
> .',,,,,,,,,'.
> .',,,,,,'.
> ..'''.
>
> [✓] Update local cache of available packages
> [i] Existing PHP installation detected : PHP version 7.4.25
>
> [✓] Checking apt-get for upgraded packages... up to date!
>
> [i] Checking for / installing Required dependencies for OS Check...
> [✓] Checking for grep
> [✓] Checking for dnsutils
>
> [i] PIHOLE_SKIP_OS_CHECK env variable set to true - installer will continue
> [i] Checking for / installing Required dependencies for this install script...
> [✓] Checking for git
> [✓] Checking for iproute2
> [✓] Checking for whiptail
> [✓] Checking for ca-certificates
>
> [i] SELinux not detected
>
> [i] Using interface: wlan0
> [i] Using upstream DNS: Google (ECS, DNSSEC) (8.8.8.8, 8.8.4.4)
> [i] IPv4 address: 192.168.10.22/24
> [i] Static IP already configured
> [i] Unable to find IPv6 ULA/GUA address
> [i] IPv6 address:
> [i] Web Interface On
> [i] Web Server Off
> [i] Logging On.
> [✗] Check for existing repository in /etc/.pihole
> [i] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole...HEAD is now at b5e0f14 Merge pull request #4405 from pi-hole/development
> [✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole
>
> [✗] Check for existing repository in /var/www/html/admin
> [i] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin...HEAD is now at ee50954 Merge pull request #1935 from pi-hole/devel
> [✓] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin
>
> [i] Checking for / installing Required dependencies for Pi-hole software...
> [✓] Checking for cron
> [✓] Checking for curl
> [✓] Checking for iputils-ping
> [✓] Checking for lsof
> [✓] Checking for psmisc
> [✓] Checking for sudo
> [✓] Checking for unzip
> [✓] Checking for idn2
> [✓] Checking for sqlite3
> [✓] Checking for libcap2-bin
> [✓] Checking for dns-root-data
> [✓] Checking for libcap2
>
> [✓] Creating user 'pihole'
>
> [i] FTL Checks...
>
> [✓] Detected ARMv6 processor (with hard-float support)
> [i] Checking for existing FTL binary...
> [✓] Downloading and Installing FTL
> [✓] Installing scripts from /etc/.pihole
>
> [i] Installing configs from /etc/.pihole...
> [✓] No dnsmasq.conf found... restoring default dnsmasq.conf...
> [✓] Installed /etc/dnsmasq.d/01-pihole.conf
> [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf
>
> [i] Installing blocking page...
> [✓] Creating directory for blocking page, and copying files
> [i] Backing up index.lighttpd.html
> No default index.lighttpd.html file found... not backing up
>
> [✓] Installing sudoer file
>
> [✓] Installing latest Cron script
>
> [✓] Installing latest logrotate script
> [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
> [✓] man pages installed and database updated
> [i] Testing if systemd-resolved is enabled
> [i] Systemd-resolved is not enabled
> [i] Lighttpd is disabled, skipping service restart
> [i] Restarting services...
> [✓] Enabling pihole-FTL service to start on reboot...
> [✓] Restarting pihole-FTL service...
> [i] Creating new gravity database
> [i] Migrating content of /etc/pihole/adlists.list into new database
> [✓] Deleting existing list cache
> [i] Neutrino emissions detected...
> [✓] Pulling blocklist source list into range
>
> [✓] Preparing new gravity database
> [i] Using libz compression
>
> [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
> [i] Status: Pending...
Only when I press Ctr+C the setup will continue.
[i] Status: Pending...^C
[i] User-abort detected
[✓] Cleaning up stray matter
[✓] DNS service is listening
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[i] Pi-hole blocking will be enabled
[i] Enabling blocking
[✓] Reloading DNS lists
[✓] Pi-hole Enabled