Web checkout error

pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
  [i] Web Interface:    update available
  [i] FTL:              up to date
  [i] Warning: You are using FTL from a custom branch (fix/db_regexlink_id) and might be missing future releases.

  [i] Pi-hole Web Admin files out of date, updating local repo.
  [✓] Check for existing repository in /var/www/html/admin
  [i] Update repo in /var/www/html/admin...
  : Could not update local repository. Contact support.

I assume you did it in exactly the same second I pushed the changes.
Please try

cd /var/www/html/admin
sudo git reset --hard HEAD^^
sudo git pull

SOLVED

pi@raspberrypi:~ $ cd /var/www/html/admin
pi@raspberrypi:/var/www/html/admin $ sudo git reset --hard HEAD^^
HEAD is now at 1d7889d Add hover title to regex link icon.
pi@raspberrypi:/var/www/html/admin $ sudo git pull
Updating 1d7889d..09c7ba9
Fast-forward
 scripts/pi-hole/js/queries.js | 45 ++++++++++++++++++++++++++-------------------
 style/pi-hole.css             | 10 +++++++++-
 2 files changed, 35 insertions(+), 20 deletions(-)
pi@raspberrypi:/var/www/html/admin $ pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
  [i] Web Interface:    up to date
  [i] FTL:              up to date
  [i] Warning: You are using FTL from a custom branch (fix/db_regexlink_id) and might be missing future releases.

  [✓] Everything is up to date!

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