Skip to content

Issues with syncing across multiple devices when changing settings #82

@eufriction

Description

@eufriction

Problem

I need to manually change the plugin settings for all my 4 devices for the Readwise plugin, but not for any other plugin. I'm using Obsidian Sync.

Reproduce

  1. Ensure you have one primary and one secondary device setup with sync working for another plugin see official docs.
  2. Set a unique device name so the logs makes sense for the latter steps.
  3. Change the Customize base folder on the primary device, make sure the settings are synced
  4. Delete the original synced highlights from Readwise and trigger a manual resync, ensure Resync delete files are checked
  5. Make sure that everything is imported and that Obsidian reports everything as synced.
  6. Open the secondary vault on a separate device
  7. The highlights are synced to the original location and the settings are not synced
  8. Checking the Sync plugin job shows data.json has been synced from the secondary device to Obsidian.
  9. Neither of the devices get each others configuration.

Ideas for cause

  • Using data.json for both plugin settings and the sync data might be the problem.
  • Together with the above, as Readwise syncs on Obsidian start, the settings for the last opened device is always newer then the others so the primary settings are never loaded.

Possible solution

If it's possible to store the plugin settings in a separate file from the dynamic highlight sync data, then the timestamp on the plugin settings would not be updated on every Readwise sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions