Updated to Pi-hole 6 and my webserver "broke"

Hello,

Updated today to pi-hole 6 and the webserver broke.
Looks like the "index file" is missing and i just see the file listing:

Details about my system:
System is Ubuntu LTS with apache running and reserving the webservice ports.

'What I have changed since installing Pi-hole:*
Checked the toml and tried to fiddle with ports, but kinda no idea what i'm doing

**EDIT: ** debug log: https://tricorder.pi-hole.net/EdpPk2rI/

Any idea what whent wrong and how to fix it?

Yours
Etep

You left out a colon when you made the changed

Okay fixed it now :wink:


However the file folder is still not working

you might want to generate a token and posted, so Mod and Dev and diagnose your issue

Okay, thank you for your help. I´ll try to figure out how to do that.

Debug log: https://tricorder.pi-hole.net/EdpPk2rI/

[✗] tcp:*:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
[✗] tcp:*:443 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)

There's your issue - port 80 and 443 are already bound by apache - if you're not using this for anything else, then you can probably disable it, or you can update the pi-hole config to utilise different port numbers by adjusting the config file as you already have done (but with, for example, 8080 instead of 80)

1 Like

Okay changed the port to 8080 (maybe)

So the service should be available from http://ip:8080/admin (/pi in my case)?
New debug log here: https://tricorder.pi-hole.net/PWBdRW2K/

Yours
Etep

Looks about right. Though you're still missing that additional colon between [::] and 8080 per @smurf's suggestion.

Try this:

port = "8080o,[::]:8080o,443so,[::]:443so"

Dang, stepped on the same mine 2 times.. :joy:. I must confess i have a little issue with dyslexia.

Here's the latest change:

Looks promising

Site loads now, but with 404 error

and a new log
https://tricorder.pi-hole.net/MQF1UbdJ/

Yours
Etep

Hang on. Why are you navigating to /pi/ ?

It should be at /admin/!

In my paranoia i didn't want the administration page exposed to "easily recognizable" folder like admin (and now i told the folder to whole world :stuck_out_tongue_winking_eye:)
So i changed the path into the toml and webserver

But i guess i can revert to default admin folder since the port 8080 is not exposed to wan port and is reachable only in lan.

Yours
Etep

Reverted back to /admin and it works with http://ip:8080/admin/

What a strange endeavour this update was :stuck_out_tongue_winking_eye:.
Anyways BIG thank you for @smurf & @promofaux for your kindness & help

Yours
Etep

1 Like

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