• Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    21 hours ago

    https://discourse.pi-hole.net/t/cannot-access-web-interface-after-pihole-6-update/77366/4

    The git fsck failing showed a corrupt repository so I researched how to repair a git repository and found the tool git-repair - installed and ran this with the --force flag and this repaired the repository.

    Then ran git pull and the repository was now healthy. My web UI also works now!!

    Probably a silly feature request but would it be worthwhile to add a git fsck to all the pihole stores in the debug script?

    To start you should go to your web admin folder at /var/www/html/admin and run a git fsck to make sure you’re having the same problem as the person above. If you get a lot of failures, its likely the same issue.

    So based on this resolved thread, it looks like you need to install git-repair and then once again go to your pihole web admin interface folder at /var/www/html/admin.

    Then once in that folder run git-repair --force and then when that completes run git pull. Hopefully that resolves this issue for you.

    • Teppichbrand@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      Thanks! This sounded very promising but I don’t get any errors from git fsck, so I have to keep looking for other solutions.