Run garbage collection by clicking on the admin site
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)
Updated by Go MAEDA almost 2 years ago
- 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