Obsidian Sync repeatedly restoring deleted files

I’ve had a similar experience, though it tends to be folder trees and NOT files that get restored. I just found empty folders in 4 different locations. I had moved the directory into another vault and deleted the dir from the old one, and now I find not just it but empty dirs in all the locations it has existed in the last 6 months.

@chriswaterguy I may give your suggestion a try though someone told me they have seen pausing synch all together while making large changes seems to work for them.
I have 4 devices so your solution isn’t really appealing, but maybe this is a contributing factor?


Notes to help with RCA

Usecase

I primarily work on a daily driver laptop and make large batches of changes via Thunar, CLI, and Obsidian. I will often have 1 or more of the other devices physically off at this time. Through out the week, I may use my phone while traveling, the more mobile older laptop when on-call, and my tablet will sometimes be forgotten dead in a corner or my momentary primary driver for some project.
The desktop is basically only fired up for the rare gaming sesh, but when I do, I tend to work on obsidian there because I like that computer best, just use it the least.

It’s hard to tell if it’s plugin related because I don’t notice the old folders have re-appeared until much later and I can’t easily operate without plugins for weeks at a time, nor can I track down all the duplicates as house cleaning is becoming a monumental task. However, I do not believe any of my installed plugins would affect this. I’m experimenting with Changelog and Chronology in an attempt to find a way to improve the logging in Obsidian, but real logs would be better.

Environment

Devices:

  • 1x desktop - Linux debian based distro
  • 2x laptop - Linux debian based distros
  • 1x Android tablet
  • 1x Android phone

OSes:

  • Xubuntu 22.04.5 LTS on the daily driver and desktop.. something older on the old laptop, maybe?
  • Latest android on the phone.
  • Tablet is old so eol android there.

System Info:

SYSTEM INFO:
	Obsidian version: v1.9.14
	Installer version: v1.9.14
	Operating system: #85~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 16:18:59 UTC 2 6.8.0-85-generic
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: Things v2.1.19
	Snippets enabled: 6
	Restricted mode: off
	Plugins installed: 38
	Plugins enabled: 13
		1: Style Settings v1.0.9
		2: Tag Wrangler v0.6.4
		3: Templater v2.14.1
		4: Meta Bind v1.4.5
		5: List Callouts v1.2.9
		6: Mononote v1.2.2
		7: Dataview v0.5.68
		8: Commander v0.5.4
		9: Chronology v1.1.14
		10: Image Converter v1.3.15
		11: Typing Transformer v0.4.2
		12: Iconic v1.1.4
		13: Vault Changelog v0.1.0

Logs can not be provided per: Persist log files for debugging

