# Nextcloud 19.0.1 Problem with deleting files/folders

**URL:** <https://help.nextcloud.com/t/nextcloud-19-0-1-problem-with-deleting-files-folders/89041>\
**Category:** ℹ️ Support\
**Tags:** nc19\
**Created:** [August 5, 2020, 12:22pm UTC](https://help.nextcloud.com/t/nextcloud-19-0-1-problem-with-deleting-files-folders/89041 "2020-08-05T12:22:56Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![R0Wi](https://help.nextcloud.com/user_avatar/help.nextcloud.com/r0wi/32/18933_2.png) [@R0Wi](https://help.nextcloud.com/u/R0Wi)\
**Post date:** [September 24, 2021, 10:36am UTC](https://help.nextcloud.com/t/nextcloud-19-0-1-problem-with-deleting-files-folders/89041/6 "2021-09-24T10:36:03Z")

</div>

Hi @triver , i also noticed the mentioned problem in NC22. I did some research and i found that decreasing the [serverside loglevel](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html) 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:

```bash
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!

---

_[View the full topic](https://help.nextcloud.com/t/nextcloud-19-0-1-problem-with-deleting-files-folders/89041)._
