It seems my network SSD has been deleted or overwritten after or during a pi-hole upgrade.
Details about my system:
Pi Model B+ V1.2, 700 MHz Single Core, 512 MB RAM
SSD 500 GB in USB-3-case, formatted as FAT
network software on the pi to access it with Macs (High Sierra, Mojave)
PiVPN (still working)
Pi-hole also working after upgrade
What I have changed since installing Pi-hole:
It has been running fine for months. Only restarted it occasionally when it seemed slow. Now upgraded the software (only pi-hole) and the drive is full but no files.
Yesterday, I upgraded my pi-hole installation on a raspberry pi with the "pihole up" command.
I don't do this regularly, only when I feel I really need to due to problems or after too long a time.
There were issues yesterday, slow and breaking connection to the network drive during access, but this has happened before and is sometimes due to bad wifi connection, I guess. (Big city, lots of interferences and such.)
When today I tried to access the drive (SSD in USB-3-case) it showed "3.6 GB free" and no files whatsoever, although there was 156 GB free space yesterday.
I shut the raspi down and disconnected the drive to check on a computer. Nothing. My Mac shows the drive, but not in Finder, only in Disc Utility. The drive seems completely full, and it won't mount. When I click on "disk4s2" under the "LaCie Rugged FW USB3 Media", it says "Not Mounted" and I can't seem to mount it. It's formatted as FAT, as I did since that worked best in the network.
On a linux machine, the drive shows up as "can be mounted" but when I click on it, nothing happens.
UPDATE: I just checked, this does not say anything necessarily. I clicked on the internal SSD and it also doesn't do anything. Must be a Linux Lite quirk. Trying Gparted now...
On Windows (7) it says it wants to format to be able to use it.
-What could have happened?
-Has this happened to anyone else (due to a pi-hole upgrade)?
-Is there a chance I can get the files back?
-Are there log files I could consult to see what happened since last night? (If so, where?)
Honestly, this is the reason why I'm so hesitant to upgrade these things once they run. Usually something breaks. I'm not a programmer and it takes me hours to reinstall these things and get them running.
The only other things running on the raspi besides the pi-hole where programs for the network drive access, some firewall and PiVPN. The latter is still functional. So not everything broke.