Trashbin/versions errors

Nextcloud version (eg, 20.0.5): 23.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 7.4

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Unknown

The output of your Nextcloud log in Admin > Logging:

unable to rename, destination directory is not writable : /DATAPATH/data/files_trashbin/versions

This folder doesn’t exist.

The folder permissions on the datapath are correct. WWW-data has write permissions.
I don’t know why this error happens. The error is logged multiple times per day.

Thanks.

destination directory is not writable : /DATAPATH/data/files_trashbin/versions

That is no normal folder. The username is missing. Please check your copy-and-paste.

Please post:
ls -la /DATAPATH/data/username/files_trashbin/versions
(only the directory “versions” itself)

Check for correct owner:group (e.g. www-data:www-data) and rights: 755, rwx-r-xr-x
Please check also directorys above.

The copy-and-paste is correct. I also wondered how this path is even possible.

I don’t have any other issues with this instance. Rights are correct. I found another post on the forums: Unable to rename, destination directory
But sadly there is no solution :frowning:

Do you have another idea?