Can relate running 1.22-Windows, had system reboot after being stable for a few weeks. Roughly 2K contracts with about 200GB, hate to think how many SIAcoin I might have lost... Ran this....
C:\Users\miner1\Desktop\Sia\resources\app\Sia>siad --sia-directory %APPDATA%/Sia-UI/sia
Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
Closing wallet...
Closing transaction pool...
Closing consensus set...
Closing gateway...
error while loading contract manager atomic data: error loading the contract manager settings file: unable to read persisted json object from disk: unexpected end of JSON input
So here's the SH*TY part - I didn't backed up my running config (note to self, create a batch file that BACKS up all your JSON data files and versions them for say XX copies incase you ever need to roll back).
So I went looking for what would let me load my wallet. Made a few test changes and finally landed to move the "contractmanager" folder to a tmp subdirectory, let it become fresh and yeah I see my wallet. No storage shows up (uh oh) - so I added in some more storage and verify the changes to the json files. Sure enough contractmanager.json has my new share, and upon comparing the new contractmanager.json to my old contractmanager.json I get that gut feeling. Here's my old file below.
C:\Users\miner1\AppData\Roaming\Sia-UI\sia\host\contractmanager\tmp>type contractmanager.json
"Sia Contract Manager"
"1.2.0"
So somehow on a reboot/crash of my desktop this was running on (mining rig, I don't usually touch it), it wiped out the JSON data for my NAS1 3TB, and NAS 2 4TB share. This really does piss me off, yes, I should do better to backup a guest OS, but the corruption of a single json file and it restored fate is not what I would call a trustworthy product without the ability to self-heal itself from a backup it made itself, or somehow from the cloud. I would be happy to donate a few SIA to a self-backup mechanism within SIA. Just having the ability to say, your config looks corrupted, would you like to backup your correct config to a temp area and restore backup X, Y, or Z from the SIAcloud.
OR
Have the ability to have a something saved automagically where your shares are with the BIG file, and let it re-scan your shared contracts from those files and re-import (yes I know TB's of data files could take hours to read), but a small price to pay to recover lost JSON data.
This could really help other hosts from losing coins (minus data corruption of hard local disk etc. ). I'm not out a ton, but I did loose 20-30K of SIA coin in contracts, so poof.
Details here of my Host rig: https://siahub.info/host/2190