Hello there,
I have a question about the trash bin retention policy. I currently have it set up as the following script: ‘trashbin_retention_obligation’ => ‘D1, D2’ ,
However, my NextCloud application will not recognize this new trash bin retention policy. I followed the instructions provided in this knowledge base article: https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin , but I still have no luck. Can anyone chime in as to the issue of this setting?
Thanks,
Gene
D1 and D2 need to be replaced by values.
Could you please post your config line?
See also:
Hello.
I’m using Nextcloud 12.0.3.
I’ve been testing the config parameter “trashbin_retention_obligation” but it’s not working like expected.
In my config.php I set as following (for testing purposes):
'trashbin_retention_obligation' => 1, 3,
But, deleted files older than 3 days are not permanentely deleted.
Nextcloud seems just to respect the thrash bin quota set on Trashbin.php (DEFAULTMAXSIZE = 50; i.e 50% of my remaining account quota)
In my tests I change the date of my Linux server …
btw. add your server environment to your postings (nc version, …)
Sorry for the late response, Rakekniven. I replaced D1 and D2 with values and some reason trash bin retention time still doesn’t work. Here is what I have in the config line
I do not use this option, but I think the setting will not have an effect immediately.
Wait for next cron jobs to run.
Check the docs
btw. you still do not provide your environment information
Have the same issue, waiting for 4 days now, no deletion happened
I realized, that my trash bin never got deleted. Which makes sense based on the documentation, the default setting 'trashbin_retention_obligation' => 'auto' and my users who do not have any quota being configured.
Now I changed the setting to 'trashbin_retention_obligation' => '30,180',in config.php and even after deleting files, adding new files and ensuring the the cron job is working correctly every 5 minutes, I still have files in my trash bin older then 180 days. Actually I have still file…