My Database Isn’t Syncing

Strongbox allows you to control where your database is stored. We offer native integrations with popular cloud storage providers (iCloud, Dropbox, Google Drive and OneDrive). You can also use any cloud drive that integrates with the file system on macOS and the Files app on iPhone/iPad.

Strongbox doesn't manage its own servers and we don't have access to your database files. This zero-knowledge approach enhances your security and privacy.

We've compiled the most common solutions to help you resolve sync issues below.

N.B. This guide does not cover local sync or WebDAV and SFTP connections.

Step 1: Restart and Update

image

The first step is to turn your device off and on again. This can resolve many sync issues, particularly on iPhone/iPad and particularly if you're using iCloud Drive!

After that:

  • Install any available Strongbox app updates
  • Install any available updates to your cloud drive app (such as the Dropbox app)
  • Install any available iOS/macOS updates

Step 2: Re-Authenticate

This step only applies if you're using Dropbox, Google Drive or OneDrive. If you're using a different service, you can skip this step.

If you are using one of these providers, you can try clearing your session and re-authenticating.

To do this on iPhone/iPad:

  1. Open Preferences (tap the gear icon in the top right, above the list of databases)
  2. Tap Advanced (at the bottom of the page)
  3. Tap Manage Cloud Provider Sessions
  4. Tap to clear the session for your cloud provider of choice and confirm
  5. Tap Done (in the top right of the screen)
  6. Tap on your database
  7. Enter your login details to re-authenticate

To do this on Mac:

  1. Click File (in the menu bar)
  2. Go to Cloud Drive Sessions
  3. Click to clear the session for your cloud provider of choice
  4. Go back to the Database Manager window
  5. Double-click on your database
  6. Enter your login details to re-authenticate

Step 3: Remove and Re-Add the Database to Strongbox

Before doing this, we recommend making a backup of your database file!

To do this on iPhone/iPad:

  1. Long-press on your database file
  2. Tap Remove
  3. Tap Yes to confirm
  4. Tap the plus icon (+) in the top right of the screen
  5. Tap Add Existing
  6. Choose the location of your database
  7. Locate your database file and follow the on-screen steps to add it to Strongbox

A Note About iCloud Drive on iPhone/iPad

If your database file is stored in the official Strongbox folder within your iCloud Drive, removing the file on iPhone/iPad using the steps above will actually delete it. In this case, the steps are slightly different:

  1. Open the Files app
  2. Navigate to the Strongbox folder (tap the Browse tab > iCloud Drive > Strongbox) and locate your database file
  3. Long-press your database file
  4. Tap Move
  5. Move the file to another location on your iCloud Drive
  6. Navigate to that new location
  7. Long-press your database file
  8. Tap Copy
  9. Navigate back to the Strongbox folder
  10. Long-press in an empty space
  11. Tap Paste
  12. Go back to the Strongbox app and unlock your database

This only applies to iOS. On macOS, the steps for iCloud Drive are the same as for any other cloud storage provider.


To do this on Mac:

  1. Go to the Database Manager window
  2. Right-click your database
  3. Click Remove
  4. Click Yes to confirm
  5. Click Add Database (in the bottom right of the window)
  6. Choose the location of your database
  7. Locate your database file and follow the on-screen steps to add it to Strongbox

Step 4: Use a Native Integration if Possible

Strongbox natively supports Dropbox, Google Drive, OneDrive and iCloud Drive. If you're using one of these services, it's worth checking that you're using the native integration, rather than the "Files" method, as this is usually more reliable. This is particularly true on iPhone and iPad.

If you're unsure, try removing and re-adding the database. And when you add it back, choose Dropbox/Google Drive/OneDrive as the storage location and make sure not to choose "Add from Files" or "Files".

And for iCloud Drive users on iPhone/iPad, check that your database file is located in the official Strongbox folder that is at the root of your iCloud Drive. The Strongbox app is able to continuously monitor this folder and this results in more reliable syncing. If your database file is located elsewhere in your iCloud Drive, try moving it to the official Strongbox folder instead. If you do this, the Strongbox iPhone/iPad app will automatically detect the database and display it in your list of databases.

Step 5: Change the Settings for Other KeePass Apps

This step only applies if you're using another app/client to access your database. If that's not you, you can skip this step.

If you're using the official KeePass app alongside Strongbox to access your data (e.g. on a Windows computer), turn off "File Transactions":

  • Go to Tools > Options > Advanced > File Input/Output Connections
  • Switch off Use File Transactions for Writing Databases

If you're using KeePassXC, turn off "Safe Saving":

  • Go to Settings > General > Basic Settings > File Management
  • Switch on Use Alternative Saving method
  • Choose Directly Write to Database File (Dangerous) in the dropdown.

If you're using another KeePass-compatible app, such as an Android app, you could also try using a different app instead, to see if it fixes your sync issues.

Step 6: Try a Different Cloud Storage Provider

If you're still having issues, you can try moving your database to a different cloud storage provider and testing to see if that improves the sync reliability.

Additional Steps To Try

If none of the above has helped, here are some additional steps you can try:

  • Check that your database is not set to open offline
  • Check that you have enough storage space in your cloud storage drive
  • Try reducing the size of your database file so that it syncs faster over slow connections
  • If you're using the iPhone/iPad app on mobile data, check Strongbox has permission to use mobile data
  • If you're using the iPhone/iPad app, delete the app and re-install it from the App Store
  • If you're using the Mac app, reset all settings to factory defaults
  • On iPhone/iPad, adjust the "internet unavailable behaviour" (long-press your database, tap Properties, tap Internet Unavailable Behaviour)
  • Check the sync log (long-press/right-click your database and select View Sync Log)

Contact Us

If you're still having issues, please drop us an email and we will do everything that we can to help: support@strongboxsafe.com

Oct 30, 2023