Hi,
I’m trying the upgrade to Bullseye on my Raspberry Pi Zero W.
I was going by https://dietpi.com/blog/?p=811, got as far as 2.2.4 Software migrations, put the command:
dietpi-software reinstall 31 38 40 47 48 56 83 84 85 88 89 93 114 118 130 143
When it got to Pi-hole it failed on
DietPi-Software | ./install.sh --disable-install-webserver
The whole output in shell:
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing Pi-hole: block adverts for any device on your network
[ OK ] DietPi-Software | Checking URL: https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh
[ INFO ] DietPi-Software | APT install for: php7.4-xml php7.4-sqlite3 php7.4-intl, please wait...
[ OK ] DietPi-Software | APT install for: php7.4-xml php7.4-sqlite3 php7.4-intl
[ OK ] DietPi-Software | curl -sSfL https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh -o install.sh
[ OK ] DietPi-Software | chmod +x install.sh
[ INFO ] DietPi-Software | ./install.sh --disable-install-webserver, please wait...
[✓] 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] Update option selected
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...HEAD is now at b5e0f14 Merge pull request #4405 from pi-hole/development
[✓] 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 ee50954 Merge pull request #1935 from pi-hole/devel
[✓] Update repo in /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
[✓] Checking for lighttpd
[✓] Checking for php7.4-common
[i] Checking for php7.4-cgi (will be installed)
[✓] Checking for php7.4-sqlite3
[✓] Checking for php7.4-xml
[✓] Checking for php7.4-intl
[✓] Checking for php7.4-json
[i] Processing apt-get install(s) for: php7.4-cgi, please wait...
Selecting previously unselected package php7.4-cgi.
(Reading database ... 86101 files and directories currently installed.)
Preparing to unpack .../php7.4-cgi_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-cgi (7.4.25-1+deb11u1) ...
Setting up php7.4-cgi (7.4.25-1+deb11u1) ...
update-alternatives: using /usr/bin/php-cgi7.4 to provide /usr/bin/php-cgi (php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php7.4 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode
Creating config file /etc/php/7.4/cgi/php.ini with new version
Processing triggers for php7.4-cgi (7.4.25-1+deb11u1) ...
[✓] Enabling lighttpd service to start on reboot...
[✓] Checking for user 'pihole'
[i] FTL Checks...
[✓] Detected ARMv6 processor (with hard-float support)
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.11). Confirming Checksum...
[i] Checksum correct. No need to download!
[✓] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[✓] 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
[i] Installing latest logrotate script...
[i] Existing logrotate file found. No changes made.
[i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
[i] man not installed
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved is not enabled
[FAILED] DietPi-Software | ./install.sh --disable-install-webserver
It seems to fail on Restarting lighttpd service…
I guess it because Pi-hole changes /etc/lighttpd/lighttpd.conf ?
What to do?
BugReport | Reference code: 6ed542ea-5eaa-4e60-b516-eb13f3a3cf1e