-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload fails with "Error writing metadata to the database" when using VFS #8754
Comments
Fixed in 2.9 |
Hi, I've got a question on this. Is this change only for virtual files? As we now seem to have files that are not syncing when op by the application and we are not using virtual files. |
The described error only occurred with windows virtual files. |
@MichaKersloot please check again with latest 2.9-daily builds:
In case you still experience problems, please open new issue and provide the required information. |
On Windows with a sync running VFS, a user relatively often sees the error message "Error writing metadata to the database" when uploading files from the local machine.
It turns out that in the
updateMetadata()
method, which is actually triggering the error message, returns false in two cases:vfs.convertToPlaceholder()
method returns false.The latter looks like the source of the problem. The suspicion is that the call to
CfOpenFileWithOplock
inconvertToPlaceholder
fails because the target file is locked, for example by an external app or because it is just in use.The client must be able to deal with that situation as it can not be avoided.
Also see a related post here:
https://central.owncloud.org/t/windows-2-7-6-error-writing-metadata-when-using-virtual-files-ubuntu-server/31888/3
The text was updated successfully, but these errors were encountered: