Error 500: Internal Server Error

Started getting the error below since the recent FTL update that was released, goes away for about 30 min to an hour after reboot, then comes right back.

I see this error when I try to log into the admin page.

Error 500: Internal Server Error
Error: Cannot open script file /var/www/html/admin/login.lp

PADD will show something along the lines of “error connecting to … local host

The log below was pull while issue happening.

https://tricorder.pi-hole.net/eQYW9q1H/

Wow not a single reply lol

Please check the file permissions and post a new debug token

Debug token: https://tricorder.pi-hole.net/48CTOg4b/

Permissions

drwxr-xr-x 5 pihole pihole 4.0K Aug 8 20:20 .
drwxr-xr-x 138 root root 12K Aug 8 10:47 ..
-rw-rw---- 1 pihole pihole 65 Jul 31 21:03 adlists.list
-rw-r----- 1 pihole pihole 44 Aug 8 20:20 cli_pw
drwxr-xr-x 2 pihole pihole 4.0K Aug 7 06:33 config_backups
-rw-rw---- 1 pihole pihole 0 Jul 31 21:00 custom.list.bck
-rw-rw---- 1 pihole pihole 808 Aug 9 09:30 dhcp.leases
-rw-rw---- 1 pihole pihole 6.2K Aug 7 06:33 dnsmasq.conf
-rw-rw---- 1 pihole pihole 651 Aug 4 10:22 dns-servers.conf
-rw-rw---- 1 pihole pihole 15 Jul 31 21:02 ftlbranch
-rw-rw---- 1 pihole pihole 13M Aug 8 20:20 gravity.db
-rw-rw---- 1 pihole pihole 13M Aug 8 20:19 gravity_old.db
drwxr-xr-x 2 pihole pihole 4.0K Jul 31 21:05 hosts
-rw-rw---- 1 pihole pihole 408 Aug 4 10:22 install.log
-rw-rw---- 1 pihole pihole 4.3M Aug 8 20:19 list.2.latest.domains
-rw-rw---- 1 pihole pihole 76 Aug 8 20:19 list.2.lat
est.domains.sha1
-rw-rw---- 1 pihole pihole 27K Aug 8 20:19 list.4.lat
est.domains
-rw-rw---- 1 pihole pihole 76 Aug 8 20:19 list.4.lat
est.domains.sha1
-rw-rw---- 1 pihole pihole 65 Jul 31 21:00 local.list
-rw-r--r-- 1 root root 289 Jul 31 21:00 logrotate
-rw-rw---- 1 pihole pihole 3.1M Aug 4 10:22 macvendor.
db
drwxr-xr-x 2 pihole pihole 4.0K Jul 31 21:00 migration_
backup
-rw-rw---- 1 pihole pihole 0 Jul 31 22:02 pihole-FTL
.conf
-rw-rw---- 1 pihole pihole 127 Jul 31 21:00 pihole-FTL
.conf.bck
-rw-r----- 1 pihole pihole 6.4M Aug 9 09:53 pihole-FTL
.db
-rw-rw---- 1 pihole pihole 24K Jul 31 21:05 pihole-FTL
.db.bak
-rw-r----- 1 pihole pihole 32K Aug 9 10:31 pihole-FTL
.db-shm
-rw-r----- 1 pihole pihole 4.0M Aug 9 10:31 pihole-FTL
.db-wal
-rw-rw---- 1 pihole pihole 50K Aug 7 06:33 pihole.tom
l
-rw-rw---- 1 pihole pihole 339 Jul 31 21:02 setupVars.
conf.old
-rw-rw---- 1 pihole pihole 733 Jul 31 21:05 tls_ca.crt
-rw-rw---- 1 pihole pihole 713 Jul 31 21:05 tls.crt
-rw-rw---- 1 pihole pihole 1001 Jul 31 21:05 tls.pem
-rw-rw---- 1 pihole pihole 375 Aug 8 18:16 versions

Something is wrong in your web repo

*** [ DIAGNOSING ]: Web version
[✓] Version: v5.19
[i] Remotes: origin	https://github.com/pi-hole/web.git (fetch)
             origin	https://github.com/pi-hole/web.git (push)
[i] Branch: development-v6
[i] Commit: v5.19-836-g7950f87b
[i] Status: ?? info.php

There should be no info.php (we never had such a file). Did you modify the web repo in any way?

Maybe it's time to nuke the repo and download it again.

sudo rm -rf /var/www/html/admin
sudo git clone https://github.com/pi-hole/web.git /var/www/html/admin

Afterwards, switch to v6 again.

pihole checkout web development-v6

That may have been due to attempting to fix this on my own at first.

Followed your instruction but issue continues. Updated token https://tricorder.pi-hole.net/XbmBXCAA/

Attached picture is how PADD shows up, I also noticed it’s being detected as a docker install?
IMG_0896

Works fine after reboot for a bit
IMG_0897