Atlassian JIRA Internal Server Error

On on Jira Server, when accessing the site get following error

JIRA — Internal Server Error
Error reference: b64e4876-0fc1-439a-a46d-4a3255a48230

Unable to render full error details at this time. Please consult the error logs for more information.

The problem was disk full.

[email protected] /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 .
[email protected] /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

Add

This will delete files older than 60 days.

Set it to run daily with crontab -e