On on Jira Server, when accessing the site get following error
JIRA — Internal Server Error
Error reference: b64e4876-0fc1-439a-a46d-4a3255a48230Unable to render full error details at this time. Please consult the error logs for more information.
The problem was disk full.
root@jira /var/atlassian/application-data/jira # du -h –max-depth=1
1.1M ./analytics-logs
4.0G ./plugins
293M ./log
72K ./structure
32M ./tmp
11M ./caches
632K ./logs
52K ./tempo
32G ./export
368M ./data
96K ./import
352K ./monitor
4.0K ./logos
8.5M ./bt-templates
37G .
root@jira /var/atlassian/application-data/jira #
The folder /var/atlassian/application-data/jira/export used 32 GB disk space. This folder store daily backups.
I removed some of the older backups last last year, restarted the server, that fixed the problem.
To avoid this happening again, set a cronjob
vi /usr/serverok/clean.sh
Add
#!/bin/bash /bin/find /var/atlassian/application-data/jira/export/ -type f -mtime +60 -name "*.zip" -delete
This will delete files older than 60 days.
Set it to run daily with crontab -e
@daily /usr/serverok/clean.sh > /dev/null 2>&1
Leave a Reply