obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[Bug]: obsidian-git keeps adding and removing its own data.json file.

Open hellige opened this issue 2 years ago • 3 comments

Describe the bug

Several times a day, obsidian-git creates a commit that either creates/adds .obsidian/plugins/obsidian-git/data.json or else deletes/removes that same file. The content of the file is the same each time. I think this file should either exist, or else it should not exist. I don't see why obsidian-git keeps deleting and recreating it.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

Simply leave obsidian running with obsidian-git installed and configured for automated periodic backups.

Expected Behavior

This file is either left in place, or else deleted and not recreated.

Addition context

No response

Operating system

Linux

Installation Method

AppImage

Plugin version

2.20.3

hellige avatar Jun 22 '23 20:06 hellige

Are you using any additional syncing service on that directory? Is every commit affected by this or just some commits without any obvious pattern? I don't know how that could happen.

Vinzent03 avatar Jun 23 '23 10:06 Vinzent03

There's no other syncing service on that directory. It's just some commits without any obvious pattern. :( I'll see if I can catch it happening and see if there's anything in the console, etc.

hellige avatar Jun 23 '23 15:06 hellige

I have this problem, too. What's weird is that I get merge conflicts for this file repeatedly on Android devices for which I deactivated this plugin.

SuzanaK avatar Aug 02 '23 15:08 SuzanaK