Catastrophic Data Loss - Entire vault contents gone. WTAF?


So you’ve just deleted an entire life’s work and now you’d like me to reproduce the event for you? Are you kidding me?

I did the ‘top’ command (Linux command terminal) So you’ve just deleted an entire life’s work and now you’d like me to reproduce the event for you? Are you kidding me?and I was wondering why Osbsidian was using so much CPU 68% +

I tried deactivating all my favourite plugins one by one but found it made very little difference. Down to ~58%

Grok suggested that un-checking the ‘Use hardware acceleration’ (badly slows everything down) though you say completely the opposite. After doing so I found it had rapidly improved from ~68% cpu down to ~17%

I looked at my vault directory on my HDD (which is an encrypted nas share on my Synology) and found it wasn’t there. So I went directly into my nas, looked at file station and found that literally every single file had simply gone. Poof! Was that your life’s work that simply vanished in milliseconds?

Not a single sodding trace of it - nothing.

Fortunately for me I’m a network engineer, video games programmer and overall stud muffin. So I have a complete backup with not only LiveSync but also the entire vault was pushed to my local github, so I’ve lost nothing.

But I would say this is a pretty catastrophic failure on the part of Obsidian wouldn’t you? I mean it can’t possibly get worse that this can it?

Just thought I’d let you know before this happens to someone else less prepared and they jump out a window or something…

fixing Bugs saves lives!

1 Like

I’m sorry, but without some details, no one can possibly help you. I’ve moved this to help for the time being.

It’s ok I managed to recover the entire thing. HOWEVER I’ve just had a newly created document totally vanish into ‘thin air’ Pooof! Gone.

I just switched electricity suppliers, I recorded all the new information in a new document. I closed Obsidian (I’m using the LiveSync plugin) and when I re-opened all that remained was the document title in the tab bar at the top of the screen and when I clicked on it the contents were completely empty.

For a ‘document archive’ piece of software this is not only unacceptable it’s utterly devastating. What the hell is going on? I’ve never seen anything like this in my entire life, not only is this bad its - as I say in the title Utterly CATASTROPHIC.

And all you can say is “without more details no one can possibly help you”? It also goes to show you couldn’t even be bothered to read the rest of my post because I told you that I had recovered my vault…

But now I’ve just lost another document… what the %$^& is going on with you people?

You need to get yourselves sorted out, Google is awash with people complaining about the same thing. Don’t you think it’s important to get this fixed? It’s pretty fundamental don’t you think?

I’d suspect something with your NAS or Livesync or encryption methods before Obsidian. Or community plugins you have installed.

I did read your post. It’s filled with hyperbole and drama, and very little info as to what you expect Obsidian may have done to cause this.

Some info that would help would be “Show Debug Info” from Obsidian.

7 Likes

I would say loosing ones entire document archive qualifies as ‘dramatic’ wouldn’t you?

I helped the author of a particular plugin for Obsidian fix some critical bugs a couple of months ago, he denied they even existed until I had him replicate the exact problem on his machine.

I’m good at finding this stuff and if I say there’s a problem that’s because there’s a problem. I’ve been a professional video games programmer for most of my working career.

I probably need to work with the programmer of the LiveSync plugin next. If they’re up for it. It’s good but needs work (as we’ve observed) and there’s nothing wrong with my NAS.

Did you consider doing anything about enabling GPU ‘acceleration’ actually slowing the system down or is that Chromium’s fault?

Cool, so do you think you could wrangle up that “Show debug info”?

3 Likes

I have been using Obsidian for quite a few years. I have never had it delete my vault. I use Dropbox and Obsidian Sync (two separate vaults) to keep things organized. So most likely a sync issue or secondarily a plug-in issue. There are a number of posts in this forum referencing sync platforms that have deleted data. I hope you find your problem. I know it can be frustrating and yes … catastrophic so backup “frequently and often” as I assume you are doing.

1 Like

Have you logged the issue on the Livesync Github?

Someone logged a similar issue with S3 and Livesync a couple of months ago:

Clearly not exactly the same issue as you’re not using S3, but evidence that the plugin could be responsible for large-scale data loss, and not Obsidian itself.

Livesync advise and recommend a backup solution, so no-one should have catastrophic data loss. I too have been using Obsidian for years - currently over 4 devices - with no loss of data.

1 Like

Thanks DJP I’m glad to hear it. At the moment the suspicion seems to be with LiveSync. It’s finicky at best but I need to use it to to keep my vault; private, local and without size limits.

I also have a github server on my network called forgejo (which is how I initially managed to get all my data back). I also use couchdb which is what LiveSync uses so it’s also backed up there.

