Could not update local repository. Contact support

Problem with Beta 5.0:
Tried to update several times since this morning. Got this message :

pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core:	up to date
  [i] Web Interface:	update available
  [i] FTL:		update available
  [i] Warning: You are using FTL from a custom branch (release/v5.0) 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.

Debug Token:
Sorry, it did not upload :
There was an error uploading your debug log.

This will temporarily reset the nameserver on the Pi to bypass Pi-Hole DNS.

sudo nano /etc/resolv.conf

edit nameserver 127.0.0.1 to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit

Run pihole -d and upload the debug log

Thanks, managed to upload on second try : https://tricorder.pi-hole.net/mrt45byfox

Still no joy and I can't find any hint in the debug log, everything seems all right.

Fixed it Yay !
Just had to remove a .git/index.lock in /var/www/html/admin :

cd /var/www/html/admin
sudo rm -f .git/index.lock

pihole up to date :

Pi-hole Version vDev (release/v5.0, v4.3.5-455-gfff7adfb) Web Interface Version vDev (release/v5.0, v4.3.2-457-g0a81dadf) FTL Version vDev (release/v5.0, vDev-81c4eac) ```