hyperdrive-daemon icon indicating copy to clipboard operation
hyperdrive-daemon copied to clipboard

Hyperdrive directory emptied

Open ylebre opened this issue 5 years ago • 2 comments

Describe the bug A directory within Hyperdrive containing files disappeared

To Reproduce Not really sure, but a bash history of the commands is attached.

Expected Behavior Did not expect the directory to disappear ** OS ** Debian 9.2

** Node version ** 12.16.3

** Was the daemon installed from NPM or bundled with Beaker? ** NPM

Add any other context about the problem here.

I started out with installing hyperdrive on a vps, and ran it as root.

created a hyperdrive, populated it with some files Files show up in Beaker as expected.

Next day, tried to edit a file in the hyperdrive, but could not write it.

Tried to get things back to work by stopping the daemon, force unmounting and ended up with an empty hyperdrive directory; not sure where the files went.

Attached is a bash history log (cleaned up a bit and added a few annotations)

hyperdrive bash log.txt

ylebre avatar May 20 '20 20:05 ylebre

Thanks, we’ll take a look. Just for a bit more debugging can you see if the size of ~/.hyperdrive/storage is roughly equal to your file size you put in? Assuming you didn’t add any other files

mafintosh avatar May 20 '20 20:05 mafintosh

Not totally sure, but I think so. If I dig into the storage I can see parts of my file, so it seems to me that the contents are still there - they just don't show up in the Hyperdrive folder anymore.

ylebre avatar May 21 '20 09:05 ylebre