I have been using Logseq for about 6 months. My graph is located at: C:\Users\OneDrive\Documents\Notes\Logseq
It contained many journal entries and pages. The computer has been updated and rebooted multiple times, and OneDrive has been syncing continuously.
Yesterday I went to Logseq > Settings > Advanced and clicked “Clear” under “Clear cache.” The warning message states that open graphs would be discarded and unsaved changes would be lost. I did not expect this to affect saved files.
After clearing the cache, my entire graph became empty. All notes are gone.
Since the graph is stored inside OneDrive, I attempted to restore my OneDrive to the previous day. That did not help. I also tried restoring from a week earlier, same result. The Logseq folder remains empty.
One detail: in one older backup I found the very first test page I ever created, but nothing else. This makes me unsure whether OneDrive ever properly synced the .md files. However, it must have synced at least once.
I left OneDrive untouched for about 12 hours to ensure full syncing, but no files reappeared.
I also searched my system and found these folders:
C:\Users.logseq
C:\Users\AppData\Roaming\Logseq
C:\Users\AppData\Local\Logseq
None of them contain my notes.
Has anyone experienced something similar after clearing the cache? Is there any other location where Logseq might have stored the markdown files? Any recovery suggestions would be appreciated.