Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sync on Remote tries to sync multiple times #98

Closed
2 tasks done
kadisonm opened this issue Jan 8, 2024 · 4 comments · Fixed by #101
Closed
2 tasks done

[Bug]: Sync on Remote tries to sync multiple times #98

kadisonm opened this issue Jan 8, 2024 · 4 comments · Fixed by #101
Labels
bug Something isn't working

Comments

@kadisonm
Copy link

kadisonm commented Jan 8, 2024

What happened?

I'm finding that after detecting remote changes 'password is blank? false remote has metadata? false' gets printed around 10 times then it runs multiple syncs at the same time.

image

Not entirely sure why or how it is managing to sync multiple times at once.

At the end the metadata sync is all bunched up.

image

What OS are you using?

Windows, Android

What remote cloud services are you using?

Dropbox

Version of the plugin

0.4.36

Version of Obsidian

No response

Using password or not

  • Yes.

Ensure no sensitive information

  • I ensure that no sensitive information is submitted in the issue.
@kadisonm kadisonm added the bug Something isn't working label Jan 8, 2024
@kadisonm
Copy link
Author

kadisonm commented Jan 8, 2024

Additionally if I turn Sync on Save, Sync on Remote off and only manually sync. Somehow the metadata is synced before the end of step 3?

This only happens when I reset the metadata file I believe. Found this trying to uninstall the original Remotely Save which I can't seem to remove even after resetting the metadata.

Obsidian_pBJSeNNRSj

And then the metadata is synced again at the end.

Obsidian_OYOrz5ULNH

This might be one of the causes that Sync on Remote is running multiple.

@sboesen
Copy link
Owner

sboesen commented Jan 8, 2024

Interesting... maybe sync config dir is syncing your remotely save plugin and preventing deleting it?

Does it work with just remotely sync?

@kadisonm
Copy link
Author

kadisonm commented Jan 8, 2024

I have sync config dir on. If I disable it will it delete the .obsidian on the remote? I think everytime I delete Remotely Save it thinks my local doesn't have it and resyncs it back in. Not sure why. This is kind of a seperate issue though.

Does it work with just remotely sync?

Not sure what you mean, sorry.

@sboesen
Copy link
Owner

sboesen commented Jan 8, 2024

Yeah you need to delete your metadata file with the reset dev setting after disabling and this has to be disabled on all devices where it is enabled - related to the issue where we can't track deletes outside obsidian.

@kadisonm kadisonm moved this to In progress in Remotely Sync Jan 9, 2024
@kadisonm kadisonm moved this from In progress to In review in Remotely Sync Jan 10, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in Remotely Sync Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants