It just happened again, and CTRL-R was not involved. First, let me answer your questions.
- My experience is that Obsidian autosaves, which is part of what I love about it and why I was so surprised to see the data was lost.
- Dropbox was active and definitely did not pick up any of the changes between 4:01 PM and 5:21 PM. My Github commit was at 4:33 PM. The contents of the commit are identical to the 4:01 PM Dropbox version, so no changes were picked up by git after 4:01 PM either.
- Your File Recovery suggestion gave me a brief ray of hope, but alas, it’s almost exactly the same problem. There’s a version at 4:01 PM and at 5:13 PM, nothing in between. 5:13 PM is when I did the reload.
- Plugins: Admonition, Better Word Count, Collapse All, Command palette, File recovery, Find unlinked files and unresolved links, Kanban, Note Refactor, Page Preview, Sliding Panes (Andy’s Mode), Templates, Text Snippets, Zettelkasten Prefixer.
I also had Obsidian Dictionary installed, but uninstalled it before I started writing. I don’t think I restarted Obsidian after I uninstalled it. I installed that and Collapse All yesterday. All the others I have had installed for months with no problems.
- I am on a Mac. No icloud though. The vault is in Dropbox, and I use Github Desktop to commit my md files.
Okay, now onto what just happened.
I was rewriting the lost content, being sure to hit CTRL-S every few minutes just in case. I was also periodically checking Dropbox to see that the saves were being uploaded. Everything seemed to be working fine. I finished rewriting the lost content and went to commit the changes. That’s when I realized that git hadn’t picked up about the last 20 minutes of changes. They were still live in Obsidian though, so I hadn’t lost anything yet. I went back to Obsidian and hit CTRL-S … and nothing happened. Still no changes picked up in git or Dropbox.
I went into the Mac finder and opened the file in a different markdown editor. The changes weren’t in the file. I went back to Obsidian, copied the changes to the clipboard, pasted them into the file in the other editor, and hit CTRL-S from there. Then the file saved, the changes showed up in git, and Dropbox synced.
Referring to File Recovery, you can see that it was saving every 5 minutes until 7:41 PM, and then there were no saves until 8:05 PM. I was writing that whole time.
So, there’s definitely something weird happening with Obsidian where the changes aren’t being written.
One other thing of note: After this latest issue, I went to the Community Plugins with the intention of uninstalling anything new I had installed. I hit Check For Updates. There were four updates pending. I hit Update All. It updated Admonition, but then it stalled. It didn’t update any more plugins – the progress bar kept cycling – and I had to restart Obsidian before it would let me uninstall Collapse All (which was the only new one still installed).
I’m going to try and repro this issue on a clean file with fewer variables to see if I can isolate the issue. I’ll let you know if I figure anything else out.