With LiveSync I can access my vault from my phone and ipad through my domain using Cloudflare. It’s secure and free (I get fed up with every micro-service charging even small amounts it’s like death-by-a-thousand-cuts)

I also use the Terminal plugin and from there I run Claude CLI with a modified ‘memory’ system. So I have an AI (Seven of Nine from Star Trek Voyager lol) in charge of my vault.

Is it possible she deleted everything? I suppose it’s not impossible, but I just have to issue her a /backup command and she’ll backup the latest vault changes to forgejo.

I’ve only been using Obsidian for a few months. at the moment it’s a love-hate relationship but the more I discover the more I love it though It’s pretty shocking to see not only files but an entire vault completely vanish. I’ll keep my eyes open and if it happens again I’ll see if I can get @rigmarole some logs.

Thanks @davidrsim I’ll raise an issue on his github. If it can happen to someone using Amazon’s S3 it shows it’s not my local network and there is a real issue.

The vault got wiped when I was de-activating plugins because I was trying to find out why my CPU was at 68% running Obsidian. Only to find… vault? what vault? Which was terrifying.
If I’m to track this down I’m going to need to set up a dummy vault to practise with to see if I can get this to happen again.

However having said that I also had a single file vanish out the blue today so it’s not just turning plugins on and off.

Still thanks for taking the time to reply.

Sorry It’s a lengthy reply. I posted the logs to Grok, here’s what it had to say:

The logs show a classic sequence of events with Obsidian LiveSync (the self-hosted sync plugin by vrtmrz) that unfortunately can lead to files appearing to vanish, especially during or right after an internet disconnection. You’re right to suspect a bug or edge-case behavior in the plugin — it’s not uncommon, and your logs point to a known class of issues.
What Likely Happened to “outfox.energy.md”

Normal sync behavior earlier (14:45): The plugin initializes, collects files (~1,675 in your DB), skips large PDFs (good), and successfully syncs/updates storage and database. At this point, everything looks healthy.
Internet disconnection at 17:12: Multiple repeated errors:
Failed to fetch: Error:net::ERR_INTERNET_DISCONNECTED
This happens when the plugin tries to reach your CouchDB server (self-hosted remote DB) but can’t because your internet dropped. LiveSync is very aggressive about checking connectivity and replicating in real-time, so it spams these logs when offline.
After reconnection (17:26 onward): Replication reactivates repeatedly, and the plugin starts pulling/pushing again. You see many STORAGE → DB (plain) Usernames & Passwords/outfox.energy.md entries — this means the plugin is repeatedly writing (or re-writing) the file from storage to the local DB index.Then suddenly, at some point (not explicitly logged in the snippet, but implied by your description), the file disappears from your local vault. The earlier log at 14:45:03 shows a similar pattern with a deletion:
xxx ← STORAGE (deleted) Usernames & Passwords/outfox.energy.md
This indicates LiveSync sometimes interprets a sync state mismatch (especially after a disconnect/reconnect) as the file being “deleted” on the remote side or needing removal locally to resolve a conflict.

LiveSync’s replication logic can be fragile during brief outages:

It uses chunk-based storage (files split into small pieces).
If a disconnect interrupts a replication cycle, it may end up in an inconsistent state where the plugin thinks the remote DB has no entry for the file (or a deleted/missing chunk marker), triggering a local deletion to “sync” to that perceived state.
This is exacerbated if there are any pending local changes to the file (e.g., you were editing the Outfox tariff note during/near the disconnect).

This isn’t “losing files over internet connection” in the sense of corruption — it’s a sync conflict resolution gone wrong, where the plugin errs on the side of deleting locally to match what it thinks is the authoritative remote state.
Is This a Known Bug in LiveSync?
Yes — similar issues have been reported in the plugin’s GitHub repo and Obsidian forums over the years (including 2025–2026):

Files disappearing or getting deleted unexpectedly after sync interruptions, disconnects, or replication loops.
Problems with deletion propagation (sometimes deletions don’t sync, other times they propagate too aggressively).
Edge cases after network errors leading to local files being removed to “resolve” perceived mismatches.
Replication getting stuck in “activated” loops after reconnect, which can cause inconsistent DB/storage states.

The plugin is powerful but complex (chunking, E2EE v2, real-time replication), and these intermittent issues pop up especially with intermittent connections or during heavy replication.
How to Recover the Missing File (“outfox.energy.md”)
Since you were working on it recently (energy tariff stuff from our chat), recovery should be straightforward:

Check Obsidian’s built-in File Recovery (core plugin — enable if not already):
Settings → Core plugins → File recovery
Open the snapshot viewer (or search in the vault for the file name).
Look for recent versions — snapshots are saved automatically on changes.

