After Pi-hole Update from v5 to v6 web GUI doesnt work

I tried everything here, i changed my Ports but nothing worked. I use nextcloud too with apache. if i try 192.168.178.81/admin it shows only the index

Debug Token:

https://tricorder.pi-hole.net/5drnEqug

Your debug log shows you configured Pi-hole to use port 80:

   [webserver]
     ...
     port = "80" ### CHANGED, default = "80o,443os,[::]:80o,[::]:443os"

But apache is using ports 80 and 8080:

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

If you want to use Pi-hole on port 80, you need to move apache from this port.

If you want to use Pi-hole in a different port, use this command to change it:

sudo pihole-FTL --config webserver.port '8880,443s'

I used ports 8880 and 443 (for https) as examples.
You can use any ports you want.

I tried some other ports too, but it doesnt work.
The website is unavailable.

https://tricorder.pi-hole.net/1mWNL2wE/

   [2025-04-15 19:14:51.413 CEST 1223286] Initializing HTTP server on ports "8880,443s"
   [2025-04-15 19:14:51.413 CEST 1223286] cannot bind to 443s: 98 (Address in use)
   [2025-04-15 19:14:51.413 CEST 1223286] Failed to setup server ports
[✗] tcp:*:443 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
[✗] tcp:*:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)

Apache2 is already bound to 443, you can't bind Pi-hole to that same port. Since you didn't mark the ports as optional, FTL can not start the web interface.

Thank you, now it works after hours. :sweat_smile:

1 Like