Hi @triver , i also noticed the mentioned problem in NC22. I did some research and i found that decreasing the serverside loglevel to 2 or less gave me some more informational log messages like this one:
unable to rename, destination directory is not writable : __groupfolders/trash/2
So then i inspected my NC data directory (usually something like /var/www/nextcloud/data) and i found the the data/__groupfolders/trash directory was missing completely. So what i did was basically:
cd /var/www/nextcloud/data/__groupfolders
mkdir trash
cd trash
mkdir 1 10 2 3 4 5 6 7 8 9
cd ..
chown -R www-data:www-data trash
Creating the trash folder with all subfolders fixed the error for me but to be honest i don’t know how it happened that the trash folder was removed. Also i don’t know if it’s enough to create the subfolders numbered from 1 to 10 or if this is something which depends on your installation.
Hope this helps!