You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Production 4.0.0: Empty trash bin causes error message log spam when using the Windows desktop client #1983
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?
This is actually caused by the ListStorageSpaces call which calls trashbin.IsEmpty() for each of the spaces. The log message is indeed misleading, encountering an EOF error is the expected behavior for empty directories. I'll push a fix for that soon.
Activity
micbar commentedon Dec 8, 2025
@TheOneRing @dragotin
Can you help?
TheOneRing commentedon Dec 8, 2025
That's the server log.
micbar commentedon Dec 8, 2025
Yes I know 🤣
But how does the client trigger activity in the trashbin
TheOneRing commentedon Dec 8, 2025
By doing
PROPFINDS, why the server then looks in the trashbin I don't know 🗑️ 🐼.Maybe a bug in the sharejail implementation?
aduffeck commentedon Dec 9, 2025
This is actually caused by the
ListStorageSpacescall which callstrashbin.IsEmpty()for each of the spaces. The log message is indeed misleading, encountering anEOFerror is the expected behavior for empty directories. I'll push a fix for that soon.