Cannot update web interface

The issue I am facing:
When I log into my pihole web interface I can see that there is a update for it.
But if I ran pihole -up command it says web interface is up to date and gives me error: cannot lock ref...
Details about my system:
Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster)
Debug Token: https://tricorder.pi-hole.net/Ai0k1WgM/

What I have changed since installing Pi-hole:
Nothing

There are a few issues with your local web repo

   2022-01-21 14:24:12: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Undefined variable: auth in /var/www/html/admin/index.php on line 109
   2022-01-21 14:24:12: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Undefined variable: cacheVer in /var/www/html/admin/index.php on line 305
   2022-01-21 14:24:12: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Undefined variable: cacheVer in /var/www/html/admin/index.php on line 306
   2022-01-21 14:24:12: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Undefined variable: cacheVer in /var/www/html/admin/scripts/pi-hole/php/footer.php on line 108
   2022-01-21 14:24:17: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Undefined variable: auth in /var/www/html/admin/index.php on line 109
   2022-01-21 14:24:17: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Undefined variable: cacheVer in /var/www/html/admin/index.php on line 305

Try

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

Hi,
thank you for your time.

Cloning into '/var/www/html/admin'...
remote: Enumerating objects: 28572, done.
remote: Counting objects: 100% (2023/2023), done.
remote: Compressing objects: 100% (1235/1235), done.
remote: Total 28572 (delta 1065), reused 1600 (delta 787), pack-reused 26549
Receiving objects: 100% (28572/28572), 33.11 MiB | 5.07 MiB/s, done.
Resolving deltas: 100% (15224/15224), done.

Should be the lastest version now?

Yes, I restarted pi hole after that command, and now everything is updated.
Once again thank you.

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