Not able to access UI after upgrade to v6

I upgraded to the latest v6, but now I can’t access the UI. Previously, I could reach it at http://192.168.29.215/admin, but now it just shows a list of files in the admin folder.

I checked this thread for solutions.

First, I tried running, sudo pihole-FTL --config webserver.port which returned: 80,443os,[::]:80,[::]:443os

However, http://192.168.29.215/admin still only showed the file listing.

Next, I attempted binding it to port 8080, as suggested in the other thread, using: sudo pihole-FTL --config webserver.port "8080,443os,[::]:8080,[::]:443os"

However, http://192.168.29.215:8080/admin did not work either. Do I need to create a profile in apache sites-enabled for Pihole to work? Also, do I need to listen to 8080 in the apache ports config?

Here is my Pi-hole debug link: https://tricorder.pi-hole.net/HugeNgES/

You are seeing this because Apache2 is using port 80, but it is not capable of executing the new Pi-hole web interface pages written in Lua.

[✗] tcp:*:80 is in use by apache2 

Pi-hole now has its own embedded web server.

Your debug log shows you have set Pi-hole to use these ports: 8080,443os,[::]:8080,[::]:443os, but they failed to start because there was something using port 8080 when the web server was started. Probably you set Pi-hole and Apache to use the same ports, causing a conflict.
They need to use different ports.

You have 2 options:

  1. move Apache to a different port (or uninstall Apache), restart Pi-hole and access the web interface on port 80 (http://192.168.29.215/admin).
  2. Just restart Pi-hole and access the web interface on this port (http://192.168.29.215:8080/admin). It is already configured to use this port.

Suggestion:

Try setting Pi-hole port using the "optional" (o) flag, to avoid issues if one port is in use.

Execute sudo pihole-FTL --config webserver.port '8080o,443os,[::]:8080o,[::]:443os', then try http://192.168.29.215:8080/admin.
Also try https://192.168.29.215/admin.
Do these URLs work?

This worked and I can now access the UI. As a safe bet, I also restarted the pihole server. I can't uninstall Apache cause the same server also runs nextcloud.

This still shows me the list of files under the admin folder.

Then please generate a new debug log.

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