Issue: WindowsError: ffffffff80070178: The file is not a cloud file. Issue: the file is currently in use

Expected behaviour

The file should be uploaded

Actual behaviour

Log: WindowsError: ffffffff80070178: The file is not a cloud file.

On Client I get “the file is currently in use”

I have verified using process monitor the file is not in use by another other application other than Owncloud.
I tried closing Owncloud and starting it again, but the same issue.

04-28 23:31:02:386 [ warning sync.vfs.win ]: void __cdecl OCC::VfsWin::fileStatusChanged(const class QString &,class OCC::SyncFileStatus) : couldn’t CfSetInSyncState for “F:/OwnCloud/myfolder-02/myfolder-02/myfolder [done]/finalname-002.mp4” status OCC::SyncFileStatus::StatusNone : “WindowsError: ffffffff80070178: The file is not a cloud file.”

04-28 23:31:02:387 [ debug sync.database.sql ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 -3370025020609312334

04-28 23:31:02:387 [ warning sync.vfs.win ]: void __cdecl OCC::VfsWin::fileStatusChanged(const class QString &,class OCC::SyncFileStatus) : couldn’t CfSetInSyncState for “F:/OwnCloud/myfolder/myfolder/myfolder [done]/finalname-001.mkv” status OCC::SyncFileStatus::StatusNone : “WindowsError: ffffffff80070178: The file is not a cloud file.”

04-28 23:31:02:524 [ debug sync.database.sql ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 -5215771885439284191

Steps to reproduce

  1. File downloaded via download manager and copied to Owncloud on complete
  2. Owncloud client creates a folder and uploads small files like txt, exe but not MP4/mk4
  3. Force Sync will upload the file (not every time).

Server configuration

Operating system: Ubuntu

Web server: Apache

Database: MySQL

PHP version:7.4.3

ownCloud version: 10.9.1 (stable)

Storage backend (external storage):No

Client configuration

Client version:2.10.1 - build 7187

Operating system: Windows 10

OS language: US

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client: Standard C:…