Pihole and Dietpi - 404-forbidden

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Hevilp
Posts: 4
Joined: Wed Oct 31, 2018 12:17 pm

Pihole and Dietpi - 404-forbidden

Post by Hevilp »

Hi,

I have pihole running a long time. Yesterday I would install owncloud on the same pi. Everything went well without any errors, but I cannot use the webif of pihole.

DietPi v6.22.3 : 06:00 - Tue 30/04/19
─────────────────────────────────────────────────────
- Device model : RPi 2 Model B (armv7l)
- CPU temp : 41'C : 105'F (Optimal temperature)
- LAN IP : 192.168.179.230 (eth0)


/owncloud works well

/admin gives me forbidden.

How can I fix that?
Hevilp
Posts: 4
Joined: Wed Oct 31, 2018 12:17 pm

Re: Pihole and Dietpi - 404-forbidden

Post by Hevilp »

I just reinstalled pi-hole. I can access the admin page now, but /owncloud shows me only the placeholder from pi-hole, so no access to it :/

access.log from lighthttpd

Code: Select all

1556602274|192.168.179.230|GET /admin/api.php?summary HTTP/1.1|200|486
1556602275|192.168.179.230|GET /owncloud/ HTTP/1.1|200|405
User avatar
MichaIng
Site Admin
Posts: 2281
Joined: Sat Nov 18, 2017 6:21 pm

Re: Pihole and Dietpi - 404-forbidden

Post by MichaIng »

You installed Pi-hole via DietPi-Software? It looks like your webroot gets adjusted (switch between /var/www and /var/www/html) but as long as the Pi-hole installed has not changed its method that should not be the case when installing with DietPi-Software.
Hevilp
Posts: 4
Joined: Wed Oct 31, 2018 12:17 pm

Re: Pihole and Dietpi - 404-forbidden

Post by Hevilp »

all installed via dietpi-software.

it seems, that Pi-Hole + everything does not run ootb in diet-pi, right?
Ekran
Posts: 5
Joined: Thu Sep 28, 2017 10:11 pm

Re: Pihole and Dietpi - 404-forbidden

Post by Ekran »

Hevilp wrote: Tue Apr 30, 2019 2:04 pm it seems, that Pi-Hole + everything does not run ootb in diet-pi, right?
No, it should run out of the box. But I think, there are so many possible compositions of software ...

For me, I get the pihole message in the web root, admin at /admin/ and access to the other pages in the /folders/

Good luck
Post Reply