Owncloud: csync failed to create a lock file

I use the Owncloud client to synchronise important files between my laptop and desktop computers. Recently the client failed immediately on start-up with the error “csync failed to create a lock file”. To resolve this issue, locate and remove the lock file.

On version 1.2.x the lock file can be found in the following locations, depending on which OS you are using.

Linux:

~/.local/share/data/ownCloud/lock

Mac OSX

~/Library/Application Support/ownCloud/lock

Windows:

TBC

Take heed: Left-over “stale” lock files are usually safe to remove, however if multiple instances of the same program are running, such as in a separate user session, removing the lock file can cause write-conflicts and corrupt your data, so be warned! Only remove the file if you’re sure it’s not being used by another running instance of the Owncloud app.

Update

Thanks to Markus for providing the Mac OSX location

2 Replies to “Owncloud: csync failed to create a lock file”

  1. Your hint solved this problem on my Mac. You can find the lock file at the location: ‘~/Library/Application Support/ownCloud/lock’

Leave a Reply

Your email address will not be published. Required fields are marked *