Cannot delete trash files permanently, because the trashbin won't open

Sorry for the late response. I have researched another way in the meanwhile.
According to the manual there is occ trashbin:cleanup command.

https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html#trashbin-label

It probably does something similar as you described but it one step and is easy to use.

Edit: I still wonder, because I think it should either be possible to use the UI or to display at least some meaningful message to the user.

2 Likes