JIRA Does Not Start Due to 'Unable to clean the cache directory'

Still need help?

The Atlassian Community is here for you.

Ask the community


After restarting JIRA, the following error appeared:

JIRA Startup Failed
You cannot access JIRA at present. Look at the table below to identify the reasons

Unable to clean the cache directory: /opt/jira/plugins/.osgi-plugins/felix 


There are two known causes for this issue:

  1. The inconsistency of OSGI plugin caches triggered from inappropriate shutdown of Tomcat.
  2. The Tomcat user does not have the correct permissions to access the directory.


  1. Stop JIRA.
  2. Remove the folder specified within the UI, for example:


    (info) This will be rebuilt upon JIRA startup.

  3. Ensure that the Tomcat user has the correct permissions, as in our Action in Jira server fails with FileNotFoundException KB article.
  4. Start JIRA.
  5. Normally this is a one-time error. If it repeats, see Jira server does not terminate after executing shutdown script.
(info) We have a bug that is being tracked for this behaviour under JRA-27438 - Getting issue details... STATUS - please vote and watch it for future updates from our developers on a permanent solution.
Last modified on Feb 26, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.