# Pihole won't update. 'Web Admin repo is missing from system!'

**URL:** https://discourse.pi-hole.net/t/pihole-wont-update-web-admin-repo-is-missing-from-system/83989
**Category:** Help
**Created:** [December 14, 2025, 5:16pm UTC](https://discourse.pi-hole.net/t/pihole-wont-update-web-admin-repo-is-missing-from-system/83989 "2025-12-14T17:16:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Iodin](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/i/eb8c5e/32.png) [@Iodin](https://discourse.pi-hole.net/u/Iodin)
#### Post date: [December 14, 2025, 5:16pm UTC](https://discourse.pi-hole.net/t/pihole-wont-update-web-admin-repo-is-missing-from-system/83989/1 "2025-12-14T17:16:42Z")

</div>

Hello. Today I tried to update my pihole using ‘sudo pihole -up’. However, the following occurred:

> ```auto
> [✓] Building dependency package pihole-meta.deb
> [✓] Installing Pi-hole dependency package
> 
> [i] Checking for updates...
> [i] Pi-hole Core:	update available
> 
> Error: Web Admin repo is missing from system!
> Please re-run install script from https://pi-hole.net
> 
> ```

I looked at some forums and tried this command:

> `sudo git config --global --add safe.directory /var/www/html/admin`

but the results were the same. Any way to fix it? Thanks in advance.

- Debug token: [https://tricorder.pi-hole.net/A4hPOC4E/](https://tricorder.pi-hole.net/A4hPOC4E/)
- Operating System - Dietpi version 9.19.2
- Hardware - RaspberryPi Zero 2 W

---

<div class="post-metadata">

### Author: ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)
#### Post date: [December 14, 2025, 5:24pm UTC](https://discourse.pi-hole.net/t/pihole-wont-update-web-admin-repo-is-missing-from-system/83989/2 "2025-12-14T17:24:58Z")

</div>

Try to nuke the web repo and clone it again using these commands:

```auto
sudo rm -rf /var/www/html/admin
sudo git clone https://github.com/pi-hole/web.git /var/www/html/admin

```

After that, try to updated again.

---

<div class="post-metadata">

### Author: ![Iodin](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/i/eb8c5e/32.png) [@Iodin](https://discourse.pi-hole.net/u/Iodin)
#### Post date: [December 14, 2025, 6:17pm UTC](https://discourse.pi-hole.net/t/pihole-wont-update-web-admin-repo-is-missing-from-system/83989/3 "2025-12-14T18:17:44Z")

</div>

That did the trick! Thank you very much!

---

<div class="post-metadata">

### Author: ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)
#### Post date: [January 4, 2026, 6:18pm UTC](https://discourse.pi-hole.net/t/pihole-wont-update-web-admin-repo-is-missing-from-system/83989/4 "2026-01-04T18:18:13Z")

</div>

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