# \[SOLVED\] PiHole via dietpi-software installation issues

**URL:** https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868
**Category:** Troubleshooting
**Created:** [8 January 2017 16:13 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868 "2017-01-08T16:13:30Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)
#### Post date: [8 January 2017 16:13 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/1 "2017-01-08T16:13:30Z")

</div>

Hi,

I just wanted to let you know there might be a problem with installing PiHole from dietpi-software!

I tried to get it to work using dietpi-software but it just didn’t work.

I tried multiple clean installs but had no success! It was constantly giving me a 404 Error when i tried to access the admin page.

Then i tried to install it using

```nohighlight
curl -sSL https://install.pi-hole.net | bash

```

This worked perfectly without any issues!

You might want to look into this.

Regards.

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [8 January 2017 17:15 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/2 "2017-01-08T17:15:05Z")

</div>

Hi Zombie,

Thanks for the report.

Tested with clean install on C2 with dietpi-software, [http://192.168.0.112/pihole](http://192.168.0.112/pihole) working as expected.

Which device was this on? And which webserver choice did you use (default is lighttpd)?

---

<div class="post-metadata">

### Author: ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)
#### Post date: [8 January 2017 17:35 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/3 "2017-01-08T17:35:13Z")

</div>

It was a Raspberry Pi 1 Model B

I tried for more than 2 Hours with multiple clean installs but it didn’t work.

Then using the official method without dietpi-software, it worked first time without any issues.

---

<div class="post-metadata">

### Author: ![rothchild](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rothchild](https://dietpi.com/forum/u/rothchild)
#### Post date: [8 January 2017 17:37 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/4 "2017-01-08T17:37:40Z")

</div>

Were you using /admin or /pihole?

At first I tried /admin and got a 404 then realised that it’s actually /pihole and everything worked fine

---

<div class="post-metadata">

### Author: ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)
#### Post date: [8 January 2017 18:12 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/5 "2017-01-08T18:12:00Z")

</div>

i was using /admin

This is what the installer told me to do!

I had no idea about /pihole

I guess that was the issue!

with the official installation method it works with /admin

EDIT:

I just checked the DietPi Software Thread here in the Forum and there it also states that it should be /pihole.

so my fault. i should have double checked!

---

<div class="post-metadata">

### Author: ![rothchild](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rothchild](https://dietpi.com/forum/u/rothchild)
#### Post date: [8 January 2017 19:29 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/6 "2017-01-08T19:29:06Z")

</div>

I think it’s a fair confusion, as you say the installer also says it will be at /admin and also spits out a password (which is useless because the password by default is dietpi…) potentially there could be a couple of bits of tidying to this install to make it clear how the DP version differs from the main version?

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [9 January 2017 16:04 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/7 "2017-01-09T16:04:28Z")

</div>

> [@rothchild](#):
>
> I think it’s a fair confusion, as you say the installer also says it will be at /admin and also spits out a password (which is useless because the password by default is dietpi…) potentially there could be a couple of bits of tidying to this install to make it clear how the DP version differs from the main version?

Yep, no worries.

Ok so theres a few adjusments we make, mostly to allow for multiple use of the web server, not dedicated it to PiHole, and, prevent PiHole from overwriting the current lighttpd.conf:

> <https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L3700-L3708>

After that, during configuration, we symlink /pihole to /html/admin, as per our online doc:

> <https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L7230-L7243>

As our DietPi web server paths are standardized and relative in /var/www (eg: /var/www/myfolder/website\_1 = [http://ip/myfolder/website\_1](http://ip/myfolder/website_1)), the actual location of the PiHole web page (via the official installer) is /var/www/html/admin and therefor the link is [http://ip/html/admin](http://ip/html/admin)

So either of the following will work:  
[http://ip/html/admin](http://ip/html/admin)  
[http://ip/pihole](http://ip/pihole)

But I will update the code to create a symlink so the following also works, to prevent this occurring again:  
[http://ip/admin](http://ip/admin)

[https://github.com/Fourdee/DietPi/issues/703](https://github.com/Fourdee/DietPi/issues/703)

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [9 January 2017 16:20 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/8 "2017-01-09T16:20:09Z")

</div>

> Your Admin Webpage login password is 1XR2\_UbZ

Also looks like this a new addition. Previously, no password was set for the web interface, hence we do it during install and set to dietpi after PiHole installer is finished.

> <https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L7250-L7251>

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [9 January 2017 16:24 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/9 "2017-01-09T16:24:04Z")

</div>

We’ll inform user of password changed aswell:  
[https://github.com/Fourdee/DietPi/issues/703#issuecomment-271330490](https://github.com/Fourdee/DietPi/issues/703#issuecomment-271330490)

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [9 January 2017 16:30 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/10 "2017-01-09T16:30:36Z")

</div>

Thanks guys,

resolved for v142. Let me know if theres anything else 🙂

---

<div class="post-metadata">

### Author: ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)
#### Post date: [11 January 2017 09:02 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/11 "2017-01-11T09:02:55Z")

</div>

Perfect!

Thanx Fourdee! I will test it as soon v142 is released and will let you know about the outcome!

---

<div class="post-metadata">

### Author: ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)
#### Post date: [16 January 2017 03:28 UTC](https://dietpi.com/forum/t/solved-pihole-via-dietpi-software-installation-issues/868/12 "2017-01-16T03:28:49Z")

</div>

Hi,

After v142 was released, i did another clean install of DietPi and chose PiHole installation in dieti-software.

Now everything works flawlessly out of the box.

/pihole and /admin both work without any issues.

Great Work as always FourDee.

Now i need to go and annoy the PiHole developers in order to get them to block social media buttons…
