// troubleshooting guide · owncloud
ownCloud Unable to Open or Create the Local Sync Database
- Status
- Workaround available
- platforms:
- Windows, macOS, Linux
- updated:
- November 16, 2026
- reports:
- 4
- Method
- how we research
RUNBOOK · owncloud/unable-to-open-local-sync-database4 FIXES
// quick answer
The client can't write its hidden .sync_*.db file in the sync folder. Fix folder permissions (Windows deny rules, OneDrive-controlled folders); if the database is corrupt, quit the client, delete it and let it rebuild.
Most likely fix: Fix folder permissions
How to fix it
// try these in order, the most common fix is first
FIX 1Fix folder permissions
- 01Right-click the sync folder > Properties > Security
- 02Give your user Full control and remove any Deny entries
- 03On Linux/macOS check ownership with ls -la
Did this fix it?FIX 2Take the folder away from OneDrive
- 01In OneDrive settings, stop backing up Desktop/Documents if those are your ownCloud folders
- 02Or choose a different local folder for ownCloud
Did this fix it?FIX 3Rebuild the sync database
- 01Quit the ownCloud client
- 02Show hidden files and delete .sync_*.db (and -wal/-shm files) in the sync folder root
- 03Restart the client; it rescans the folder (selective sync choices may reset)
Did this fix it?FIX 4Use a local disk
- 01Move the sync folder off network drives or USB disks that drop out
Did this fix it?
Symptoms
The client stops with 'Unable to open or create the local sync database. Make sure you have write access in the sync folder', or 'database disk image is malformed'.
Why it happens
- C-01No write permission on the sync folder
- C-02Windows deny-all permission on Documents or Desktop
- C-03Folder also managed by OneDrive (known-folder redirect)
- C-04Corrupt SQLite journal after a crash
- C-05Sync folder on a network drive
// this guide also covers
- owncloud unable to open or create the local sync database
- owncloud sync database error
- owncloud database disk image is malformed
Still not working?
If ownCloud keeps failing, you're not alone. See every ownCloud problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Nextcloud Desktop Client Sync Slow (Nextcloud)
Seafile Client Not Syncing (Seafile)
Syncthing Not Syncing (Syncthing)
Dropbox Not Syncing (Dropbox)
Tresorit Not Syncing Files (Tresorit)
Other ownCloud errors
- ownCloud Desktop Client Not Syncing
- ownCloud Desktop App 7 Not Connecting to ownCloud Server
- ownCloud File Is Locked (Server Replied 423 Locked)
- ownCloud Access Through Untrusted Domain Error
- ownCloud Large File Upload Fails (413 Request Entity Too Large)
- ownCloud Stuck in Maintenance Mode After Update
- ownCloud Integrity Check Failed (Some Files Have Not Passed)
- ownCloud Virtual Files Not Working on Windows