Problem with deleting Uploaded orphan files from "redmine/files/..." directory
Added by Vladimir ZH about 11 years ago
Problem with deleting Uploaded orphan files from "redmine/files/..." directory
Hello, everybody.
I've gone through and set up my installation of Redmine with Passenger, fcgid and MySQL.
This installation works perfectly.
However, I have discovered a strange feature or bug.
When I upload new file to the “Documents” as attachments or to the “Files” it’s uploaded to the "redmine/files/..." directory immediately.
If I PRESS the “ADD” link to the file is added to the project and I after that I can delete it.
But if I do not PRESS the “ADD” button file remains in the directory as an orphan WITHOUT any link anywhere.
And that is the question: haw can I care such orphan files? Is there any script to search such files? Or you have some special VIEW for these orphan files? Or I can create same temporary directory for initial upload with auto clean option or by cron?
Replies (4)
RE: Problem with deleting Uploaded orphan files from "redmine/files/..." directory
-
Added by Vladimir ZH about 11 years ago
Dear community
This problem appeared just me? Maybe I did not properly installed product?
this is not the Problem? Since the number of files is not properly attached to the project (using the button “ADD”) will not will not be great?
Or respected community has not yet verified this situation?
RE: Problem with deleting Uploaded orphan files from "redmine/files/..." directory
-
Added by Etienne Massip about 11 years ago
There is a rake task for this use, please see RedmineRake#rake-redmineattachmentsprune.
RE: Problem with deleting Uploaded orphan files from "redmine/files/..." directory
-
Added by Vladimir ZH about 11 years ago
Sorry.
Shame on me.
I had to reade manual more carefully
RE: Problem with deleting Uploaded orphan files from "redmine/files/..." directory
-
Added by Jan Niggemann (redmine.org team member) about 11 years ago
Please don't crosspost, I removed your similar thread in the development board.