Upgrading AdGuard Home to 1.0 with Docker: what changes and the unknown current schema version 35 rollback error
Table of contents
- Key takeaways
- What changes in AdGuard Home 1.0, and why latest has already upgraded you
- How I tested the upgrade
- Step 1: archive the conf and work volumes with AdGuard Home stopped
- Step 2: switch the tag to v1.0.1 and check the start
- Error "unknown current schema version 35" when rolling back to 0.107
- How to roll back to v0.107.80: restore the backup or set schema_version back to 34
- Problems I ran into after upgrading
- FAQ
- Can I go back to 0.107 if I made no backup before upgrading?
- Do I lose statistics, lists or clients when upgrading to AdGuard Home 1.0?
- Which Docker tag should I use now?
- Conclusion
- Sources
To upgrade AdGuard Home to 1.0 with Docker, archive the conf volume first and pin the v1.0.1 tag. Version 1.0 raises schema_version from 34 to 35, so v0.107.80 no longer starts on that configuration and exits with unknown current schema version 35. Restore the backup or set schema_version back to 34 to fix it.
To upgrade AdGuard Home to 1.0 with Docker, archive the conf volume first, pin the v1.0.1 tag and recreate the container. Rolling back by changing only the tag does not work: 1.0 raises schema_version from 34 to 35, and v0.107.80 exits with unknown current schema version 35. The fix is to restore the backup of AdGuardHome.yaml or to set schema_version back to 34 by hand. I repeated the upgrade and both rollbacks on 22 November 2026 on arm64 Linux. This guide is also available in Spanish.
Key takeaways
adguard/adguardhome:latestjumped to v1.0.0 on 19 November 2026 and has pointed to v1.0.1 since 2 December. If your Compose file sayslatest, the nextpullupgrades you without asking.- The upgrade kept everything in my test: rules, rewrites, clients, lists, statistics and the query log. Of the 149 keys in
AdGuardHome.yaml, only the value ofschema_versionchanged. - v0.107.80 does not start on an already migrated configuration:
failed to parse configuration file err="unknown current schema version 35", exit code 1 and a restart loop. - Two tested fixes: restore the backup of the
confvolume, or changeschema_version: 35toschema_version: 34with the container stopped. - 1.0 removes 12 HTTP (Hypertext Transfer Protocol) API routes. In my test,
/control/stats_infowent from answering 200 to 404.
What changes in AdGuard Home 1.0, and why latest has already upgraded you
AdGuard Home 1.0.0 came out on 19 November 2026, and the latest tag on Docker Hub moved the same day. v1.0.1 came out on 2 December, with fixes for the new interface and the same schema 35. Since that day, latest and v1.0.1 share the digest sha256:53ab56791bd4, and on 3 December 2026 v1.0.1 is the latest stable release. The previous one, v0.107.80, is from 3 November.
If you update your containers with Watchtower and your Compose file says latest, you are already on 1.0 or will be after the next cycle. The guide to install AdGuard Home with Docker pins a specific release for that reason, and this guide starts from an install like that one.
The release notes promise there is nothing to migrate: "No migration needed: v1.0 keeps the same configuration schema as v0.107.x". My test qualifies that. The content of the file does not change, but the schema number does, and that number is what blocks the way back. The same notes announce a new versioning model: "Minor releases may now include backward-incompatible changes, which lets us ship features faster".
These are the changes that affect a Docker install, according to the notes, the changelog and what I saw in the lab:
| Change | What you notice |
|---|---|
| New web interface | Same menu, new look; it loads on the usual port |
schema_version from 34 to 35 |
v0.107.80 no longer reads AdGuardHome.yaml |
| 12 API routes removed | They answer 404; each has a replacement |
| 4 command-line options | Ignored, with a warning in capitals |
| Default servers | Cloudflare on new installs; existing ones stay on Quad9 |
| Per-client settings | Use global settings covers protection only |
How I tested the upgrade
I ran AdGuard Home v0.107.80 with Docker Engine 29.5.2 and Docker Compose 2.40.3 on an arm64 Linux machine, with two named volumes for work and conf. I configured it through the first-run wizard and added state that could get lost. That meant two custom rules, one DNS (Domain Name System) rewrite, a persistent client with YouTube blocked, and TikTok blocked for everyone.
I added a second blocklist of 1,043 rules to the default list, which had 192,176. Then I sent 8 queries to the container, 3 of which came back blocked, so there were statistics and a query log to compare. In the lab I published the ports on 127.0.0.1 only and in a high range; the examples in this guide use the usual ones.
Step 1: archive the conf and work volumes with AdGuard Home stopped
The backup of the conf volume is what lets you return to 0.107 without editing anything by hand. That volume holds AdGuardHome.yaml, with the whole configuration and the admin user. The work volume stores the statistics, the query log and the downloaded lists. Pin the version in a .env file so the change is a single line:
services:
adguardhome:
image: adguard/adguardhome:${AGH_TAG}
container_name: adguardhome
restart: unless-stopped
volumes:
- adguard_work:/opt/adguardhome/work
- adguard_conf:/opt/adguardhome/conf
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80/tcp"
volumes:
adguard_work:
adguard_conf:
The .env file holds AGH_TAG=v0.107.80. Stop the container and archive both volumes from a helper container. The --volumes-from option mounts the stopped container's volumes at the same paths, so you do not need to know which prefix Compose gave them:
docker compose stop adguardhome
docker run --rm --volumes-from adguardhome:ro \
-v "$PWD/backup":/backup alpine:3.22 \
tar czf /backup/adguard-v0.107.80.tar.gz \
-C /opt/adguardhome conf work
My archive took 1.5 MB, nearly all of it blocklists. While AdGuard Home is stopped your network has no DNS if it is the only server, so pick a moment when that does not hurt. The guide to Docker volumes and bind mounts explains where each volume lives on the host.
Step 2: switch the tag to v1.0.1 and check the start
With the backup in place, the upgrade is one line in .env and an up -d. Use v1.0.1 rather than latest, so you decide when the next release arrives:
sed -i 's/^AGH_TAG=.*/AGH_TAG=v1.0.1/' .env
docker compose up -d adguardhome
docker compose logs adguardhome
The log shows the migration on its second line, followed by the normal start of the DNS server. My full test ran on v1.0.0, which is why the log shows that version. On 3 December I repeated the step from v0.107.80 with v1.0.1. It printed the same two lines with its own number, and v0.107.80 rejected the file again with the same error.
[info] starting adguard home version="AdGuard Home, version v1.0.0"
[info] config_migrator: upgrade yaml from=34 to=35
[info] webapi: initializing
[info] dnsproxy: starting dns proxy server
Check the version and the schema with two commands. The first asks the application programming interface (API) for the status with your user; the second reads the file inside the container:
curl -s -u admin:your_admin_password \
http://127.0.0.1/control/status
docker exec adguardhome grep schema_version \
/opt/adguardhome/conf/AdGuardHome.yaml
In my test the response started with {"version":"v1.0.0" and the file said schema_version: 35. 1.0.0 kept the two custom rules, the rewrite, the client with YouTube blocked, the TikTok block and both lists with their 192,176 and 1,043 rules. The statistics kept adding to the earlier ones: from 8 queries they went to 13 after five more tests.
I compared AdGuardHome.yaml before and after the migration. 1.0.0 reorders the keys, but all 149 keep their value except one: schema_version. The migration code explains why. The migrateTo35 function only touches dns.hostsfile_enabled and clients.runtime_sources.hosts if you used to start AdGuard Home with the --no-etc-hosts option.
Error "unknown current schema version 35" when rolling back to 0.107
This error appears when a 0.107 release reads an AdGuardHome.yaml that 1.0 has already migrated. I reproduced it by setting AGH_TAG back to v0.107.80 and recreating the container, which is the first thing anyone tries when something in 1.0 does not suit them. The log said this, over and over:
[info] starting adguard home version="AdGuard Home, version v0.107.80"
[error] failed to parse configuration file
err="unknown current schema version 35"
In the real log the error is a single line with no break: [error] failed to parse configuration file err="unknown current schema version 35". The container exits with code 1 and, with restart: unless-stopped, Docker relaunches it in a loop under its restart policy[1]. When I looked at mine, docker ps said Restarting (1) and it was on its 7th restart. While the loop lasts there is no DNS: my test query timed out.
The cause is in the configuration migrator. v0.107.80 knows schemas up to 34, and its validateVersion function rejects any higher number with the message unknown current schema version %d. The number in the message is the schema of the file, not that of the release that is starting. That is why you see 35 with any recent 0.107 release.
The same message with another number has the same cause. The changelog places the move from 33 to 34 in v0.107.74, so a release older than that one should show unknown current schema version 34 when it reads a v0.107.80 file. I infer that case from the code; I have not run it.
How to roll back to v0.107.80: restore the backup or set schema_version back to 34
The clean rollback is to restore the conf volume from the step 1 archive and start v0.107.80. Extract only conf if you want to keep the statistics and the query log gathered on 1.0:
docker compose stop adguardhome
docker run --rm --volumes-from adguardhome \
-v "$PWD/backup":/backup:ro alpine:3.22 \
tar xzf /backup/adguard-v0.107.80.tar.gz \
-C /opt/adguardhome conf
sed -i 's/^AGH_TAG=.*/AGH_TAG=v0.107.80/' .env
docker compose up -d adguardhome
After the restore, v0.107.80 started with schema_version: 34, the rules, the client and the lists. The statistics kept counting on top of those from 1.0, because I did not touch work. Anything you changed on 1.0 is lost: a rewrite I added there stopped resolving and returned NXDOMAIN.
If you have no backup, because Watchtower upgraded you unannounced, edit the schema number with the container stopped. It is the path the project's changelog documents for each earlier schema change: "To roll back this change, set the schema_version back to 33", says the v0.107.74 entry.
docker compose stop adguardhome
docker run --rm --volumes-from adguardhome alpine:3.22 \
sed -i 's/^schema_version: 35$/schema_version: 34/' \
/opt/adguardhome/conf/AdGuardHome.yaml
Before starting, validate the file with the release you are going back to. The --check-config option reads the configuration, reports and exits without opening ports:
docker run --rm --volumes-from adguardhome:ro \
adguard/adguardhome:v0.107.80 --check-config \
-c /opt/adguardhome/conf/AdGuardHome.yaml -w /tmp
With 35 in the file, that command repeated the error and exited with code 1. With 34 it answered configuration file is ok and code 0. Then I set AGH_TAG to v0.107.80, and docker compose up -d started the old release with all the state, including what I had changed on 1.0.
The hand edit worked because my migration had changed nothing but the number. If you used to start with --no-etc-hosts, 1.0 will have set the two keys named in migrateTo35 to false; review them when you go back. And if the next release changes the schema for real, the backup will be the only safe path.
Problems I ran into after upgrading
The upgrade does not warn you about five things that change around the container. None of them stops the start, but each can break something that relied on 0.107:
- Removed API routes: 1.0.0 deletes 12 deprecated routes. In my test,
/control/stats_info,/control/querylog_info,/control/blocked_services/listand/control/clients/findanswered 200 on v0.107.80 and 404 on 1.0.0. Their replacements/control/stats/config,/control/querylog/configand/control/blocked_services/getanswered 200./control/statusand/control/statsdo not change. - Command-line options:
-h,-p,--no-etc-hostsand--no-mem-optimizationno longer do anything. 1.0.0 starts anyway, but writesWARNING: ADGUARD HOME OPTION -p IS A NO-OP AND TO BE REMOVED. If your Compose file has acommand:copied from an old guide, clean it up. - TLS certificates in the interface: with TLS (Transport Layer Security) already configured, the new interface does not show the certificate path fields. According to issue 8733, the Set up button only appears after you click Reset DNS protocols. The
certificate_pathandprivate_key_pathkeys in the file keep working. - Per-client blocked services: issue 8752, opened on 21 November 2026, reports that the new interface does not save the blocked services of a persistent client. v1.0.1 does not fix it, and it is still open on 3 December. I have not reproduced it. In my test, the YouTube block created on v0.107.80 was still in the API after the upgrade.
- Default DNS servers: a fresh 1.0.0 install uses
https://cloudflare-dns.com/dns-queryand boots with1.1.1.1and1.0.0.1. An upgraded install keeps Quad9. The notes tie the change to Quad9 leaving France on 24 November 2026.
If you read AdGuard Home from scripts or from a dashboard such as Homepage, search them for the removed routes before you upgrade. The API changelog gives the replacement for each one.
One log warning looks new and is not: permcheck: warning: found unexpected permissions type=directory path=/opt/adguardhome/work perm=0755 want=0700. I saw it on v0.107.80 and on 1.0.0 alike. It went away after running chmod 700 /opt/adguardhome/work inside the container and restarting it.
FAQ
Can I go back to 0.107 if I made no backup before upgrading?
Yes, in the case I tested. Stop the container, change schema_version: 35 to schema_version: 34 in AdGuardHome.yaml, validate with --check-config and start v0.107.80. It worked because the migration to 1.0.0 only changes that number, unless you used --no-etc-hosts. Copy the file before you edit it.
Do I lose statistics, lists or clients when upgrading to AdGuard Home 1.0?
No. In my test 1.0.0 kept the rules, the rewrite, the persistent client, both blocklists, the statistics and the query log. All 149 configuration keys kept their value, except schema_version. The arm64 image barely changes in size either: 28.1 MB compressed for v0.107.80 and 26.7 MB for v1.0.0.
Which Docker tag should I use now?
A pinned release, such as v1.0.1. AdGuard warns that minor releases may bring incompatible changes, and latest has already shown that it jumps branches without notice. With a pinned tag you choose the day, take the backup first and read the changelog. If you want to compare with the alternative, there is the guide to install Pi-hole with Docker.
Conclusion
Upgrading AdGuard Home to 1.0 with Docker is a tag change that keeps the configuration and the data. The risk is in the way back: 1.0 stamps the file with schema 35, and 0.107 rejects it with unknown current schema version 35. Archive conf and work with the container stopped, pin v1.0.1 and check /control/status.
If you need to go back, restore conf or set schema_version back to 34, and validate with --check-config before you start. Then review what surrounds the container: scripts that call removed routes, old options in command: and the default DNS servers. The same pattern of backup, pinned tag and rollback applies when you upgrade Uptime Kuma to version 2.
Sources: [1] AdGuard Home, release notes for 1.0.0 on GitHub[2], [2] AdGuard Home, changelog at the v1.0.0 tag[3], [3] AdGuard Home, configuration migrator (migrator.go)[4], [4] AdGuard Home, migration to schema 35 (v35.go)[5], [5] AdGuard Home, API changelog[6], [6] AdGuard Home, issue 8733 on certificates in the interface[7], [7] AdGuard Home, issue 8752 on per-client blocked services[8], [8] AdGuard Home, issue 8686 on Quad9 and France[9], [9] adguard/adguardhome tags on Docker Hub[10], [10] Docker documentation, restart policies[1], [11] AdGuard DNS, list of known DNS providers[11], [12] AdGuard Home, release notes for 1.0.1 on GitHub[12].
Sources
- restart policy
- AdGuard Home, release notes for 1.0.0 on GitHub
- AdGuard Home, changelog at the v1.0.0 tag
- AdGuard Home, configuration migrator (migrator.go)
- AdGuard Home, migration to schema 35 (v35.go)
- AdGuard Home, API changelog
- AdGuard Home, issue 8733 on certificates in the interface
- AdGuard Home, issue 8752 on per-client blocked services
- AdGuard Home, issue 8686 on Quad9 and France
- adguard/adguardhome tags on Docker Hub
- AdGuard DNS, list of known DNS providers
- AdGuard Home, release notes for 1.0.1 on GitHub
Source code
Access all the source code for this post on GitHub.
View on GitHub