Skip to content

How to sync using Nextcloud

This guide explains how to sync KeePassium database with other devices using Nextcloud server.

KeePassium supports two synchronization methods for Nextcloud:

Method 1: Direct connection via WebDAV

With this approach, KeePassium would communicate directly with your Nextcloud server, using WebDAV protocol.

For more info, refer to Nextcloud documentation: (Accessing Nextcloud files using WebDAV](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html)

Method 2: Integration with iOS Files app

  • Install Nextcloud app and log in to your account
  • Open KeePassium, go to Databases screen (tap < Back if necessary)
  • Tap +Open Database
  • If Nextcloud is not visible in the list, make it visible
  • Select your database file

Troubleshooting

Unfortunately, Nextcloud's integration with iOS Files app is quite fragile.

  • Sometimes Nextcloud does not download files changed on other computers until you open the Nextcloud app. This is a Nextcloud issue, known since 2017. Until Nextcloud fixes these issues, please make sure to sync by opening the Nextcloud app.
  • If you edit your database elsewhere, then edit it in KeePassium (without opening the Nextcloud app first), the first change might be overwritten.
  • Sometimes, Nextcloud app shows that the file is updated, but KeePassium keeps opening an old cached copy. In this case, the solution is to clear Nextcloud cache (Nextcloud app → MoreSettingsAdvancedClear cache).

As a more reliable alternative, we suggest the direct connection via WebDAV instead of the native Nextcloud app.

See also