vrtmrz / obsidian-livesync

MIT License
4.67k stars 150 forks source link

How can this plugin modify all my files into unkonwn strings while syncing? #269

Open scruel opened 1 year ago

scruel commented 1 year ago

Abstract

All my files in the folder which had the "Replication error" happened are got modified, like the following picture... image

I'm lucky to have backups to restore, otherwise I can't image how large the damage will be, caused by using this plugin...

Related to: https://github.com/vrtmrz/obsidian-livesync/issues/257

vrtmrz commented 1 year ago

Thank you for asking me! Following your screenshot, it looks like the note has been saved into the database with encryption, but restored to the storage as plain. Could you please check the E2EE configuration?

Supplementary information: We have been probably able to restore the file with unexpected modification by using Back to this revision on Show history. And if we have something that looks corrupted, Lock remote database on the Hatch pane. might help us. This operation forces all other devices to be disconnected. If we have fully resolved the broken file (or given up and decided to discard it), we can unlock the database or fetch all from the remote again.