Uploaded image for project: 'XWiki Docker images'
  1. XWiki Docker images
  2. XDOCKER-321

Container based image 16.2.x postgres-tomcat crashes regularly after upgrade due to a Solr issue

    XMLWordPrintable

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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            fgn.crusader Sebastian Fohler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: