Obsidian Sync deletes all community plugin settings on first sync

Steps to reproduce

  1. Set up a new vault on desktop.
  2. Set up some community plugins (doesn’t matter which).
  3. Set up Sync on this vault.
  4. Enable all sync options (including syncing of settings).
  5. Sync the vault on Obsidian on iPad.
  6. Enable all sync options (including syncing of settings).

Expected result

Everything is synched, including the settings.

Actual result

The plugin settings are deleted! Not just locally, the settings are deleted from the remote: “Deleting remote file .obsidian/community-plugins.json”

See the full sync log below.

Environment

  • Operating system: MacOS (latest version), iPadOS (latest version). Obsidian is also latest version.
  • Debug info:

SYSTEM INFO:
Operating system: ios 16.1.1 (Apple iPad)
Obsidian version: 1.4.1 (83)
API version: v1.0.3
Login status: logged in
Catalyst license: none
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

2022-11-28 13:44 - Paused
2022-11-28 13:44 - Connecting to server
2022-11-28 13:44 - Server pushed (folder) [oscar.local] Days
2022-11-28 13:44 - Server pushed (folder) [oscar.local] Weeks
2022-11-28 13:44 - Server pushed [oscar.local] Weeks/2022-W48.md
2022-11-28 13:44 - Server pushed [oscar.local] Days/2022-11-28.md
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/app.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/appearance.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/hotkeys.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/themes/Shimmering Focus/manifest.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/core-plugins.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/daily-notes.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/community-plugins.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/themes/Shimmering Focus/theme.css
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/calendar/data.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/calendar/manifest.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/periodic-notes/manifest.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/obsidian-style-settings/manifest.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/obsidian-style-settings/data.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/periodic-notes/styles.css
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/periodic-notes/data.json
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/obsidian-style-settings/styles.css
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/calendar/main.js
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/periodic-notes/main.js
2022-11-28 13:44 - Connection successful. Detecting changes…
2022-11-28 13:44 - Server pushed [oscar.local] .obsidian/plugins/obsidian-style-settings/main.js
2022-11-28 13:44 - Resumed. Detecting changes…
2022-11-28 13:44 - Creating local folder Days
2022-11-28 13:44 - Accepted Days
2022-11-28 13:44 - Creating local folder Weeks
2022-11-28 13:44 - Accepted Weeks
2022-11-28 13:44 - Downloading file Weeks/2022-W48.md
2022-11-28 13:44 - Downloading complete Weeks/2022-W48.md
2022-11-28 13:44 - Accepted Weeks/2022-W48.md
2022-11-28 13:44 - Downloading file Days/2022-11-28.md
2022-11-28 13:44 - Downloading complete Days/2022-11-28.md
2022-11-28 13:44 - Accepted Days/2022-11-28.md
2022-11-28 13:44 - Fully synced
2022-11-28 13:44 - Merging conflicted file .obsidian/appearance.json
2022-11-28 13:44 - Merge successful .obsidian/appearance.json
2022-11-28 13:44 - Downloading file .obsidian/themes/Shimmering Focus/manifest.json
2022-11-28 13:44 - Downloading complete .obsidian/themes/Shimmering Focus/manifest.json
2022-11-28 13:44 - Accepted .obsidian/themes/Shimmering Focus/manifest.json
2022-11-28 13:44 - Merging conflicted file .obsidian/core-plugins.json
2022-11-28 13:44 - Downloading file .obsidian/core-plugins.json
2022-11-28 13:44 - Downloading complete .obsidian/core-plugins.json
2022-11-28 13:44 - Accepted .obsidian/core-plugins.json
2022-11-28 13:44 - Downloading file .obsidian/daily-notes.json
2022-11-28 13:44 - Downloading complete .obsidian/daily-notes.json
2022-11-28 13:44 - Accepted .obsidian/daily-notes.json
2022-11-28 13:44 - Deleting remote file .obsidian/themes/Shimmering Focus/theme.css
2022-11-28 13:44 - Downloading file .obsidian/plugins/calendar/main.js
2022-11-28 13:44 - Downloading complete .obsidian/plugins/calendar/main.js
2022-11-28 13:44 - Accepted .obsidian/plugins/calendar/main.js
2022-11-28 13:44 - Downloading file .obsidian/plugins/calendar/data.json
2022-11-28 13:44 - Downloading complete .obsidian/plugins/calendar/data.json
2022-11-28 13:44 - Accepted .obsidian/plugins/calendar/data.json
2022-11-28 13:44 - Downloading file .obsidian/plugins/calendar/manifest.json
2022-11-28 13:44 - Downloading complete .obsidian/plugins/calendar/manifest.json
2022-11-28 13:44 - Accepted .obsidian/plugins/calendar/manifest.json
2022-11-28 13:44 - Downloading file .obsidian/plugins/periodic-notes/main.js
2022-11-28 13:44 - Downloading complete .obsidian/plugins/periodic-notes/main.js
2022-11-28 13:44 - Accepted .obsidian/plugins/periodic-notes/main.js
2022-11-28 13:44 - Downloading file .obsidian/plugins/periodic-notes/data.json
2022-11-28 13:44 - Downloading complete .obsidian/plugins/periodic-notes/data.json
2022-11-28 13:44 - Accepted .obsidian/plugins/periodic-notes/data.json
2022-11-28 13:44 - Downloading file .obsidian/plugins/periodic-notes/styles.css
2022-11-28 13:44 - Downloading complete .obsidian/plugins/periodic-notes/styles.css
2022-11-28 13:44 - Accepted .obsidian/plugins/periodic-notes/styles.css
2022-11-28 13:44 - Downloading file .obsidian/plugins/periodic-notes/manifest.json
2022-11-28 13:44 - Downloading complete .obsidian/plugins/periodic-notes/manifest.json
2022-11-28 13:44 - Accepted .obsidian/plugins/periodic-notes/manifest.json
2022-11-28 13:44 - Downloading file .obsidian/plugins/obsidian-style-settings/main.js
2022-11-28 13:44 - Downloading complete .obsidian/plugins/obsidian-style-settings/main.js
2022-11-28 13:44 - Accepted .obsidian/plugins/obsidian-style-settings/main.js
2022-11-28 13:44 - Downloading file .obsidian/plugins/obsidian-style-settings/data.json
2022-11-28 13:44 - Downloading complete .obsidian/plugins/obsidian-style-settings/data.json
2022-11-28 13:44 - Accepted .obsidian/plugins/obsidian-style-settings/data.json
2022-11-28 13:44 - Downloading file .obsidian/plugins/obsidian-style-settings/styles.css
2022-11-28 13:44 - Downloading complete .obsidian/plugins/obsidian-style-settings/styles.css
2022-11-28 13:44 - Accepted .obsidian/plugins/obsidian-style-settings/styles.css
2022-11-28 13:44 - Downloading file .obsidian/plugins/obsidian-style-settings/manifest.json
2022-11-28 13:44 - Downloading complete .obsidian/plugins/obsidian-style-settings/manifest.json
2022-11-28 13:44 - Accepted .obsidian/plugins/obsidian-style-settings/manifest.json
2022-11-28 13:44 - Deleting remote file .obsidian/community-plugins.json
2022-11-28 13:44 - Fully synced
2022-11-28 13:46 - Connecting to server
2022-11-28 13:46 - Connection successful. Detecting changes…
2022-11-28 13:46 - Fully synced
2022-11-28 13:47 - Connecting to server
2022-11-28 13:47 - Connection successful. Detecting changes…
2022-11-28 13:47 - Fully synced
2022-11-28 13:51 - Connecting to server
2022-11-28 13:51 - Connection successful. Detecting changes…
2022-11-28 13:51 - Fully synced

Just to note I’ve had this happen between desktop installs as well.

1 Like

I don’t know. It’s very strange that of all the files that got synced the only one that got the delete treatment was “community-plugins.json”

Came here after experiencing the same problem. Synched the vault on a new machine, after syncing the community plugins are gone on all machines :frowning:

Document it here, maybe it helps someone:

Found out that the file .obsidian/community-plugins.json was empty (after the full sync on both machines). Restored it from a recent backup and the community plugins were listed again (on both machines, after sync). The plugin settings seem to be unaffected.