etep
February 19, 2025, 1:39pm
1
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
smurf
February 19, 2025, 1:52pm
2
You left out a colon when you made the changed
etep
February 19, 2025, 2:31pm
3
Okay fixed it now
However the file folder is still not working
smurf
February 19, 2025, 2:35pm
4
you might want to generate a token and posted, so Mod and Dev and diagnose your issue
etep
February 19, 2025, 2:39pm
5
Okay, thank you for your help. I´ll try to figure out how to do that.
etep
February 19, 2025, 2:52pm
6
[✗] 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
etep
February 19, 2025, 3:31pm
8
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"
etep
February 19, 2025, 3:52pm
10
Dang, stepped on the same mine 2 times.. . 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/
!
etep
February 19, 2025, 4:03pm
12
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 )
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
etep
February 19, 2025, 4:49pm
13
Reverted back to /admin and it works with http://ip:8080/admin/
What a strange endeavour this update was .
Anyways BIG thank you for @smurf & @promofaux for your kindness & help
Yours
Etep
1 Like
system
Closed
March 12, 2025, 4:49pm
14
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.