on my first pihole it works but on the second one it doesn't
root@pihole02:/etc/.pihole# pihole -v
Pi-hole version is new/dark v4.4 (Latest: v5.0)
AdminLTE version is new/dark v4.3.3 (Latest: v5.0)
FTL version is release/v5.0 vDev-c499c17 (Latest: v5.0)
root@pihole02:/etc/.pihole# pihole -up
[i] Checking for updates...
[i] Pi-hole Core: update available
[i] Web Interface: update available
[i] FTL: up to date
[i] Warning: You are using FTL from a custom branch (release/v5.0) and might be missing future releases.
[i] Pi-hole core files out of date, updating local repo.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...
: Could not update local repository. Contact support.
root@pihole02:/etc/.pihole# cd /etc/.pihole
root@pihole02:/etc/.pihole# sudo git reset --hard master
HEAD is now at 9e490775 Merge pull request #3166 from pi-hole/release/v4.4
root@pihole02:/etc/.pihole# sudo git pull
Your configuration specifies to merge with the ref 'refs/heads/new/dark'
from the remote, but no such ref was fetched.
root@pihole02:/etc/.pihole# pihole -up
[i] Checking for updates...
[i] Pi-hole Core: update available
[i] Web Interface: update available
[i] FTL: up to date
[i] Warning: You are using FTL from a custom branch (release/v5.0) and might be missing future releases.
[i] Pi-hole core files out of date, updating local repo.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...
: Could not update local repository. Contact support.
and no dark mode