Unable to use JIRA due to FileNotFoundException - Read-only file system

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Attempting to use displays the error "An internal server error occurred when requested resource".

The following appears in the atlassian-jira.log:

com.atlassian.jira.util.RuntimeIOException: java.io.FileNotFoundException: /app/jira/pegasus-attack-vector-go/caches/indexes/issues/segments_mns (Read-only file system)
    at com.atlassian.jira.index.WriterWrapper.commit(WriterWrapper.java:97)
    at com.atlassian.jira.index.DefaultIndexEngine$WriterReference.commit(DefaultIndexEngine.java:224)
    at com.atlassian.jira.index.DefaultIndexEngine$FlushPolicy$2.commit(DefaultIndexEngine.java:59)
    at com.atlassian.jira.index.DefaultIndexEngine$FlushPolicy.perform(DefaultIndexEngine.java:83)
    at com.atlassian.jira.index.DefaultIndexEngine.write(DefaultIndexEngine.java:158)
    at com.atlassian.jira.index.DefaultIndex.perform(DefaultIndex.java:32)
    at com.atlassian.jira.index.QueueingIndex$Task.index(QueueingIndex.java:144)
    at com.atlassian.jira.index.QueueingIndex$Task.run(QueueingIndex.java:125)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: /app/jira/pegasus-attack-vector-go/caches/indexes/issues/segments_mns (Read-only file system)
    at java.io.RandomAccessFile.open(Native Method)

Cause

The operating system has marked the file system for read-only. This typically occurs when there is a filesystem consistency issue and is done to protect the integrity of the file system.

Resolution

The filesystem errors will need to be remedied - please consult with the Sys Admin and/or hosting provider for the server that JIRA is running on. This will be operating system specific, for example Ubuntu has a question on this at How to fix “sudo: unable to open … Read-only file system”? that discusses how to fix the problem.

Last modified on Mar 30, 2016

Was this helpful?

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