Cannot reproduce Media not deleted after uninstall

Rigel Kentaurus

Well-known member
I uninstalled Media Gallery

It doesn't seem like it cleaned up correctly

Screenshot 2015-01-19 09.03.30.png

And the actual data is probably still in the FileSystem
 

Chris D

XenForo developer
Staff member
Now run:

Code:
SELECT COUNT(*) FROM xf_attachment WHERE content_type = 'xengallery_media' AND unassociated = 0
This works basically the same way as if the media was deleted one at a time, or if a post is deleted, etc.

It is marked as unassociated and removed from the database and file system properly during clean up processes. It can take up to 24 hours depending on when the media was attached.

The same uninstall procedure happens in the Resource Manager, for reference.
 

Rigel Kentaurus

Well-known member
Certainly after running the daily_cleanup process all the attachments from the table went away.
My 20Gb of space are nowhere to be found, though. I'll do further research and reopen if necessary. Thanks for the response.
 

Rigel Kentaurus

Well-known member
This on data after uninstall and after the daily clean up (on latest version, fresh import)

# find ./xengallery/ | wc -l
95357

# du -hs xengallery/
6.6G xengallery/
 

Chris D

XenForo developer
Staff member
That's expected. We clean up the attachment internal data but not the thumbnails. They can easily be identified though as they are in their own directory. Just remove the directory.
 
Top