JIRA Does Not Start Due to 'Unable to clean the cache directory'
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 Description Unable to clean the cache directory: /opt/jira/plugins/.osgi-plugins/felix
There are two known causes for this issue:
- The inconsistency of OSGI plugin caches triggered from inappropriate shutdown of Tomcat.
- The Tomcat user does not have the correct permissions to access the directory.
- Stop JIRA.
Remove the folder specified within the UI, for example:
This will be rebuilt upon JIRA startup.
- Ensure that the Tomcat user has the correct permissions, as in our Action in Jira server fails with FileNotFoundException KB article.
- Start JIRA.
- Normally this is a one-time error. If it repeats, see Jira server does not terminate after executing shutdown script.