• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Cannot reproduce Media not deleted after uninstall

Chris D

XenForo developer
Staff member
#2
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
#3
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
#4
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
#5
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.