Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Daddy Posted March 31, 2017 Posted March 31, 2017 In 3.0 there were tools to delete orphaned uploads such as profile photos, file uploads and attachments but I see nothing similar in 4.0. Is this built in or was it overlooked? My uploads folder is nearing 20gb and I would like to see if I cannot get in there and scrub old content out.
LinkMania Posted March 31, 2017 Posted March 31, 2017 My manual workaround was to temporary change the storage from a directory to another and wait until all still used files are moved and then remove the old directory with the obvious orphaned files left inside.
Daddy Posted March 31, 2017 Author Posted March 31, 2017 @LinkMania worked perfectly! I had 9GB of orphaned content which is insane on any scale. Before anyone else attempts this I highly recommend making a backup of your uploads folder. What I did was I made a new file system and named it storage then proceeded to change everything to that file type. Once everything was moved I purged the uploads folder and then switched it back. Important 3rd party applications will not move automatically so be sure to move it manually or just ignore it when removing the orphaned content.
catbreadbat Posted April 19, 2017 Posted April 19, 2017 This is a setting I would like to see brought back as well. I'm sure there's a TON of orphan content built up over time and I'd like to see that cleaned up. @Charles any comment?
Foolboy Posted April 19, 2017 Posted April 19, 2017 Regarding to the orphaned file removal function, it was mentioned by me quite a while now. @Lindy has already added this into the IPS roadmap since last April and I really hope it would be back in IPS 4.2.x.
Daddy Posted April 19, 2017 Author Posted April 19, 2017 @Foolboy one can only hope this becomes a task.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.