Restore previous notes DB?

I sync my gnotes using pCloud. Recently gnote crashed, and when I re-opened it all my notes were gone. When I look at the sync folder, it looks like older versions of the notes are possibly kept (the folders labeled 0, 1, 2. See screenshot…). Is there some way to restore older versions?

This is rather frustrating, as I really like the application and have been using it for work. It is rather painful if all my notes are gone, and I don’t feel like I can trust the application with my data now. As an alternative I’ve been using Joplin (bonus - can access on my phone), but it’s a much heavier app than gnote. Sometimes I just want an app that opens instantly and does just enough!

1 Like

Tracked in:

Yikes, that is unfortunate.
Start by looking into that manifest.xml. Based on it’s size the number of notes should not be particularly big, though I see from folder you’ve been syncing quite a bit, could be that the file in root is corrupted.
Each folder should have a folders in it containing notes an manifest file, the last one should have a manifest that’s identical to one in the root.
Gnote itself should have a manifest in it’s config directory (for regular install it’s ~/.config/gnote, you use flatpak, it seems to be ~/.var/app/…/config

New gnote launch (no manifest in config) should be able to sync notes as long as the manifests are correct.

If you do tests on that, please either run gnote from terminal to capture output (maybe journalctl -t gnote would give you log from last run too?).

I’m interested in any errors you can spot.

Oh, and I didn’t ask: whattype of sync do you use? (local folder or web one).