Homelab · DNS

Upgrading to Pi-hole v6: One-Way, So Prepare First

Pi-hole v6 is a rebuild, not a reskin: the web server and API moved inside FTL, lighttpd and PHP are gone, and the scattered v5 configuration files consolidated into a single pihole.toml. The current point releases make upgrading a security decision rather than a preference — Core v6.6 and FTL v6.9, both released November 11, 2026, close high-severity holes, and one medium finding carries an action for anyone who has ever shared a debug log. The catch is that the upgrade is strictly one-way. This guide puts the preparation before the command, where it belongs.

Published Nov 23, 2026

First, the version numbers — there are four of them

Pi-hole versions its components separately, and quoting a single “Pi-hole version” for the current release is the first error to avoid. As of November 2026 the set is: Core v6.6 and FTL v6.9, both released November 11, 2026 as security releases; the web interface at v6.6.1, from October 17, 2026, with no new web release in this round; and the Docker image tagged 2026.11.0. The v6 line itself dates from February 18, 2025. There is no Pi-hole v7 in release — the FTL v6.9 notes say explicitly that these fixes ship without the v7 work — so any guide promising a v7 upgrade is inventing it.

Why this upgrade is urgent: the 6.6 and 6.9 security fixes

The November 2026 releases close four High-severity advisories in Core and one in FTL: command execution through unescaped file paths in the gravity script and Teleporter, and several cases of root-privileged operations following symlinks or user-controlled paths during repair, update, checkout and uninstall operations. Six further low-severity FTL issues were fixed alongside them. Staying on an early v6 point release — or on v5 — means running with those holes open, which is the practical argument for moving now rather than at leisure.

One medium-severity finding deserves its own paragraph because it asks something of you personally. Debug logs generated by pihole -d on versions before 6.6 could include your web password hash, your app password hash, and your two-factor TOTP secret — the very logs the community routinely asks people to upload when troubleshooting. Pi-hole’s own advice is unambiguous: if you ever shared or uploaded a debug log from a pre-6.6 install, then after updating you should change the web password with pihole setpassword, change the app password, and re-enroll two-factor authentication. Treat any older advice that a shared debug log was harmless as retired.

Two behavior changes in FTL v6.9 are worth knowing before they surprise you. The regular-expression engine changed how some stored filters match — certain repetition patterns are now rejected outright — so exotic hand-written regex filters should be re-tested after the upgrade. And the web server’s access-control matching between IPv4 and IPv6 was corrected, which can change who is admitted on dual-stack setups that relied on the old behavior.

What v6 changed, in one pass

The architectural headline is consolidation. The web server and a REST API are embedded in pihole-FTL itself; lighttpd and PHP are no longer part of the system at all. Configuration consolidated into /etc/pihole/pihole.toml, a single commented TOML file replacing setupVars.conf and its scattered companions — data files such as gravity.db still exist, so “one config file” is the accurate claim, not “one file for everything”. Settings can be changed by editing the TOML, through the command line, through the API and web interface, or through FTLCONF_ environment variables — the preferred method for Docker, noting that a value forced by an environment variable is re-applied at every start and effectively read-only in the interface. Allowlists became subscribable, like blocklists — the feature Pi-hole calls Antigravity — the interface gained Basic and Expert modes, native HTTPS arrived with your own certificate or an automatic self-signed one, and the Docker image was rebased from Debian to Alpine and rewritten, making it much smaller.

Before you run anything: the one-way warning and the backup

Pi-hole’s own words for the v5-to-v6 upgrade are that it is “strictly a one-way operation”. Running pihole -up on a bare-metal v5 install migrates your configuration into pihole.toml automatically and writes a migration backup under /etc/pihole — and there is no supported path back down. The only return route is a fresh v5 installation with your settings restored into it. Docker users face the same one-way door in image form: pull a v6 image (2026.11.0 today; the last image containing v5 was 2024.07.0) and the migration runs in the container.

So the sequence starts with a Teleporter export — Settings → Teleporter in the interface, or pihole-FTL --teleporter on the command line — which captures configuration, lists, groups and allow/block entries. Understand what Teleporter is: a settings backup that can feed a fresh install of either generation, and the sanctioned safety net before an upgrade. It is not a downgrade mechanism; it does not turn a v6 system back into v5 in place. Verify the export exists and is readable before you proceed, and if you can, test-import it into a fresh v6 on spare hardware or a virtual machine before touching the real resolver — imports from v5 exports were patched repeatedly across the v6 cycle, which is a reason to rehearse, not a reason to panic.

