Skip to content

Install the plugin

For people using obsync.

Self Hosted Private Sync installs and updates through Obsidian's Community plugins browser, on desktop and on mobile, like every other Obsidian plugin. The sync server never installs code on your device, and copying plugin files by hand is not the way to install it.

The plugin id is obsync-private-sync; the name you search for is Self Hosted Private Sync. A build from before the directory listing, with a different id, is a separate installation. The plugin does not read or import another installation's settings. Keep that installation's recovery phrase before removing it, then choose the new installation's folders and pair it in Self Hosted Private Sync settings.

Install and connect

You need Obsidian 1.13.0 or newer. Signing in to Obsidian does not connect a device to your server: pair each device once, and sync then runs by itself.

  1. Open the vault to sync. In Settings → Community plugins, allow community plugins, select Browse, search for Self Hosted Private Sync, then Install and Enable.

Obsidian's Community plugins browser showing Self Hosted Private Sync with its Install button

Once it is enabled, it is listed under Installed plugins:

Community plugins on a computer, with Self Hosted Private Sync 1.1.3 installed and switched on

On Android, Obsidian first asks for file access and to leave Restricted mode; Prepare an Android phone shows each screen.

  1. Open Self Hosted Private Sync settings and enter the HTTPS address of your server. The device must already trust the server's certificate (how). If the server is only on a private network or a VPN, connect to it first.
  2. Choose and save the folders this device should sync before setup or pairing. For a workspace vault, select only the note folders you mean to share. Each device keeps its own folder selection.
  3. On the first device, use Setup or recover with the server's setup token and keep the complete recovery backup safe, including obsync-recovery-v2 and all 24 words. On every other device, enter the pairing code from Pair a new device on a device that already syncs, then approve the new device there. The Quickstart shows each step.

Update

Use Settings → Community plugins → Check for updates on each device. Obsidian downloads the release's main.js, manifest.json and styles.css from GitHub. The plugin never fetches or runs code from the sync server, never installs a loader and never updates itself. When your server reports a newer plugin version, the plugin's notice opens Obsidian's own plugin manager.

Where your keys are kept

The plugin keeps the vault key, this device's secret and any edge header values in Obsidian's secret storage, never in plain plugin data. That storage belongs to the vault and is shared with the other plugins you trust there; it is not a separate lock against them or against your operating system. How the entry is written, migrated and recovered is in credential custody, and Obsidian's own storage guide describes the storage itself.

On desktop, obsync encrypts its credential envelope with the operating system's encryption service before handing it to Obsidian. If protection is unavailable or unsupported, setup and sync stop before credentials are saved. There is no option to continue with unencrypted key storage. The integration uses a narrow private Obsidian interface; a host update that removes it will stop sync until compatibility is restored.

On Linux, run an unlocked supported desktop keyring, such as GNOME Keyring or KWallet. A minimal desktop or container without one cannot set up or sync. On Linux, the keys may not be in a keyring says what to do.

On phones, obsync continues to use Obsidian's native secret storage. The desktop wrapper does not establish how a phone stores its keys; physical-phone validation is separate. This local storage protection is also separate from the content encryption applied before sending anything to the sync server.

If the secret-storage API is missing, a read or write fails, or the owned entry does not match its metadata, sync stops with an error. Migrating a prior desktop entry encrypts a new copy before clearing the old owned entry; old disk snapshots and backups are not securely erased. For a reported storage error:

  1. For unavailable desktop encryption, unlock the supported OS key store and reload Obsidian. If the host interface is unsupported, use a supported host version; reinstalling the plugin does not create an OS key store.
  2. For a missing or damaged credential entry, keep the existing vault intact. Pair a fresh vault from another syncing device, or use verified recovery with the complete recovery backup. Compare any unsynced local notes before retiring the old vault. Reinstalling obsync does not repair a mismatched credential record; do not reset the server account.

A current-format installation stops if its metadata lacks the matching owned secret or generation pin; copying or renaming its vault does not reset that check. Keep the original vault and complete backup, and pair a fresh installation in a new vault rather than editing those records. Older storage formats may instead open unpaired and offer Pair this device and Start fresh (what to do).

A pairing waiting for approval finishes even if its dialog was closed, and after Obsidian restarts, as long as it is approved within the code's ten minutes; after that, pair again with a new code. The recovery backup cannot approve a pending device. Other plugin installations are never imported automatically.

Trust and network use

The plugin talks to your own server for setup, pairing, encrypted sync, history, device management and version information. It has no subscription, advertising or telemetry service. Obsidian itself contacts its directory and GitHub to install and update community plugins. Any network access provider in front of your server is chosen by whoever runs the server.

Four more things the plugin touches, each only when you act:

  • Your edge, only if you configured one. Headers you paste under Custom request headers ride on every request to the Server URL, because the proxy that needs them is on the path to your server.
  • Your browser, when you ask for the dashboard. Open dashboard opens a sign-in link in your browser, and only when that link is on your server's own address.
  • Your browser, when you ask for the setup guide. Setup guide in the settings and the command Open the setup guide open the project's guide, a fixed address shipped with the plugin. The plugin itself sends nothing there.
  • Obsidian's secret storage. The vault key, the device secret and any edge header values live there, never in plain plugin data.

Installing any community plugin means trusting its code with your vault. Obsidian installs this one from the project's GitHub releases; how those files are built, signed and attested, and what Obsidian does and does not check before running them, is in the release path.

For a phone, the server needs HTTPS with a certificate the phone trusts. A publicly trusted certificate can cover a server that is only reachable privately: trusting a certificate and reaching a server are separate choices. A private certificate authority, as deploy/compose makes, works too, with a one-time trust step on each device. Never bypass a certificate error.