[GH-ISSUE #414] Local storage disappeared after my mac shutdown #188

Closed
opened 2026-03-03 00:19:09 +03:00 by kerem · 6 comments
Owner

Originally created by @LadyForest on GitHub (Apr 18, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/414

Current behavior

Yesterday my mac suddenly turned off and then I found my local storage disappeared and all my notes are gone. I check the dir ~/Library/Application Support/Boost Note but I don't know how to recover from it. There were ~20 notes and I was really upset :(

Here are some logs to help to debug.

cd ~/Library/Application Support/Boost Note/IndexedDB/file__0.indexeddb.leveldb
cat -n 000006.log | grep -a 'createdAt'
image

Expected behavior

Steps to reproduce

Environment

  • Boostnote version: 0.3.0
  • OS version and name: MacOS Catalina 10.15.4
Originally created by @LadyForest on GitHub (Apr 18, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/414 # Current behavior Yesterday my mac suddenly turned off and then I found my local storage disappeared and all my notes are gone. I check the dir `~/Library/Application Support/Boost Note` but I don't know how to recover from it. There were ~20 notes and I was really upset :( Here are some logs to help to debug. `cd ~/Library/Application Support/Boost Note/IndexedDB/file__0.indexeddb.leveldb` `cat -n 000006.log | grep -a 'createdAt'` ![image](https://user-images.githubusercontent.com/55568005/79639789-a7b98780-8142-11ea-8b64-bcc5f2fafc46.png) <!-- Let us know what is currently happening. Please include some **screenshots** with the **developer tools** open (console tab) when you report a bug. If your issue is regarding the new Boost Note.next, please open an issue in the new repo 👉 https://github.com/BoostIO/BoostNote.next/issues. --> # Expected behavior <!-- Let us know what you think should happen. --> # Steps to reproduce <!-- Please be thorough, issues we can reproduce are easier to fix. --> 1. 2. 3. # Environment - Boostnote version: 0.3.0 - OS version and name: MacOS Catalina 10.15.4 <!-- Love Boostnote? Please consider supporting us on IssueHunt: 👉 https://issuehunt.io/repos/53266139 -->
kerem 2026-03-03 00:19:09 +03:00
Author
Owner

@Rokt33r commented on GitHub (Apr 19, 2020):

I moved this because you're definitely using BoostNote.next app.
It looks like the app has failed to save storage info in localStorage(https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). But from the screenshot you've shared, the data seem to
exist in indexedDB.
So this solution in here https://github.com/BoostIO/BoostNote.next/issues/380#issuecomment-608569928 might work for you. Please try it.

<!-- gh-comment-id:616125751 --> @Rokt33r commented on GitHub (Apr 19, 2020): I moved this because you're definitely using BoostNote.next app. It looks like the app has failed to save storage info in `localStorage`(https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). But from the screenshot you've shared, the data seem to exist in indexedDB. So this solution in here https://github.com/BoostIO/BoostNote.next/issues/380#issuecomment-608569928 might work for you. Please try it.
Author
Owner

@Rokt33r commented on GitHub (Apr 23, 2020):

I'm going to close this issue because of inactivity. I assume it can be fixed by the solution in the previous comment.

Also, I'm going to introduce some recovery tools so you can fix it without opening console of browser or electron. The task will be tracked in #427

<!-- gh-comment-id:618195705 --> @Rokt33r commented on GitHub (Apr 23, 2020): I'm going to close this issue because of inactivity. I assume it can be fixed by the solution in the previous comment. Also, I'm going to introduce some recovery tools so you can fix it without opening console of browser or electron. The task will be tracked in #427
Author
Owner

@LadyForest commented on GitHub (Apr 23, 2020):

I moved this because you're definitely using BoostNote.next app.
It looks like the app has failed to save storage info in localStorage(https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). But from the screenshot you've shared, the data seem to
exist in indexedDB.
So this solution in here #380 (comment) might work for you. Please try it.

Thank you and let me try it :)

<!-- gh-comment-id:618293189 --> @LadyForest commented on GitHub (Apr 23, 2020): > I moved this because you're definitely using BoostNote.next app. > It looks like the app has failed to save storage info in `localStorage`(https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). But from the screenshot you've shared, the data seem to > exist in indexedDB. > So this solution in here [#380 (comment)](https://github.com/BoostIO/BoostNote.next/issues/380#issuecomment-608569928) might work for you. Please try it. Thank you and let me try it :)
Author
Owner

@LadyForest commented on GitHub (Apr 25, 2020):

I moved this because you're definitely using BoostNote.next app.
It looks like the app has failed to save storage info in localStorage(https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). But from the screenshot you've shared, the data seem to
exist in indexedDB.
So this solution in here #380 (comment) might work for you. Please try it.

Thank you and let me try it :)

It works, thanks so much 👍

<!-- gh-comment-id:619314141 --> @LadyForest commented on GitHub (Apr 25, 2020): > > I moved this because you're definitely using BoostNote.next app. > > It looks like the app has failed to save storage info in `localStorage`(https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). But from the screenshot you've shared, the data seem to > > exist in indexedDB. > > So this solution in here [#380 (comment)](https://github.com/BoostIO/BoostNote.next/issues/380#issuecomment-608569928) might work for you. Please try it. > > Thank you and let me try it :) It works, thanks so much 👍
Author
Owner

@code56 commented on GitHub (Jun 28, 2021):

I deleted Boostsnotes from my MAC and now I re-installed it and I want to recover the notes I had. I am not sure I had them backed up in the Cloud or not. Is it possible to recover them somehow? Thank you in advance.

<!-- gh-comment-id:869615507 --> @code56 commented on GitHub (Jun 28, 2021): I deleted Boostsnotes from my MAC and now I re-installed it and I want to recover the notes I had. I am not sure I had them backed up in the Cloud or not. Is it possible to recover them somehow? Thank you in advance.
Author
Owner

@Komediruzecki commented on GitHub (Jun 28, 2021):

Hi code56,

I cannot tell you which storage you had:

  • if you had local storage, the notes should be on your disk
  • if you had legacy cloud storage, the sync is no longer possible, so you would need to have it synced in other to retrieve them (did you use account to log into boost note) - please contact @Rokt33r for further information on how to get your notes
  • if you had cloud storage, the data should be on your account
  • if you used legacy local storage, the notes should also be in application data (if not removed)

Can you give more information about version of the boost note you had (this might reduce the number of possible storages, since legacy cloud and local storage were removed recently)
Also, did you try looking for boostnote.json file on your file system, if you find something like this, you maybe had local storage.

<!-- gh-comment-id:869716818 --> @Komediruzecki commented on GitHub (Jun 28, 2021): Hi code56, I cannot tell you which storage you had: - if you had local storage, the notes should be on your disk - if you had legacy cloud storage, the sync is no longer possible, so you would need to have it synced in other to retrieve them (did you use account to log into boost note) - please contact @Rokt33r for further information on how to get your notes - if you had cloud storage, the data should be on your account - if you used legacy local storage, the notes should also be in application data (if not removed) Can you give more information about version of the boost note you had (this might reduce the number of possible storages, since legacy cloud and local storage were removed recently) Also, did you try looking for `boostnote.json` file on your file system, if you find something like this, you maybe had local storage.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#188
No description provided.