During the bare-metal upgrade you will be asked whether to disable lighttpd. Disable it, unless that lighttpd also serves other sites on the same machine. With it disabled, FTL takes ports 80 and 443 itself; if either port is already claimed, the HTTP interface falls back to 8080, which is the first thing to check before declaring the new interface broken. A migrated install keeps its existing password — the behavior where a fresh install generates one does not apply to upgrades, so do not go hunting through logs for a random password that was never set.

The gotchas that generate the support threads

Your v5 Docker variables are dead. Nearly every v5 environment variable silently stops working in v6 — the container starts, the variables are present, and nothing honors them. Each setting needs its FTLCONF_ equivalent. The mappings that matter most:

v5 variablev6 replacement
WEBPASSWORDFTLCONF_webserver_api_password
PIHOLE_DNS_FTLCONF_dns_upstreams
WEB_PORTFTLCONF_webserver_port
DNSMASQ_LISTENING / INTERFACEFTLCONF_dns_listeningMode / FTLCONF_dns_interface
DNSSEC / QUERY_LOGGINGFTLCONF_dns_dnssec / FTLCONF_dns_queryLogging
DHCP family and REV_SERVER*FTLCONF_dhcp_* family; conditional forwarding collapses into the single FTLCONF_dns_revServers array
ServerIP, DNS1, DNS2, VIRTUAL_HOST and similarRemoved with no replacement — delete them

Your dnsmasq.d snippets are being ignored. Version 6 does not read /etc/dnsmasq.d/ unless you opt in — set misc.etc_dnsmasq_d in pihole.toml, or FTLCONF_misc_etc_dnsmasq_d to true in Docker, with the folder mounted. The alternative is folding a few lines into the misc.dnsmasq_lines setting. Years of accumulated local overrides and custom DHCP options live in that directory for long-time users, and their silent disappearance is the single most common “v6 broke my setup” report. Only .conf files in the directory are read even when it is enabled.

Finish the job properly. Run a gravity update with pihole -g after the migration and confirm your blocklists — and any new Antigravity allowlist subscriptions — survived. Re-test any hand-written regex filters against the new engine. Then do the security housekeeping from the top of this guide if it applies to you: new web password, new app password, fresh two-factor enrollment, for anyone who shared a pre-6.6 debug log. Staying current inside v6 afterwards is the same pihole -up command on bare metal, or pulling the new dated Docker image — pinning the tag, such as pihole/pihole:2026.11.0, rather than floating on latest, is a reasonable choice for a resolver your whole network depends on, offered here as a tradeoff to consider rather than a rule from the project.

Official documentation and references

Frequently asked questions

Can I downgrade back to Pi-hole v5 if v6 causes problems?

Not in place. Pi-hole describes the upgrade as strictly a one-way operation, and pihole -up offers no rollback. The only way back is a fresh v5 installation with your settings restored from a Teleporter export taken beforehand. That is why the export — and ideally a test import — comes before the upgrade command, not after a problem appears.

I shared a Pi-hole debug log last year. Am I affected by the v6.6 fixes?

Possibly, and the safe course is to act as if you are. Debug logs from versions before Core v6.6 could include the web password hash, the app password hash and the TOTP two-factor secret. Pi-hole’s advice after updating to 6.6 is to change the web password with pihole setpassword, change the app password, and re-enroll two-factor authentication.

Why did my Docker container ignore all my settings after upgrading?

Because nearly all v5 environment variables are dead in v6 — they fail silently rather than erroring. Every setting needs its FTLCONF_ equivalent: WEBPASSWORD becomes FTLCONF_webserver_api_password, PIHOLE_DNS_ becomes FTLCONF_dns_upstreams, and so on. Some variables, including ServerIP, DNS1 and DNS2, were removed with no replacement and should simply be deleted from the compose file.

My custom dnsmasq settings stopped working after the upgrade. Why?

Version 6 ignores /etc/dnsmasq.d/ by default. Enable it deliberately with the misc.etc_dnsmasq_d option in pihole.toml — FTLCONF_misc_etc_dnsmasq_d set to true for Docker, with the folder mounted — or move the lines into the misc.dnsmasq_lines setting. Only .conf files in that directory are read.

What is the current Pi-hole version?

It is a set, not a single number: Core v6.6 and FTL v6.9 (both November 11, 2026, and both security releases), web interface v6.6.1 (October 17, 2026), and Docker image 2026.11.0. There is no Pi-hole v7 in release; the FTL v6.9 notes state the fixes ship without the v7 work.

Does the upgrade change my password?

A migrated install keeps its existing password — the random-password behavior belongs to some fresh and Docker installs, not to the in-place v5-to-v6 upgrade. Separately, if you ever shared a pre-6.6 debug log, you should change the web and app passwords and re-enroll two-factor authentication after upgrading, as your own deliberate step.

Related guides