Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
To get to the admin login page, I use https://pi.hole/admin. I enter the password generated during the pihole installation. and the dashboard opens up.
The hardware is Raspberry Pi4, model B, rev 1.5
Actual Behaviour:
What actually happens is that the login page shows the message "Wrong Password".
I open a ssh window and run the sudo pihole setpassword command and get the message "password changed." I quit the browser, restart it, and go to the admin login page. I enter the changed password and get the same "Wrong Password" message.
Pihole was installed today on a new Micro SD card with on Raspberry P4 model 4 rev 1.5. Pihole is successfully running on another P4 model 4 rev 1.4
There are 2 pihole installations, on 2 different raspberry Pi 4s. In this case, the only devices running were the 192.168.50.150 Raspberry Pi 4, the ONT, a laptop, and the router.
how do I get the webserver to run? I set the other device up using the settings through the admin page. I can't access the admin page.
Your web servers simply never started, but I'm not sure why.
The necessary ports (80 and 443) are free to be used:
*** [ DIAGNOSING ]: Ports in use
udp:0.0.0.0:5353 is in use by avahi-daemon
[✓] udp:0.0.0.0:53 is in use by pihole-FTL
udp:0.0.0.0:123 is in use by pihole-FTL
udp:0.0.0.0:37100 is in use by avahi-daemon
[✓] tcp:0.0.0.0:53 is in use by pihole-FTL
tcp:0.0.0.0:22 is in use by sshd
tcp:127.0.0.1:631 is in use by cupsd
I saw a few error messages on the log, but I've never saw these messages before:
2025-03-31 15:15:31.214 PDT [1141M] ERROR: Start of webserver failed!. Web interface will not be available!
2025-03-31 15:15:31.214 PDT [1141M] ERROR: Error: Failed to setup server ports (error code 10.0)
2025-03-31 15:15:31.214 PDT [1141M] ERROR: Hint: Check the webserver log at /var/log/pihole/webserver.log
...
2025-03-31 15:47:41.960 PDT [1141/T1258] INFO: Reloading config due to pihole.toml change
2025-03-31 15:47:41.962 PDT [1141/T1258] ERROR: Trying to fill a NULL memory area in delete_all_sessions() (/app/src/api/auth.c:371)
2025-03-31 15:47:41.963 PDT [1141/T1258] ERROR: Trying to fill a NULL memory area in delete_all_sessions() (/app/src/api/auth.c:371)
I have just updated the OS and loaded pi-hole on an old Raspberry Pi 3 B. I was able to access the logon page and the password provided during installation worked. I have that device using a wireless connection. I will try to do the same on the P4 tomorrow.
I am beginning to suspect that there is something wrong with the Pi4 B rev 1.5 vs. the pihole web server. I have installed Raspberry OS and Pihole and placed the device in different areas and different configurations and no matter what, the webserver log shows the same messages "Failed to set up server ports."
I have actually solved this problem and now have (2) Pi 4's running pihole. I used an alternative install method that I found on https://github.com/pi-hole/pihole called