Project

General

Profile

Actions

Feature #36875

open

Run garbage collection by clicking on the admin site

Added by C S over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

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 issues

Related to Redmine - Feature #10253: Better handling of attachments when validation failsClosedJean-Philippe Lang

Actions
Actions #1

Updated by Go MAEDA over 2 years ago

  • Related to Feature #10253: Better handling of attachments when validation fails added
Actions #2

Updated by Go MAEDA over 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
Actions #3

Updated by avishek poudel over 2 years ago

This ticket is assigned to erp developer.

Actions

Also available in: Atom PDF