Details
-
Unknown
-
N/A
-
N/A
-
Description
After an upgrade of my container based version (postgres-tomcat) to 16.2.0, XWiki is crashing regularly with the following error:
Caused by: org.apache.solr.client.solrj.SolrServerException: java.nio.file.FileSystemException: /usr/local/xwiki/data/cache/solr/search_9/index/pending_segments_8wx -> /usr/local/xwiki/data/cache/solr/search_9/index/segments_8wx: No space left on device at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.checkForExceptions(EmbeddedSolrServer.java:357) at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:226) Caused by: java.nio.file.FileSystemException: /usr/local/xwiki/data/cache/solr/search_9/index/pending_segments_8wx -> /usr/local/xwiki/data/cache/solr/search_9/index/segments_8wx: No space left on device at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:754)
found the following bug on Solr:
https://issues.apache.org/jira/browse/SOLR-10937
According to that a solution might be to change the path of the /tmp place for the index like this:
SOLR_OPTS="$SOLR_OPTS -Djava.io.tmpdir=/path/to/other/tmp"
in solr.in.sh
Yet that is not being used in the /data path which is mapped into the container for XWiki.
Is there any way to get this working somehow?