XWiki not available after Update

Hello,

I updated my XWiki installation and the underlying Debian yesterday. The strange thing is yesterday after updating it worked and today not anymore.

System:
Upgrade from Debian 10.7 to 11
XWiki Update from 10.6.2 to 13.10.2

tomcat version:
/usr/share/tomcat9/bin/version.sh
Using CATALINA_BASE: /usr/share/tomcat9
Using CATALINA_HOME: /usr/share/tomcat9
Using CATALINA_TMPDIR: /usr/share/tomcat9/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar
Using CATALINA_OPTS:
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Server version: Apache Tomcat/9.0.43 (Debian)
Server built: Jan 4 1970 19:03:34 UTC
Server number: 9.0.43.0
OS Name: Linux
OS Version: 5.10.0-11-amd64
Architecture: amd64
JVM Version: 11.0.14+9-post-Debian-1deb11u1
JVM Vendor: Debian

To update XWiki I used apt update and installed the packages. I updated everything and reconfigured xwiki.cfg & xwiki.properties with the values I set before.

After this, I restarted tomcat9.service and ran the configuration wizard over the web page.https://xxx:8443/xwiki/. This was successful as well.

So far so good. It was a bit late yesterday and I wanted to proceed today with checking if everything is ok but I wasn’t able to login as the page couldn’t be displayed anymore. As well tomcat Manager isn’t working as well.

The catalina log and service shows this:

tomcat9.service - Apache Tomcat 9 Web Application Server
Loaded: loaded (/lib/systemd/system/tomcat9.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/tomcat9.service.d
└─xwiki-tomcat9-systemd.conf
Active: active (running) since Sat 2022-01-29 11:03:09 CET; 19s ago
Docs: Apache Tomcat 9 (9.0.89) - Documentation Index
Process: 5938 ExecStartPre=/usr/libexec/tomcat9/tomcat-update-policy.sh (code=exited, status=0/SUCCESS)
Main PID: 5942 (java)
Tasks: 43 (limit: 18970)
Memory: 671.7M
CPU: 23.972s
CGroup: /system.slice/tomcat9.service
└─5942 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoader>

Jan 29 11:03:10 de1-wte13992 tomcat9[5942]: The path attribute with value [/xwiki] in deployment descriptor [/etc/tomcat9/Catalina/localhost/xwiki.xml] has been ignored
Jan 29 11:03:12 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:12,616 [main] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from default location [/etc/xwiki/xwiki.pr>
Jan 29 11:03:12 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:12,705 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/var/lib/xwiki/data]
Jan 29 11:03:16 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:16,872 [main] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server…
Jan 29 11:03:16 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:16,873 [main] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [/var/lib/xwiki/data/store/solr]
Jan 29 11:03:17 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:17,386 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@7555782c[provider=nul>
Jan 29 11:03:17 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:17,386 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@75557>
Jan 29 11:03:17 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:17,469 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@65fd3ebe[provider=nul>
Jan 29 11:03:17 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:17,469 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@65fd3>
Jan 29 11:03:17 de1-wte13992 tomcat9[5942]: 2022-01-29 11:03:17,526 [main] WARN o.a.s.c.CoreContainer - Not all security plugins configured! authentication=disabled authori>

29-Jan-2022 11:03:09.690 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.43 (Debian)
29-Jan-2022 11:03:09.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 4 1970 19:03:34 UTC
29-Jan-2022 11:03:09.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.43.0
29-Jan-2022 11:03:09.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
29-Jan-2022 11:03:09.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.10.0-11-amd64
29-Jan-2022 11:03:09.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
29-Jan-2022 11:03:09.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-amd64
29-Jan-2022 11:03:09.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.14+9-post-Debian-1deb11u1
29-Jan-2022 11:03:09.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Debian
29-Jan-2022 11:03:09.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /var/lib/tomcat9
29-Jan-2022 11:03:09.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat9
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.propert>
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.security.egd=file:/dev/./urandom
29-Jan-2022 11:03:09.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxyHost=193.109.4.10
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxyPort=8080
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxyUser=sakbsd0
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxyPassword=SgIdhBJmILqxswfgXEC4
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxyHost=193.109.4.10
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxyPort=8080
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxyUser=sakbsd0
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxyPassword=SgIdhBJmILqxswfgXEC4
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/var/lib/tomcat9
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat9
29-Jan-2022 11:03:09.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/tmp
29-Jan-2022 11:03:09.706 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.26] using APR version [1.7.0].
29-Jan-2022 11:03:09.706 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
29-Jan-2022 11:03:09.706 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
29-Jan-2022 11:03:09.707 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1k 25 Mar 2021]
29-Jan-2022 11:03:09.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
29-Jan-2022 11:03:09.904 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“https-openssl-nio-8443”]
29-Jan-2022 11:03:10.102 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [524] milliseconds
29-Jan-2022 11:03:10.133 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
29-Jan-2022 11:03:10.133 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.43 (Debian)]
29-Jan-2022 11:03:10.137 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/etc/tomcat9/Catalina/localhost/xwiki.xml]
29-Jan-2022 11:03:10.145 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value [/xwiki] in deployment descriptor [/etc/tomcat9/Catalina/>

I already had a look at the mentioned xwiki.xml but couldn’t find anything. Could someone give me a hint or has a solution for this? If I forgot something or need more info let me know, please.

Thank you very much.

regards pharao50

I see in your log that it did started XWiki but it seems stuck in Solr init which would suggests https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Upgrade#HXWikiwon27tstartwithoutanyerrorinthelogandstaystuckonSolrinitialization (" XWiki won’t start without any error in the log and stay stuck on Solr initialization").

Wow I should read the instructions completely next time :slight_smile:

This did the trick. Thank you very much