Feature #36875
open
Run garbage collection by clicking on the admin site
Added by C S almost 4 years ago.
Updated almost 4 years ago.
Description
I thought of it while reading ticket #36860.
There, a console command is recommended for deleting orphaned files - never a good solution in my opinion!
Rather, there should be a link in the admin area. This would be especially useful if you don't have access to the console (e.g. Docker/Synology NAS)
- Related to Feature #10253: Better handling of attachments when validation fails added
- Category set to Administration
Redmine 5.0 has four "prune" tasks. I think it would be even better if some of them are integrated into Administration pages as well.
$ bin/rake -T | grep prune
rake redmine:attachments:prune # Removes uploaded files left unattached after one day
rake redmine:tokens:prune # Removes expired tokens
rake redmine:users:prune # Removes registered users that have not been activated after a number of days
rake redmine:watchers:prune # Removes watchers from what they can no longer view
This ticket is assigned to erp developer.
Also available in: Atom
PDF