Nextcloud tries to sync deleted files

Hey there,

Im having issues with nextcloud trying to sync no longer existent files.
I tried to clean up the logs as much as possible.

Describe the bug

Saving a file on nextcloud randomly brings up an error message by the nextcloud Client for Windows stating:

file-x could not be synchronized due to an error. Details can be found in the log
The log contains following info:

2023-04-05 23:04:05:257 [ warning nextcloud.sync.propagator.directory C:\Users\sysadmin\AppData\Local\Temp\2\windows 14588\client-building\desktop\src\libsync\owncloudpropagator.cpp:1150 ]:	Useless task found for file "Keepass/Tresor_[username].kdbx.shNnKn" instruction CSyncEnums::CSYNC_INSTRUCTION_NEW
2023-04-05 23:04:05:257 [ warning nextcloud.sync.propagator.directory C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\libsync\owncloudpropagator.cpp:1150 ]:	Useless task found for file "Keepass/Tresor_[username].old.kdbx" instruction CSyncEnums::CSYNC_INSTRUCTION_SYNC
2023-04-05 23:04:05:258 [ warning nextcloud.sync.checksums C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\common\checksums.cpp:258 ]:	Could not open file "C:/Users/[username]/Nextcloud/Keepass/Tresor_[username].kdbx.shNnKn" for reading to compute a checksum "The process cannot access the file because it is used by another process."
2023-04-05 23:04:05:268 [ warning nextcloud.sync.propagator.bulkupload C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:203 ]:	Could not prepare upload device:  "The process cannot access the file because it is used by another process."
2023-04-05 23:04:05:268 [ warning nextcloud.sync.propagator C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:694 ]:	Could not complete propagation of "Keepass/Tresor_[username].kdbx.shNnKn" by OCC::BulkPropagatorJob(0x2f5e924b850) with status OCC::SyncFileItem::NormalError and error: "The process cannot access the file because it is used by another process."
2023-04-05 23:04:05:269 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\gui\tray\usermodel.cpp:758 ]:	Item  "Keepass/Tresor_[username].kdbx.shNnKn"  retrieved resulted in  "The process cannot access the file because it is used by another process."
2023-04-05 23:04:05:269 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\gui\tray\usermodel.cpp:725 ]:	Item  "Keepass/Tresor_[username].kdbx.shNnKn"  retrieved resulted in error  "The process cannot access the file because it is used by another process."
2023-04-05 23:04:05:269 [ warning nextcloud.gui.folder C:\Users\sysadmin\AppData\Local\Temp\2\windows-14588\client-building\desktop\src\gui\folder.cpp:995 ]:	SyncEngine finished with ERROR`<

This file has been deleted several months ago and is no longer existent on the server and the client.

OS/snapd/snap version

nextcloud Desktop Client Version 3.8.0 (Windows)
OS: Ubuntu Server 22.04
Kernel: 5.15.0-69-generic
snap 2.58.3
snapd 2.58.3
series 16

Nextcloud snap version:
Version Rev Tracking Publisher Notes
nextcloud 25.0.4snap1 33908 latest/stable nextcloud✓ -

same here, windows client 3.8.0.
started today after updating nc to 26.0.0
file was deleted locally a while ago and actually exists on the server. deleting the file on the server didnt fix it.