› VitalPBX Community Support › General Discussion › freeing up space
Each time I do an upgrade more space gets used by vitalpbx. If I do clean install the space used is much less again.
The hardware I am running has limited space so my question is:
How can I clean up the files that were used each time I upgrade instead of reinstalling every so often.
You may execute the following commands to determine which folders are using more space:
cd ~du -sh /* | sort -nr | head -n 10
If you see, for example, that the var folder is being using a lot of space, you can execute the same command to check what folders inside are using more space:
du -sh /var/* | sort -nr | head -n 10
Each time you do an update and it downloads some files for the install where are those stored I suspect those are what are eating up free space?
what command would be used to delete the files?
What is the output of this commands: