is there a way to cleanup/compact the database and storage?
The problem is that our storage needs seem to grow unexpectedly fast, partially because people in some channels temporarily upload files that are deleted minutes later, but not purged from the filesystem.
I am looking for some way (like a cron-job) that would allow a site_admin to purge deleted messages from the database … AND the important part: to purge no longer referenced files from the filesystem.
How would I accomplish this? Is there some commandline flag I missed?
I only found permanently delete user(/team) which seems to wipe a user’s posts, but the files remain.
Also somewhere it was stated that deleting stuff manually would break the DB and stuff and the solution was to not delete stuff, which is not a solution … I mean, even mediawiki managed to make files and revisions permanently deletable.