Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost all files in Boostnote local storage for unknown reason #3708

Open
shuoO-24 opened this issue May 31, 2021 · 1 comment
Open

Lost all files in Boostnote local storage for unknown reason #3708

shuoO-24 opened this issue May 31, 2021 · 1 comment

Comments

@shuoO-24
Copy link

shuoO-24 commented May 31, 2021

Current behavior

The last time I used Boostnote was about a month ago, and I stored all my Algo notes inside Boostnote storage. But I could not find any local notes below my second local storage location at all. All the local settings have been renewed, except notes stored in the first default storage location, and I did not know what happened within this month. I did not upgrade it neither reinstall it.

The local storage location I chose for storing those data was empty now:
image

Then I used Houdahspot to try to search for other possible location of that missing folder(s) in my local storage. I could not find it. All files have been encrypted and I could not identify whether the data of those notes are still stored in my computer. But the original files might be lost completely.

That is the result I found in Houdahspot: image

Inside each folder:
image
image
image

This is the main page of my "renewed" Boostnote:
image

  • I've created three new storage locations("unnamed") and linked them to the search results. But still not found.
  • "My storage location" was cleared by me just now.
  • My previous settings for appearance and user snippets also disappeared.

Expected behavior

All user setups and data are back up safely in another local storage location and can be recovered easily by users. Do not delete data completely in local storage if the users have not authorized it to do so.

Steps to reproduce

  1. Create a new storage location in local computer
  2. Create some folders and notes inside it in Boostnote
  3. Wait for some time, and it might accidentally disappear (since I didn't know the reason)

Environment

  • Boostnote version: 0.16.1
  • OS version and name: MacOS Big Sur 11.2.3
@Komediruzecki
Copy link

Komediruzecki commented May 31, 2021

Hi,

By this picture:
image

I can see that you mistakenly added notes folder inside boost note notes folder.
I think this might cause issue loading this storage.

Firstly, backup your notes from this image, the files ending in *.cson are your notes, you can actually inspect them via any text editor, since the content should be inside, alongside some note metadata which boost note reads.

How many notes did you have, it seems by this that it is only two?

After that, you can try cleaning up boost note storage location/folder in a way that it only contains:

  1. storage location - only folder 'notes', folder 'attachments' and 'boostnote.json'
  2. notes folder inside storage/folder location - all your notes ending in *.cson (no additional files, folders)
  3. attachments folder - your attachments, and only attachments ending in *.png

Once you clean up the storage in this way, try loading this folder location in boost note (the folder where boostnote.json resides, not any internal folder)

I am not sure how this would otherwise happened and why would it lose your view/preferences, it could be caused by corrupted boostnote.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants