Unable to reset /var/www/html/admin

Expected Behaviour:

To update

Actual Behaviour:

Unable to reset /var/www/html/admin, exiting installer

Unable to complete update, please contact Pi-hole Support

Debug Token:

https://tricorder.pi-hole.net/8s6waahv24

It should be noted I feel as though my sd card is corrupt as it will not allow me to reformat it but I wanted to see if there was another option before I buy a new one

If it appears that you have a corrupt SD card, you probably do. A common failure mode is that card reverts to read only.

I would buy cards in pairs - one for the OS and in use in the Pi, the other as a backup card with a copy of the first card on it. Then, any failure of the first card can be resolved quickly with the backup card.

1 Like

One thing I have found with power fails on the pi is that the file system doesn't get cleanly shut down and is often marked as having issues. Since I have some other computers and an SD card reader, I just remove the card and use fsck (or appropriate tool) to repair the various partitions. It's not fool proof though and I do keep various back ups (full disk images on other SD cards, for hot swapping).

An inexpensive battery hat that will do a controlled shutdown is a good option. Or put the device on a UPS if you have one, or a less expensive battery backup.

I have my entire set of 'connectivity devices' on a UPS (cable modem, router, pi, voip phone). :slight_smile: It does still run out when the power is off too long and that UPS doesn't have a USB integration point. I may buy a replacement that does and integrate with the pi though.

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