Hello.
One of our servers is runing out of space and before investing in an upgrade, I am trying to clean it up and avoid that upgrade as much as I can becouse it might be costly for our organization.
The main usage of our system is based on a tracker program that has images atached to the events of the TEIs. Those images are uploaded by an android app instaled in a Tablet.
One of the tasks I have been doing to free disk space is the deletion of files no longer conected with any TEI. I managed to delete the files older than the first event of the first enrollment in the server.
But I am wondering if there is a way I can know wich files are no longer connected with TEIS (caused by the deletion of TEIS, for example or caused by bad communication between the Tablet and the server).
I have been searching and there is no way I can connect the name of the file shown in the event in DHIS2 with the name of the file in the file system. I understand this is for security reasosn. Is there a way DHIS2 can clean up files no longer connected? Is there any tool I can use to delete those files and free disk space?
Thank you very much in advance.,
2 posts - 2 participants