Production 4.0.0: Empty trash bin causes error message log spam when using the Windows desktop client
Describe the bug
An empty trash bin will cause an error message to be logged every 30 seconds when using the Windows desktop client.
Steps to reproduce
-
Use the Windows desktop client
-
Empty trash bin
-
If already empty, create text file
-
Delete created text file
-
Empty trash bin
Expected behavior
An empty trash bin and no error message(s).
Actual behavior
Once emptied. the system will log an error every 30 seconds:
2025-12-05T13:27:58Z ERR trashbin: error reading trash directory error=EOF driver=posix host.name=
This error message is logged for every empty trashbin, so once every 30 seconds for each spaceID. This is also not dependent on the number of spaces actually synced to the Windows machine, as it seems to check all of them.
The messages are logged per connected client, so 3 active Windows clients -> 3 times the logged error messages.
Setup
- Opencloud on Docker via docker-compose based on official compose file, image opencloudeu/opencloud:4 sha256:72c2298b0a77b0b2809da6223d0b8a65f92d7fd5818f5ab4002609a2c2846605
- behind existing Traefik 3 reverse proxy
- default posix storage
- Windows desktop client v3.0.2, installed from Microsoft store
- no other additional opencloud containers/services/extensions (e.g Collabora, ClamAV, etc) except the mandatory notification service
Additional context
It looks like the server doesn't simply empty the trash folder but might actually delete the whole folder. As soon as I close down all Windows clients the error messages stop, so the web client and the Android client seem to do it another way.
If this is expected behaviour, would it be possible to demote this message down to INFO or DEBUG levels?