pixel
January 14, 2021, 9:38am
1
Hi@all,
I use Nextcloud 20 on UCS 4.4.7 and everything works. Yesterday I noticed the following:
If I delete a file on a Nextcloud client (notebook), it is also deleted on the server (NC–> external Storage -> SMB). That’s how it should be
However, it is still on the UCS server under:
/var/lib/univention-appcenter/apps/nextcloud/data/nextcloud-data/me/files_trashbin/files
That’s why my PArtition /var is full.
Is there anything I can do to stop this?
with best
sven
1 Like
See
I have made the update to version 13.0.2. I have configured my config.php file to delete the files in the trash bin when it reaches 2 days of deletion and has not worked. The configuration was: ’trashbin_retention_obligation’ => ‘1, 2’, What can...
Reading time: 2 mins 🕑
Likes: 5 ❤
and
https://docs.nextcloud.com/server/20/user_manual/en/files/deleted_file_management.html
There is described, how to enable automatic deletion of the trash bin.
Additionally have a look to the retention-app within your Nextcloud server. Maybe it also might help.
So I added
'trashbin_retention_obligation' => 'auto',
to config.php
sudo univention-app shell nextcloud
apt-get install nano (if not installed)
nano /var/www/html/config/config.php
insert the line
'trashbin_retention_obligation' => 'auto',
above the last line containing
);
So deleted files can be undeleted within 30 days after deletion.
I guess, the the Nextcloud instance mut be restarted after changing the config file, but I am not sure.