Look in .trash folder (Obsidian hides deleted files here):
In your vault folder → .trash (hidden folder).
Search for “outfox.energy.md” — restore from there if present.

Version history / snapshots in LiveSync:
If you have “Keep revision history” or similar enabled in LiveSync settings, check the plugin’s Hatch pane (ribbon icon or command palette → LiveSync: Hatch pane).
Use “Verify and repair all files” or “Recreate missing chunks for all files” — this often recovers or rebuilds missing data from chunks.

Remote DB check (if self-hosted CouchDB):
Access your CouchDB Fauxton interface (usually http://your-server:5984/_utils/).
Look in the database for documents related to “Usernames & Passwords/outfox.energy.md” (search by path).
If the entry exists remotely, use LiveSync’s “Fetch” or “Overwrite local from remote” (carefully — backup first!).

General backups:
If you have daily vault backups (recommended with sync plugins), restore from the last good one.
Or check if you pasted/copied the content elsewhere (e.g., our chat history has the tariff details — you could recreate the note quickly).

Preventing This in the Future

Pause LiveSync during poor/unstable internet — Use the pause button in the status bar.
Switch to periodic sync instead of real-time/live if your connection drops often (Settings → LiveSync → Sync mode → Periodic and on events).
Enable “Do not split chunks in the background” or other edge-case patches (in Patches section) — some users report this helps with intermittent errors.
Update the plugin — Check for the latest version (as of Jan 2026, v0.25.x+ has fixes for corruption/sync stability).
Consider alternatives for critical notes: Use Obsidian Sync (paid, more polished) or Git + remote repo for less fragile syncing.


Yes, with LiveSync version 0.25.36 on a self-hosted CouchDB setup, the behavior you’re seeing (file briefly appearing to vanish after an internet disconnect/reconnect, with replication spamming and errors like net::ERR_INTERNET_DISCONNECTED) is unfortunately a known class of edge-case issues in the plugin — though not always a “bug” per se, more a fragility in how it handles interrupted replications and conflict resolution.

Why This Happens (From Your Logs & Similar Reports)

  • When your internet drops (17:12 in logs), LiveSync can’t reach CouchDB → repeated fetch failures and “ERR_INTERNET_DISCONNECTED” spam (normal for the plugin’s aggressive checking).

  • On reconnect (17:26+), replication loops activate repeatedly (you see tons of “Replication activated” + “STORAGE → DB” for the same file).

  • In some cases, this loop causes a perceived mismatch between local storage (your actual files) and the DB index (what CouchDB thinks exists). LiveSync may then delete the local file to “sync” to what it believes is the authoritative remote state (e.g., missing chunks or a deletion marker from the interrupted cycle).

  • Your earlier log (14:45:03) shows exactly this: xxx ← STORAGE (deleted) Usernames & Passwords/outfox.energy.md — a deletion propagated or triggered during init/sync.

  • This is more common with:

    • Real-time/live replication mode.

    • Intermittent/unstable connections.

    • Files with recent local edits (like your tariff note).

    • Self-hosted CouchDB (some users report more issues vs. paid services like CouchDB on Fly.io or IBM Cloudant).

From GitHub issues and forum reports (up to early 2026):

  • Similar deletion/missing file problems after disconnects or replication interruptions appear in issues like #772 (download failures after initial sync), #693 (corrupted/missing large files post-sync), and older ones (#151 on deletion not propagating properly, or reverse cases where deletions don’t happen).

  • No major regression specifically in 0.25.36 release notes — that version focused on general stability, but these edge cases persist in the plugin’s chunk-based, real-time design.

  • Workarounds from users: Enabling certain patches (e.g., “Do not split chunks in the background” under Patches → Edge case addressing) helps prevent partial/corrupted writes during unstable syncs.

LiveSync is powerful but not as polished as Obsidian’s official Sync for handling flaky networks — deletions can propagate aggressively to resolve conflicts.

Maybe this is a good opportunity for the Obsidian team to revisit the Community Plugins page and rework the warnings there. Maybe they need to be more direct.

Community plugins, like any other software you install, could potentially cause data integrity and security issues.

Would you like to exit Restricted Mode to enable community plugins? We strongly recommend making backups of your data before doing so.

They seem clear enough to me, however.

Personally, I would never turn on community plug-ins (or even install a theme) on a vault that had mission-critical data in it. It seems like a recipe for disaster.

My preference for being paranoid has saved me on more than one occasion.

2 Likes

You’re absolutely right @oldsagemonkey there’s always the trade-off between more functionality and asking-for-trouble… however there are some features I absolutely need that are not provided by the default Obsidian install.

I think with the LyveSync issue I’ve managed to find a happy-workaround.

My network is not ‘flaky’ but I do have a home broadband with a dynamic IP - and at some point my IP is going to change and that means inevitably ‘at some point’ this problem is going to occur…

LiveSync Settings Updated

Made three changes to prevent the deletion issue:

  1. Disabled real-time sync: “liveSync”: true → false (line 8)
    • No more aggressive real-time replication during network instability
  2. Enabled periodic sync: “periodicReplication”: false → true (line 20)
    • Will sync every 60 seconds instead of constantly (interval at line 21)
    • Much more resilient to connection interruptions
  3. Enabled edge-case patch: “disableWorkerForGeneratingChunks”: false → true (line 107)
    • Prevents background chunk splitting that can cause partial writes during unstable syncs

Important: Restart Obsidian for these changes to take effect. The plugin loads this config on startup, so it won’t pick up the changes until you close and reopen Obsidian.

Well, it sounds like you’ve got a workaround for the time being. That’s good!

I would ask you to think about this:

Now I’m not trying to discourage you from using Obsidian, because I think it’s an amazing piece of software, but maybe it’s not the right tool for the workflow you’re trying to achieve. Sometimes what we want to use and what we should be using are two different things.

The reason I asked the question is at the beginning of your reply you used the word “trade-off,” and that indicates to me that you may be making concessions in favor of something that you want to use over a tool that would be better suited to your workflow.

If Obsidian is truly the best choice, then that’s great!

(I know, I know. I would make a terrible sales person.)

Unfortunately LiveSync offers functionality that Obsidian otherwise would not have. I’m not prepared to use a ‘cloud’ server because because that’s not only giving someone else my data it’s also literally paying them to have it.

Datacenters, if we’re not careful, will control all information, they will have all the AI and we the hapless end-user will be even more reliant on them. We are literally giving away all our freedoms and the majority of people don’t even realise it - and we’re paying for the privileged!

Data sovereignty is absolutely vital. It’s more important than people realise. Not only is Obsidian an excellent tool in-and-of-itself it allows me to think freely. It’s perfect for the poly-math types working on multiple seemingly-scattered projects and eventually coalescing them into an ordered structure.

It also means my data is encrypted, private and secure and the vault size is unlimited (at least we’ll hit that barrier when we come to it) and the total financial cost - nothing.

The Open-source community is the way we can maintain our freedoms and self-hosting is the only way to do it. I will help to make this easier for people with some of the projects I’m working on.

The only ‘compromise’ I see is working with software that has not been through sufficient bullet-proofing, but I’ve posted to the authors LiveSync’s Github with the problem and offered a work around) and if the author gets back to me, we can thrash out a solution together.

I did this with the Notebook Navigator plugin a couple of months ago and I’m happy to do the same with LiveSync.

As far as Obsidian goes; I understand it uses chromium as a basis which is nice but personally I would probably loose the whole browser structure and re-write everything in Rust using my own shader code for any visual effects. I see the programmers today (especially PC programmers) being either lazy or they just don’t think things through. In the games industry you’d never get away with it. If I weren’t so busy I might even consider actually doing it…

Anyway I think anyone with a Dynamic IP address should be aware of these settings in LiveSync until we can get the code fixed and fully bullet-proof.

No dog in this fight—it was just at the top of the queue when I happened to hop on the forum today and check for notifications—but I feel like @rigmarole was being helpful and measured in their response:

Grok corroborated this claim (based on logs you provided it, but withheld from the moderator seeking to help you):

I feel like you would have gotten a lot of helpful insight by remaining calm and being responsive to the humans who sought to help you, despite your demeanor. Instead of recognizing that the people you thought were responsible for your error were, in fact, correct about its underlying cause, you went on to say they were “lazy or they just don’t think things through”:

I don’t know what a lot of those words mean—I’m a run-of-the-mill writer, not a programmer—but plugging those terms into a search engine yielded this post from another user that references a Rust library. There is definitely room here for talented programmers to make meaningful contributions to this community—if that’s something you’re interested in.

This whole exchange may reflect more on you as a user than the creators of Obsidian as developers, but I speak from personal experience when I say that experimenting with alternative sync services benefits greatly from making regular, manual backups. I use iCloud for my syncing, I’ve also used Obsidian Sync, and I maintain full local versions on each of my devices that I back up to external hard drives on a regular schedule.

In any case, glad Seven of Nine had your back and that you got your stuff back. I hope you share any future issues you find with this forum.

7 Likes