Failed to install a flavor

Hi! I’ve managed to install a brand new XWiki 13.8 instance in this environment:

Apache Tomcat/9.0.45
MySQL Server version: 8.0.26 Source distribution

CentOS Linux release 8.4.2105

[rjr@e220i059h057w ~]$ java -version
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)
[rjr@e220i059h057w ~]$

Somehow, the installation of a flavor (step 2) failed, and I ended up with an empty wiki. I found this line in catalina.out:

2021-10-09 21:25:59,753 [extension.index job group daemon thread - org.xwiki.extension.index.internal.job.ExtensionIndexJob@3d455216([extension, index])] WARN o.x.e.i.i.j.ExtensionIndexJob - Failed to get remote extension from repository []: IOException: Invalid answer [504] from the server when requesting []

I think I remember there is a way to force the whole process again without having to delete the database, but I don’t remember how! Please, could you help me?

I would like to reproduce and document the error if it appears again!


Hi Ricardo, yes it’s in the doc of the Distribution Wizard, see

In this case only, you can remove the …/jobs/status/distribution/status.xml file located inside your permanent directory (/var/lib/xwiki/… for APT installation or /var/lib/tomcatX/webapps/… for WAR installation).


Hi, Vincent! Thanks for the answer. I’m concentrating on the paragraph you quoted above:

In this case only, you can remove the …/jobs/status/distribution/status.xml file located inside your permanent directory (/var/lib/xwiki/… for APT installation or /var/lib/tomcatX/webapps/… for WAR installation).

First, I confirmed that I’ve correctly set up a permanent directory:

2021-10-11 13:21:33,735 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/var/lib/xwiki/data]

I’m not able to find a single status.xml file neither in this folder (I downloaded and exploded the war file, then removed it), nor in the whole system:

[root@e220i059h057w /]# find ./ -name “status.xml”
[root@e220i059h057w /]# locate status.xml

The wizard appeared at installation time, but failed both with the standard and the demo flavors. Please, must I forget about this, delete the database and recreate it or do you consider that the situation deserves some more attention?


The file is in [perm dir root]/jobs/status/distribution. In recent versions, it’s zipped apparently (

@tmortagne seems you forgot to update the doc. I can do it but I don’t know when this change was introduced.

answer: in 13.7RC1:

Doc updated: Distribution Wizard (

Found! Thanks! Demo Favor Installation on its way!

For the record: after renaming, restarting Tomcat and accessing the wiki, I read this before the Distribution Wizard appears:

2021-10-11 15:05:16,585 [http-nio-8080-exec-5 -] ERROR ebJarsResourceReferenceHandler - Failed to read resource [jquery/2.2.4/jquery.min.js]
org.xwiki.resource.ResourceReferenceHandlerException: Failed to read resource [jquery/2.2.4/jquery.min.js]
at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.serveResource(
at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.handle(
at org.xwiki.resource.internal.DefaultResourceReferenceHandlerChain.handleNext(
at org.xwiki.resource.internal.AbstractResourceReferenceHandlerManager.handle(
at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.handleResourceReference(
at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.ApplicationDispatcher.invoke(
at org.apache.catalina.core.ApplicationDispatcher.processRequest(
at org.apache.catalina.core.ApplicationDispatcher.doForward(
at org.apache.catalina.core.ApplicationDispatcher.forward(
at org.xwiki.resource.servlet.RoutingFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.service(
at org.apache.coyote.AbstractProcessorLight.process(
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
at org.apache.tomcat.util.threads.TaskThread$
Caused by: org.apache.catalina.connector.ClientAbortException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(
at org.apache.catalina.connector.OutputBuffer.appendByteArray(
at org.apache.catalina.connector.OutputBuffer.append(
at org.apache.catalina.connector.OutputBuffer.writeBytes(
at org.apache.catalina.connector.OutputBuffer.write(
at org.apache.catalina.connector.CoyoteOutputStream.write(
at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.serveResource(
… 35 common frames omitted
Caused by: Broken pipe
at Method)
at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(
at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(
at org.apache.coyote.http11.Http11OutputBuffer.doWrite(
at org.apache.coyote.Response.doWrite(
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(
… 45 common frames omitted

Does it make any sense for you? Thanks!

That’s not a problem. It means you probably closed your browser tab before the content was fully sent to it by the server side.

Thanks! Demo Flavor up and running!