Upgrade Fail Everytime After V4.0

Please follow the below template, it will help us to help you!

Expected Behaviour:

Upgrade with no errors.

Actual Behaviour:

Unable to complete update, please contact Pi-hole Support

Debug Token:

Using curl for transmission. There was an error uploading your debug log. Please contact pi-hole team.

Ever since version Ver.4.0 was released, I have trouble updating every new versions there after. Below is a partial list of what pihole is doing during the upgrade. There is one error as you can see. My system is using dnsmasq and pihole has do away with it after version 4.0??

[i] Installing blocking page...
[✓] Creating directory for blocking page, and copying files
[✗] 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
[✓] Restarting lighttpd service...
[✓] Enabling lighttpd service to start on reboot...
[i] Restarting services...
[✓] Enabling pihole-FTL service to start on reboot...
[✓] Restarting pihole-FTL service...
[✓] Deleting existing list cache
[i] Pi-hole blocking is enabled
[✗] DNS service is not running
[✓] Starting DNS service
[✗] DNS resolution is not available

Unable to complete update, please contact Pi-hole Support

*What I have tried but failed to get pihole up and running:
Stopping dnsmasq and restarting pihole-FTL. Rebooting the pi.

*What I have tried with success after every failed upgrade attempt to get pihole up and running:
Change line: su -s /bin/sh -c "/usr/bin/pihole-FTL" "$FTLUSER" -> /usr/bin/pihole-FTL in '/etc/init.d/pihole-FTL'
sudo systemctl daemon-reload
sudo service pihole-FTL restart

I would like to fix this, but do not know where to look. If you need any other info, please let me know. Thanks you.

Yes. Dnsmasq with Pih-Hole version 4.0 and later is embedded in pihole-FTL. The pihole-FTL process runs in place of dnsmasq and all existing dnsmasq configuration files should continue to work. The current dnsmasq version in pihole-FTL is 2.80:

dig chaos txt version.bind +short
"dnsmasq-pi-hole-2.80"

As noted above, disabling and removing dnsmasq will avoid conflicts between dnsmasq and pihole-FTL. This command will remove all of dnsmasq.

sudo apt-get remove dnsmasq-base

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