Skip to content

Instantly share code, notes, and snippets.

@the-polak
Last active October 2, 2025 02:08
Show Gist options
  • Select an option

  • Save the-polak/5c4f4dc4b2b2572da1833539bb8a0571 to your computer and use it in GitHub Desktop.

Select an option

Save the-polak/5c4f4dc4b2b2572da1833539bb8a0571 to your computer and use it in GitHub Desktop.
Syncing Obsidian Notes with Nextcloud Across Devices #Nextcloud #Obsidian

Syncing Obsidian Notes with Nextcloud Across Devices

Use Nextcloud to sync Obsidian notes across multiple devices.

Requirements

  • Directory for notes
  • Nextcloud Desktop Client
  • Obsidian (desktop and/or mobile app)
  • Nextcloud server or account
  • Nextcloud Notes or similar Mobile Notes App

howto

  1. Create a Documentation directory in your Nextcloud synced folder or server.

    • Create a subdirectory, e.g., Documentation/assets/ for images and other attachments.
  2. Install the Nextcloud Desktop Client on each device you wish to sync.

    • Ensure the Documentation directory syncs to all devices.
    • Example structure:
      /Nextcloud/Documentation/ # Markdown notes (.md files)
      /Nextcloud/Documentation/assets/ # Images and other files
      
  3. Access Obsidian Manage Vaults menu, select Open folder as vault.

  4. Select the Nextcloud/Documentation/ directory as the vault location.

    image
  5. Profit.

    • Launch Obsidian on each device and confirm notes sync correctly.
    • Installed plugins should sync with each Obsidian instance.

Do you trust the author of this vault?

image
  1. Optional: Assign Documentation/assets/ as assets directory.

    image
    • This directory must be mapped manually on each instance (i think so, anyway. I assign you this task.)

Mission Accomplished

Much like G.W. Bush in Gulf 1.0, mission accomplished. I've been using this method to sync my notes for many moons. Very reliable across multiple desktop and mobile devices without the loss of data. Plugins, settings, etc follow your various instances. After the initial Obsidian config, a popup will appear:

Warning

To avoid Nextcloud Sync errors and/or a loss of data, ==access only one Obsidian instance at a time!==

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment