How to Restore "On My Mac" Notes?
This morning I was searching in my Notes app for something when the program began working very slowly. A message popped up -- something like "Unable to read 'sqlite'" -- and then the search brought up 0 results. I thought that was strange so I tried again, but the application froze. After force-quitting and restarting my computer, I opened my Notes app and to my horror, "On My Mac" Notes are completely empty!
I have found the actual archive files -- "NoteStore.sqlite"; "NoteStore.sqlite-shm"; "NoteStore.sqlite-wal" -- as well as individual files for each note [Library>Containers.com.apple.Notes>Data>Library>CoreData>ExternalRecords>Notes V4>then two different numbered folders, each with>ICNote>_records>and then more numbered folders with various notes within. Each file is numbered like this: p###.notesexternalrecord. Some show a text preview, some do not.] But when I try to open ANY of these with the Notes app, the Notes app opens and nothing happens. No new notes show up.
I know I could manually read these each as an HTML file and create new notes from them, but I have SO many, it would take forever. Any ideas of how I can restore them to Notes painlessly, and what is going on here??? Could it even just be something in my application settings that's not letting them show??
Other things to mention
- iCloud notes working fine. When I reopened the App, they had to take some time to reload from scratch as well, which I thought was odd. They reloaded but not "On My Mac" sadly.
- I suspect the freezing problem started because my hard drive was full or nearly full today. I've cleared some space, hoping that would solve it but I'm finding the same result.
iMac, OS X El Capitan (10.11.6)