# Pihole installation works only after 2 installs

**URL:** https://dietpi.com/forum/t/pihole-installation-works-only-after-2-installs/1568
**Category:** Troubleshooting
**Created:** [21 October 2017 09:12 UTC](https://dietpi.com/forum/t/pihole-installation-works-only-after-2-installs/1568 "2017-10-21T09:12:55Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![k-plan](https://dietpi.com/forum/user_avatar/dietpi.com/k-plan/32/12_2.png) [@k-plan](https://dietpi.com/forum/u/k-plan)
#### Post date: [21 October 2017 16:20 UTC](https://dietpi.com/forum/t/pihole-installation-works-only-after-2-installs/1568/3 "2017-10-21T16:20:21Z")

</div>

> [@ripa](#):
>
> you need to install Pihole, reboot, uninstall Pihole, reboot, install Pihole to get it to work.

Yes correct, depending on device you used. This happen form time to time after putting a fresh image on sd card, since DietPi use the default PiHole install methode (install.sh) and not DietPi own PiHole repository any more.  
Installation breaks in the middle, without a message and you are back on cmd line. If this happen, you will notice, there is no pihole web password notification at the end of installaton process.  
But no big deal, second installation works.

> [@Fourdee](#):
>
> Can you confirm which device you are using,…

For me, NanoPi Neo, OrangePi One, Odroid C1 (sometimes).

---

_[View the full topic](https://dietpi.com/forum/t/pihole-installation-works-only-after-2-installs/1568)._
