Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-46006

Jira doesn't clean up $JIRA_INSTALL/temp


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • 9.5.0
    • 6.3.15, 7.2.0, 7.2.6, 7.11.2, 8.0.0, 8.17.0, 8.20.2
    • Installation
    • Standalone Jira


      Jira doesn't seem to clean the temp directory. I have hundreds of files in jira/temp, named attachment-8344575760376439812.tmp etc.
      This is a very major problem for our installation since we keep running out of space.

      Expected Results

      Jira deletes old files during startup

      Actual Results

      Looking at the file dates, many of the files are several months old.


      • It is safe to manually delete the contents of the JIRA INSTALL/temp directory, as long as Jira is not running. Jira uses this directory to store all sorts of temporary files (downloading add-ons, add-ons manually uploaded by users, CSV imports, etc), so deleting it while Jira is running could cause instability, data loss and system crash.

            klopacinski Karol Lopacinski
            ab39859c74dd Kirk McCann
            62 Vote for this issue
            74 Start watching this issue