Empty trashbin automatically

I was able to clean the trash with following steps:

  1. added " ‘trashbin_retention_obligation’ => ‘auto, 30’, " to config.php
  2. restarted the docker container just for sure
  3. run “update oc_jobs set last_run=0” to database
  4. run sudo -u www-data php ./cron.php in nextcloud container, and it finally deleted all the old trashed files.
2 Likes