Have you read the adminstrator guide and especially the part about how to control the file deletion using a background job? This might help you to achive the result you’re expecting if the default mechanism doesn’t work as expected.
Yes, I tride to run
Activate background job: occ config:app:delete files_trashbin background_job_expire_trash
And
Expire versions: occ trashbin:expire
If I understood ritgth the the files older than 30 days would then be deleted.
I have not put the commands in a Cron job. Should I do that?
The disk for next cloud is filling up
/dev/sdc1 689G 620G 34G 95% /srv
Most of the files are in a group folder. But in Nextcloud it’s onlye 190 GB I have used. So the rest is deleted files an versions of old files.
I ran the commands for controlling file version and aging to.
Activate background job: occ config:app:delete files_versions background_job_expire_versions