Please follow the below template, it will help us to help you!
Expected Behaviour:
See the admin webpage_
Actual Behaviour:
403 forbidden_
See the admin webpage_
403 forbidden_
Are you trying with /admin/ ?
*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 8 (jessie)
Jessie has not been supported for a long time now. The release is End Of Life and not supported by Raspberry Pi any more.
What is the exact URL you are using to access the web admin page?
Is this repeatable across different browsers?
Something is messed up with the /admin/ path under /var/www/html/admin
You will need to sudo rm -rf /var/www/html/admin
and then run a pihole -r
and repair.
Try this and let us know what the outcome is.
No help.. Repair stops because it can't find /var/www/html/admin
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u3
[i] Repair option selected
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for apt-utils
[✓] Checking for dialog
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
Unable to reset /var/www/html/admin, exiting installer
Go for Reconfigure (sorry about that)
Reconfigure fails too.
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u3
[i] Reconfigure option selected
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for apt-utils
[✓] Checking for dialog
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] Using Cloudflare
[i] Static IP already configured
[i] Found IPv6 ULA address, using it for blocking IPv6 ads
[i] IPv4 address: 10.0.0.63/24
[i] IPv6 address: fd2f:52eb:a83a:0:ba27:ebff:fe6d:895a
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[i] Privacy level 0 [i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
Unable to reset /var/www/html/admin, exiting installer
I'll try an uninstall and reinstall and report back
You'll need to sudo rm -rf /etc/.pihole
, sudo rm -f /etc/pihole
and then curl -sSL https://install.pi-hole.net | bash
Nah, no need to do that. Just sudo git clone https://github.com/pi-hole/AdminLTE /var/www/html/admin
Have you tried to run the uninstall script previously francisp? That will cause some issues if you try to reinstall after an uninstall.
Did not work
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u3
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for apt-utils
[✓] Checking for dialog
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] Using Cloudflare
[i] Static IP already configured
[i] Found IPv6 ULA address, using it for blocking IPv6 ads
[i] IPv4 address: 10.0.0.63/24
[i] IPv6 address: fd2f:52eb:a83a:0:ba27:ebff:fe6d:895a
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[✗] Check for existing repository in /etc/.pihole
[✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole
[✗] Check for existing repository in /var/www/html/admin
[✓] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for dnsutils
[✓] Checking for iputils-ping
[✓] Checking for lsof
[✓] Checking for netcat
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for idn2
[✓] Checking for sqlite3
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for resolvconf
[✓] Checking for libcap2
[✓] Checking for lighttpd
[✓] Checking for php7.0-common
[✓] Checking for php7.0-cgi
[✓] Checking for php7.0-sqlite3
[✓] Enabling lighttpd service to start on reboot...
[i] FTL Checks...
[✓] Detected ARM-hf architecture (armv6 or lower) Using ARM binary
[i] Checking for existing FTL binary...
[✓] Downloading and Installing FTL
[✓] Creating user 'pihole'
[✓] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
[i] Installing blocking page...
[✓] Creating directory for blocking page, and copying files
[✗] Backing up index.lighttpd.html
No default index.lighttpd.html file found... not backing up
[✓] Installing sudoer file
[✓] Installing latest Cron script
[✓] Installing latest logrotate script
[i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
[i] No active firewall detected.. skipping firewall configuration
[✓] man pages installed and database updated
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved is not enabled
[✓] Restarting lighttpd service...
[✓] Enabling lighttpd service to start on reboot...
[i] Restarting services...
[✓] Enabling pihole-FTL service to start on reboot...
[✓] Restarting pihole-FTL service...
[✓] Deleting existing list cache
[i] Pi-hole blocking is enabled
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[i] Target: raw.githubusercontent.com (hosts)
[✓] Status: Retrieval successful
[i] Target: mirror1.malwaredomains.com (justdomains)
[✓] Status: Retrieval successful
[i] Target: sysctl.org (hosts)
[✓] Status: Retrieval successful
[i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
[✓] Status: Retrieval successful
[i] Target: s3.amazonaws.com (simple_tracking.txt)
[✓] Status: Retrieval successful
[i] Target: s3.amazonaws.com (simple_ad.txt)
[✓] Status: Retrieval successful
[i] Target: hosts-file.net (ad_servers.txt)
[✓] Status: Retrieval successful
[✓] Consolidating blocklists
[✓] Extracting domains from blocklists
[i] Number of domains being pulled in by gravity: 138193
[✓] Removing duplicate domains
[i] Number of unique domains trapped in the Event Horizon: 115963
[i] Nothing to whitelist!
[i] Number of regex filters: 0
[✓] Parsing domains into hosts format
[✓] Cleaning up stray matter
[✓] Force-reloading DNS service
[✓] DNS service is running
[i] Pi-hole blocking will be enabled
[i] Enabling blocking
[✓] Reloading DNS service
[✓] Pi-hole Enabled
[i] Web Interface password: 1OtXYdi-
[i] This can be changed using 'pihole -a -p'
[i] View the web interface at http://pi.hole/admin or http://10.0.0.63/admin
[i] You may now configure your devices to use the Pi-hole as their DNS server
[i] Pi-hole DNS (IPv4): 10.0.0.63
[i] Pi-hole DNS (IPv6): fd2f:52eb:a83a:0:ba27:ebff:fe6d:895a
[i] If you set a new IP address, please restart the server running the Pi-hole
[i] The install log is located at: /etc/pihole/install.log
Installation Complete!
root@pimosquitto:~/Pi-hole/automated install# pihole -a -p
Enter New Password (Blank for no password):
Confirm Password:
[✓] New password set
root@pimosquitto:~/Pi-hole/automated install#
New debug token : https://tricorder.pi-hole.net/w093ezpa25
Yes I did uninstall before
There is a known bug with uninstall and reinstall.
sudo apt purge lighttpd
pihole -r
Thanks guys. This fixed it !!!
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.