# Standalone Solr throws "missing content stream" error

**URL:** <https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683>\
**Category:** Help / Discuss\
**Created:** [July 20, 2026, 1:26pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683 "2026-07-20T13:26:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![raphael](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/r/edb3f5/32.png) [@raphael](https://forum.xwiki.org/u/raphael)\
**Post date:** [July 20, 2026, 1:26pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/1 "2026-07-20T13:26:35Z")

</div>

Hello,

to follow best practices (?) I was trying to set up a Standalone SOLR Server to move away from the embedded. The [docker documentation](https://github.com/xwiki/xwiki-docker/blob/master/README.md#using-an-external-solr-service) does not seem to be up2date, because the entrypoint script contains “unzip” which, somehow, is not in the solr:9 image.

So I tried following the [Extension documentation](https://extensions.xwiki.org/xwiki/bin/view/Extension/Solr%20Search%20API#HSetuparemoteSolrserver) and I got SOLR up and running, indexing also seems to work just fine, but every time a document gets deleted in xwiki, an error in XWiki log is thrown:

> xwiki | 2026-07-18 20:04:33,256 [XWiki Solr client thread] ERROR o.x.s.s.i.DefaultSolrIndexer - Failed to add documents to the Solr server  
> xwiki | org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at [http://solr:8983/solr/xwiki\_search\_9:](http://solr:8983/solr/xwiki_search_9:) missing content stream

solr logs show

> solr | 2026-07-18 18:04:33.253 ERROR (qtp515809288-24-null-217) [x:xwiki\_search\_9 t:null-217] o.a.s.h.RequestHandlerBase Client exception =\>org.apache.solr.common.SolrException: missing content stream  
> solr | at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:93)

My configuration looks like that

**docker-compose**

> solr:  
> container\_name: solr  
> hostname: solr  
> image: solr:9  
> restart: unless-stopped  
> security\_opt:  
> - no-new-privileges:true  
> networks:  
> - bridge  
> expose:  
> - “8983”  
> environment:  
> TZ: ${TIMEZONE}  
> SOLR\_HEAP: 3072m  
> SOLR\_MODULES: analysis-extras  
> volumes:  
> - ./solr/data:/var/solr/data  
> ulimits:  
> nofile: 65000

The ./solr/data contains the solr cores

 ![image](https://forum.xwiki.org/uploads/default/original/2X/3/359d771104b21a97f04315886154f44939094279.png)

The **xwiki.cfg** has just this set

> solr.type=remote  
> solr.remote.baseURL=[http://solr:8983/solr](http://solr:8983/solr)

Any ideas? Or can I ignore this error?

Thanks

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 20, 2026, 1:31pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/2 "2026-07-20T13:31:55Z")

</div>

FYI I’ve fixed [Loading...](https://jira.xwiki.org/browse/XDOCKER-220)

Hopefully that should get released next week in 18.6.0.

I’m also working on [XDOCKER-183: It's not really possible anymore to properly configure a remote Solr using variables since XWiki 12.2 by vmassol · Pull Request #90 · xwiki/xwiki-docker · GitHub](https://github.com/xwiki/xwiki-docker/pull/90) ([Loading...](https://jira.xwiki.org/browse/XDOCKER-183)) which hopefully should be merged this week and released next week too in 18.6.0.

Thx

---

<div class="post-metadata">

**Author:** ![raphael](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/r/edb3f5/32.png) [@raphael](https://forum.xwiki.org/u/raphael)\
**Post date:** [July 20, 2026, 1:40pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/3 "2026-07-20T13:40:18Z")

</div>

Any chances of this getting released in 17.x (sorry missed out in mentioning we are using 17.)?

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 20, 2026, 1:45pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/4 "2026-07-20T13:45:25Z")

</div>

Actually yes, the fix will be applied for all XWiki cycle versions next week, at the same time we release 18.6.0.

---

<div class="post-metadata">

**Author:** ![raphael](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/r/edb3f5/32.png) [@raphael](https://forum.xwiki.org/u/raphael)\
**Post date:** [July 20, 2026, 2:02pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/5 "2026-07-20T14:02:10Z")

</div>

Awesome! 🙂

---

<div class="post-metadata">

**Author:** ![raphael](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/r/edb3f5/32.png) [@raphael](https://forum.xwiki.org/u/raphael)\
**Post date:** [July 30, 2026, 11:09am UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/6 "2026-07-30T11:09:13Z")

</div>

Edit: I just found the open issue in Jira 🙂[Loading...](https://jira.xwiki.org/browse/XWIKI-24595)

* * *

Hi @vmassol - I just did a fresh installation in docker with 17.10.11 and the new SOLR image, according to [Run XWiki with an External Solr Container](https://www.xwiki.org/xwiki/bin/view/documentation/xs/admin/installation/methods/install-xwiki-docker/run-xwiki-external-solr/), but I still get the error message in XWiki when deleting pages:

> xwiki | 2026-07-30 13:05:25,515 [XWiki Solr client thread] ERROR o.x.s.s.i.DefaultSolrIndexer - Failed to add documents to the Solr server  
> xwiki | org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at [http://solr:8983/solr/xwiki\_search\_9:](http://solr:8983/solr/xwiki_search_9:) missing content stream  
> xwiki | at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:747)  
> xwiki | at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:263)  
> xwiki | at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)  
> xwiki | at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:234)  
> xwiki | at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:101)  
> xwiki | at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:68)  
> xwiki | at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:81)  
> xwiki | at org.xwiki.search.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:71)  
> xwiki | at org.xwiki.search.solr.internal.DefaultSolrIndexer.lambda$flushDocuments$3(DefaultSolrIndexer.java:634)  
> xwiki | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> xwiki | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> xwiki | at java.base/java.lang.Thread.run(Unknown Source)

Please let me know if you need any further information.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 30, 2026, 11:14am UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/7 "2026-07-30T11:14:53Z")

</div>

Yes, actually we’ve been discussing about when we release docker changes at [Process and rules to release changes for the official XWiki Docker images](https://forum.xwiki.org/t/process-and-rules-to-release-changes-for-the-official-xwiki-docker-images/18706) and we decided that it’s better that it is in sync with the XWiki releases.

Yesterday we’ve released 18.6.0 (the release was a few days ago but the docker distribution had an issue that we fixed yesterday), 18.4.3 and then 17.10.11 in the evening. Right now the docker images are released or 18.6.0 an 18.4.3 but in progres for 17.10.11 ( see [https://dev.xwiki.org/xwiki/bin/view/ReleasePlans/ReleasePlan17.10.11](https://dev.xwiki.org/xwiki/bin/view/ReleasePlans/ReleasePlan17.10.11) ). It should land tonight I think.

---

<div class="post-metadata">

**Author:** ![raphael](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/r/edb3f5/32.png) [@raphael](https://forum.xwiki.org/u/raphael)\
**Post date:** [July 30, 2026, 11:21am UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/8 "2026-07-30T11:21:42Z")

</div>

> [@vmassol](#):
>
> but in progres for 17.10.11

On Docker Hub 17.10.11 is already available, which is the one I have in use now:

> image: “xwiki:17.10.11-mysql-tomcat”

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 30, 2026, 12:16pm UTC](https://forum.xwiki.org/t/standalone-solr-throws-missing-content-stream-error/18683/9 "2026-07-30T12:16:30Z")

</div>

oh ok good, my bad.

I see you’ve linked to [Loading...](https://jira.xwiki.org/browse/XWIKI-24595) which seems to be your issue.

Thx
