Hello community,
The issue I am facing:
I couldn't update pihole on my ubuntu server anymore with "sudo pihole -up", so I have removed it with "sudo pihole uninstall" and want to do a clean reinstall.
At reinstalling with his commands, I was not asked to install without webserver:
git clone --depth 1 GitHub - pi-hole/pi-hole: A black hole for Internet advertisements Pi-hole
cd "Pi-hole/automated install/"
sudo bash basic-install.sh
At "Installation Complete" it told me that I can view web interface at http://...:8080/admin/
(But access not working because port 8080 is used by Apache2 web server and I tried to switch the port, but I couldn't find any lighttpd config file to change the port for pihole web interface.)
Also there was for the web interface at folder /var/www/html/admin/ no *.php files. Instead I had here *.lp files which I can't open with Apache2.
So I uninstalled pihole again.
Should I firstly remove something else which could make troubles from the old pihole installation?
I already did "sudo pihole uninstall".
And secondly what is the correct was to install pihole with *.php files unter .../html/admin/ for web interface without additional webserver, so that I can use existing Apache2 with virtualhost config, because I'm using Apache2 also for other websites on my ubuntu server.
Details about my system:
Ubuntu Server 24.04.2 TLS (GNU/Linux 6.8.0-1019-raspi aarch64) on Raspberry Pi 5
Apache2 with different websites under /var/www/
PHP8.3.6
certbot (letsencrypt)
Thank you for helping,
Alex