redhat

Free Up Space On Your Jira Installation

On a Redhat or CentOS installation, JIRA’s home directory location is most likely /var/atlassian/application-data/jira

Within JIRA’s home directory, there are other sub-directories that store log files and backup data that can be cleaned up from time to time.

JIRA will place its automated backup archives into the export directory.

JIRA will place its logs into the log directory.

When trying to add an attachment to a ticket today, I received a message that there was no space available.

I logged into the Jira VM and looked at disk utilization. This Jira installation was installed on a 50GB HDD. 100% was in use.

After reviewing the results disk utilization, I found that 17GB was in /var/atlassian/application-data/jira/export.

Backups existed as far back as February.

I used the following command to delete groups of files:
rm *Feb*.zip -I
rm *Mar*.zip -I
and so on….

Once deleting all backups up to August, plenty of space became available and all was good again.

Posted in Linux SysAdmin and tagged , , , , , , , .