[and @Sigrunixia (sorry I think I should have been replying to you but I’ll just add this line rather than post again]

To clarify, I thought that in the past and am less sure about it now. I also realize I initially misread Chris’s solution and thought it was just saying to keep Sync unpaused, but I see now that it is about keeping the devices active (I’ll be trying that too).

This is mostly true for me, but occasionally a folder will have a file or 2 in it.

Just now I logged in on a computer which hasn’t synced/been used in a few days and it uploaded a bunch of stuff I deleted from a vault yesterday.
I have the sync log (despite it being non persistent) but i’d prefer to share privately.
I actually see it rejecting a lot of changes from the server but not saying why.

Where can I send you the sync logs? I do not have any sync plugins or google or icloud and the logging is incomplete (why were the changes rejected?) and non persistent so I’m really starting to lose faith in Obsidian sync here

to be clear, this time it started uploading files too, though it appears it skipped all markdown files though I paused it while it was churning so no idea. Lots of clean up to perform now… Really wish I had good logs and this is one of those times I really really wish this was open source ( Open Sourcing of Obsidian - #312 by dazinger ) because I’d have done more to resolve it almost a year ago.

Edit:

So now I’ve spent 2 hours cleaning things up, but being careful to catch failure info. I suspect my case may be related to an issue in the filesystem but I do not know. I have for some time suspected the nvme in this computer to be on it’s way out.

Here are some syslogs from when I deleted files on another computer, saw that the sync logs noted they were deleted on this computer (the one which I turned on, starting this mess). However, the files still exist on this computer..

2026-01-02T23:42:40.121044-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.121237-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2026-01-02T23:42:40.121506-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.121781-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2026-01-02T23:42:40.122091-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.122365-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2026-01-02T23:42:40.122685-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.122955-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2026-01-02T23:42:40.123236-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.123574-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2026-01-02T23:42:40.123906-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.124181-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2026-01-02T23:42:40.124685-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: GFileInfo created without standard::name
2026-01-02T23:42:40.124935-07:00 tj-ThinkPad-X1-Carbon-6th-v3 gvfsd-trash[3835]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached\




Edit:
Man I was supposed to be well asleep an hour or two ago. I only turned this damned computer on to synch the work to it that I had done elsewhere so that it would be ready for tomorrow (it’s my mobile one). Can we PLEASE FIX SYNC???

Edit:
It’s now almost 1 and I’m still at it because I’m finding other dupicates which must have been left over from previous bad synchs.
Please fix this… That or I want a refund for time spent fixing issues due to synch and lack of logging. However, at my usual pay, the hours I’ve spent over the last year fighting with synch has cost far more than what I paid for sync, and I basically went with your tool over some homebrew or db based one because I WANT to pay the team building a tool I use daily. Money is tight and this was a conceous decision and I would far prefer a synch I could trust with my personal data.

If I had to hypothesize I would guess you’re not using a good transaction log in sync. If this is the issue, please understand the importance of logging in production software. If I’m going to pay for Sych rather than use my own distributed filesystem or database, I’d expect production practices like good logging and a synch tool that utilizes standard distributed db logic like Cassandra’s Log-Structured Merge-Trees (LSM-Trees) and Tombstones (see: Tombstones | Apache Cassandra Documentation ).

please please please please pretty please prioritize investment in the synch logic!
I routinely suggest Obsidian to my collegues, customers, friends, and family, and my experience with the synch tool, lack of logging, and inability to actually root cause and resolve the issues has caused me to regret that with shame. I have worked for 2 of the largest Linux / Open Source companies for the last decade so recommending a closed source tool with such critical production faults is a black mark on my professional reputation when there are opensource compettitors I could have recommended which we could be improving instead of just fighting with..
Obviously, I don’t expect you to care about my professional reputation, but I can’t in good conceous continue to recommend Obsidian until it at least has a working sync and logging ( Obsidian Sync: Persistent / Save Sync logs for debugging )..

Edit, another..
So the sync log is not showing unpause events. Can I please just pop in and add these or troubleshoot them? This is basic enough that it’s in the realm of things I’ve actually traced and fixed when I find issues in my company’s code while working with a customer.
Also, and I’m not sure if this is theme related or not yet, but the filter makes the sync log impossible to read as it adds a bunch of spaces seemingly before the word you are filtering for when it bolds them :person_facepalming:

Final Edit for the morning. Almost 2 am and my plans for the night and day are shot. do not like. Thank you for keeping me company through it all. Hopefully some of what I saw helps. :zzz:

I think you can just send them to WhiteNoise through DM here, on the forum :blush:

I don’t like to use a DM without prior consent, I’m sure Whitenoise gets a lot of noise so don’t want to add to it until they are ready.

On a side note, guess what I found in my vaults as a gift in the morning… restored duplicate empty folders and empty copies where I had moved them.. now I’m not sure if I lost data and have to spend time I would rather have spent on my actual plans for today reviewing what there is of sync logs to find out wtf happened while I wasn’t looking.

Yes you can DM about this

Thank; sent

Just to summarize, here are the issues I was able to reliably reproduce while doing the extensive work of cleaning up the mess sync made of my vaults this past weekend.
It’s clear to me that there was some server side issue with that zip file, and it makes me concerned for the integrity of others archives and large files in my vault. I believe there was possibly more, but in addition to trying to document what I could despite logging failures, I was focused on salvaging what I could.

  • There is a very clear lack of good logging practices which would help us to run root cause analysis.

  • Pause or unpause is not reliably logged in the logs that do exist (see previous posts and uploaded logs).

  • Logging is unpredictable and seems to fail or delete logs without explanation in active sessions (and are not saved persistently anywhere that I found. See: Obsidian Sync: Persistent / Save Sync logs for debugging )

  • It appears that sync is not using a transaction log with tombestones, or there are bugs in whatever log Obsidian is using.

I recommend anyone running sync with their vaults take regular backups. A git repo would be useful, but if you store images or other files in your vault, you may need to do so locally rather than on github.

***I strongly advise that users DO NOT RELY EXCLUSIVELY ON SYNC FOR YOUR DATA INTEGRITY.

It attempts to synchronize data between devices, at the occasional cost of data integrity, and the built in recovery tools are not easily searchable or useable for this usecase without good persistent logs.***

Exact same issue, just bought sync and I cannot delete anything, it immediately gets restored.

I have two macbooks, where I use sync to sync data from one to the other and vice versa.

Timeline:
Macbook A: I delete folder X
Macbook A pushed the changes to server (Deleting remote folder…)

Macbook B: Registers that the folder and its contents was deleted: (Server pushed (folder) (deleted or renamed) …)
Macbook B: Ignores the deletion and starts uploading the folder. (Uploading folder)

Macbook A: Restores the files.

This is a huge problem.

I too am having this problem.

I do a bunch of work in a synced vault such as renaming files and deleting files, only for originals to show up again once I sync to another computer. Very frustrating…

I’m also having this problem. It’s so frustrating, I just bought a yearly subscription to find out sync is utterly broken. And no fix in the horizon, since this is going since 2023…

Ok, so I’ve been legitimately afraid to keep using Obsidian Sync and today it was proven yet again. It just completely mangled my main two vaults because I dared to turn on a computer which had not synched in a long time. WTF is even happening? @WhiteNoise is it possible to get a refund for synch? This is a mess and I mean, fool me once, fine but how many times has this happened now? I’m using git to back up my vault now because of this and while it’s unwieldy, at least it’s reliable and wont destroy my work while creating hours more… I’m happy to help with RCA here, but I’m not even sure that’s what we’re doing any more. I feel like I’m screaming into a void in this ticket.

To anyone out there considering paying for synch, I strongly recommend giving it a miss until the team has incorporated standard distributed database best practices. The team seems nice and the work is good, but synch is fundamentally broken.

I am sorry for your poor-expieriene. We have made some changes in the past releases, but we haven’t nailed why some people are affected by this problem.

The refund policy is outlined here.
If you have further questions about the refund policy, please email [email protected]

Thank you, and I appreciate that. The behavior is very easily reproduced, so I do not understand the delay in diagnosis. As I said before, it seems to be very simply bad/incomplete distributed data management practices in the core logic. I’ve worked with distributed systems at work for maybe 20+ years, and there are well established standards for how to manage data synchronization to avoid the most common issues, such as the replication of deleted or moved files from one node to another which is more current.

Is there continuing good faith effort to address that algorithm or adopt a better standard (was your team able to review the standards for Log-Structured Merge-Trees (LSM-Trees) and Tombstones like Cassandra uses, per my recommendation in January), or has this been tabled?

Honestly when we develop software, the biggest boon to resolving issues is persistent logging, which we still do not have (what good is a log that doesn’t exist?).

I really want to love Obsidian and I mostly do, but over the last 3 years I have gone from an advocate of the tool, suggesting everyone and any one use it, to a vocal detractor of the paid component of the tool. Before I quit my subscription and contribution to your project and move to advocating against it, I want to be sure I’m in the right to do so. However, with problems here on what are basic issues we solved in software development back in 2010 and earlier and logging standards which we built the entire software industry on dating back to the 90s, I am very much starting to struggle.

Obsidian changed my life. It’s made everything far easier to handle and I’ve used it to build entire new tools that are helping people throughout two industries, and I WANT to be a strong advocate and pay you guys, but this is starting to feel like bad faith development.. and if that is the case, I can’t myself in good faith do so.. Our data is vital to our lives and its integrity far outweighs any fancy new feature, no matter how cool.

Hi all,

I found your forum and I have the same issue as people in this group. Today I started using the plug-in Relay, to share certain folders with my DnD players. Everything is now running fine, but there is a document I don’t want to share with all players and tried to delete it both from my OneDrive folder and from Obsidian, but it keeps coming back all the time.

Is there any solution for this issue?

This is likely a Relay/Synch race condition. I would first and foremost test without Relay and if Relay is definately the source of the issue, the devs here will direct you to the Relay team here: Contact - System 3