Expected behaviour
A file on my desktop syncs with the corresponding file on the server.
Actual behaviour
All this is done on the client side.
During sync, owncloud client reports:
CfOpenWithOplock error C:\some\file.~b43 WindowsError: ffffffff80070322: The operation did not complete successfully because it would cause an oplock to be broken. The caller has requested that existing oplocks not be broken.
And the file is not synced.
When looking at the directory of the locked file, I see hidden files with extensions .~b43 for each locked file.
When manually deleting these files and restarting the sync, the oplock errors usually don’t reoccur.
Other times however, another .~b43 file will be created during the sync process triggering oplock error again.
Steps to reproduce
- Modify files
- Save and close files
- Open ownCloud Client
- Force a directory to sync
- oplock error occurs after some time
- Open directory of problematic files
- Notice multiple files with extentions .~b43 (one for each locked file)
- Manually delete these files
- From owncloud client, force sync again
- Usually sync works fine. Other times, another .~b43 file is created during sync process triggering an oplock error again.
I think this is a windows problem.
Server configuration
Operating system: Ubuntu 18.04
Web server: Apache/2.4.29 (Ubuntu)
Database: SQL (10.1.47-MariaDB)
PHP version: 7.2.24-0
ownCloud version: 10.7.0 (stable)
Storage backend (external storage): None
Client configuration
Client version: 2.8.2
Operating system: Windows 10 64-bit 2004
OS language: English
Qt version used by client package (Linux only, see also Settings dialog):
Client package (From ownCloud or distro) (Linux only):
Installation path of client:
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.
Template for output < 10 lines
-
Client logfile: Output of
owncloud --logwindow
orowncloud --logfile log.txt
(On Windows usingcmd.exe
, you might need to firstcd
into the ownCloud directory)
(See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile ) -
Web server error log:
-
Server logfile: ownCloud log (data/owncloud.log):
CfOpenWithOplock error C:\some\file.~b43 WindowsError: ffffffff80070322: The operation did not complete successfully because it would cause an oplock to be broken. The caller has requested that existing oplocks not be broken.
- There are multiple of these lines, one for each problematic file.