Hi Vincent! Thank you for your response. I try to explain what my problem is:
I deleted this morning the database and all subfolders for environment.home in “data”. I also deleted the cache - so it is a system totally new installed with release 13.0. I get this output from catalina.out:
[2021-02-17 06:32:34] [info] 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.rmi/sun.rmi.transport=ALL-UNNAMED
[2021-02-17 06:32:34] [info] Server version name: Apache Tomcat/9.0.31 (Debian)
[2021-02-17 06:32:34] [info] Server built: Jan 19 2021 22:31:47 UTC
[2021-02-17 06:32:34] [info] Server version number: 9.0.31.0
[2021-02-17 06:32:34] [info] OS Name: Linux
[2021-02-17 06:32:34] [info] OS Version: 4.19.0-14-amd64
[2021-02-17 06:32:34] [info] Architecture: amd64
[2021-02-17 06:32:34] [info] Java Home: /usr/lib/jvm/java-11-openjdk-amd64
[2021-02-17 06:32:34] [info] JVM Version: 11.0.9.1+1-post-Debian-1deb10u2
[2021-02-17 06:32:34] [info] JVM Vendor: Debian
[2021-02-17 06:32:34] [info] CATALINA_BASE: /var/lib/tomcat9
[2021-02-17 06:32:34] [info] CATALINA_HOME: /usr/share/tomcat9
[2021-02-17 06:32:34] [info] Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
[2021-02-17 06:32:34] [info] Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
[2021-02-17 06:32:34] [info] Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[2021-02-17 06:32:34] [info] Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
[2021-02-17 06:32:34] [info] Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[2021-02-17 06:32:34] [info] Command line argument: -Djava.awt.headless=true
[2021-02-17 06:32:34] [info] Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
[2021-02-17 06:32:34] [info] Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
[2021-02-17 06:32:34] [info] Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
[2021-02-17 06:32:34] [info] Command line argument: -Dignore.endorsed.dirs=
[2021-02-17 06:32:34] [info] Command line argument: -Dcatalina.base=/var/lib/tomcat9
[2021-02-17 06:32:34] [info] Command line argument: -Dcatalina.home=/usr/share/tomcat9
[2021-02-17 06:32:34] [info] Command line argument: -Djava.io.tmpdir=/tmp
[2021-02-17 06:32:34] [info] An older version [1.2.21] of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.23]
[2021-02-17 06:32:34] [info] Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
[2021-02-17 06:32:34] [info] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
[2021-02-17 06:32:34] [info] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
[2021-02-17 06:32:34] [info] OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019]
[2021-02-17 06:32:34] [info] Initializing ProtocolHandler ["http-nio-8080"]
[2021-02-17 06:32:34] [info] Server initialization in [360] milliseconds
[2021-02-17 06:32:34] [info] Starting service [Catalina]
[2021-02-17 06:32:34] [info] Starting Servlet engine: [Apache Tomcat/9.0.31 (Debian)]
[2021-02-17 06:32:34] [info] Deploying web application directory [/var/lib/tomcat9/webapps/xwiki]
[2021-02-17 06:32:37] [info] 2021-02-17 06:32:37,632 [main] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/var/lib/tomcat9/webapps/xwiki/WEB-INF/xwiki.properties]
[2021-02-17 06:32:37] [info] 2021-02-17 06:32:37,767 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/var/lib/tomcat9/webapps/xwiki/data]
[2021-02-17 06:32:41] [info] 2021-02-17 06:32:41,120 [main] INFO o.x.s.s.i.EmbeddedSolr - Generating a new Solr home directory at [/var/lib/tomcat9/webapps/xwiki/data/store/solr]
[2021-02-17 06:32:41] [info] 2021-02-17 06:32:41,136 [main] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server...
[2021-02-17 06:32:41] [info] 2021-02-17 06:32:41,136 [main] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [/var/lib/tomcat9/webapps/xwiki/data/store/solr]
[2021-02-17 06:32:42] [info] 2021-02-17 06:32:42,271 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@6859f102[provider=null,keyStore=null,trustStore=null]
[2021-02-17 06:32:42] [info] 2021-02-17 06:32:42,272 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@6859f102[provider=null,keyStore=null,trustStore=null]
[2021-02-17 06:32:42] [info] 2021-02-17 06:32:42,411 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@6e8627e6[provider=null,keyStore=null,trustStore=null]
[2021-02-17 06:32:42] [info] 2021-02-17 06:32:42,411 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@6e8627e6[provider=null,keyStore=null,trustStore=null]
[2021-02-17 06:32:42] [info] 2021-02-17 06:32:42,430 [main] WARN o.a.s.c.CoreContainer - Not all security plugins configured! authentication=disabled authorization=disabled. Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external. See https://s.apache.org/solrsecurity for more info
[2021-02-17 06:32:45] [info] 2021-02-17 06:32:45,595 [main] INFO o.x.s.s.i.EmbeddedSolr - Started embedded Solr server.
[2021-02-17 06:32:52] [info] 2021-02-17 06:32:52,385 [main] INFO o.x.s.f.i.FilesystemStoreTools - Using filesystem store directory [/var/lib/tomcat9/webapps/xwiki/data/store/file]
[2021-02-17 06:32:52] [info] Deployment of web application directory [/var/lib/tomcat9/webapps/xwiki] has finished in [17,935] ms
[2021-02-17 06:32:52] [info] Deploying web application directory [/var/lib/tomcat9/webapps/ROOT]
[2021-02-17 06:32:53] [info] At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2021-02-17 06:32:53] [info] Deployment of web application directory [/var/lib/tomcat9/webapps/ROOT] has finished in [503] ms
[2021-02-17 06:32:53] [info] Starting ProtocolHandler ["http-nio-8080"]
[2021-02-17 06:32:53] [info] Server startup in [18,503] milliseconds
[2021-02-17 06:42:50] [info] 2021-02-17 06:42:50,723 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
[2021-02-17 06:42:51] [info] 2021-02-17 06:42:51,159 [XWiki initialization] INFO .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled
[2021-02-17 06:42:51] [info] 2021-02-17 06:42:51,332 [XWiki initialization] INFO .HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] currently in version [121001000]
[2021-02-17 06:42:51] [info] 2021-02-17 06:42:51,332 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
[2021-02-17 06:42:55] [info] 2021-02-17 06:42:55,131 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@319ed137([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]]
[2021-02-17 06:42:55] [info] WARNING: An illegal reflective access operation has occurred
[2021-02-17 06:42:55] [info] WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.SerializationMembers (file:/var/lib/tomcat9/webapps/xwiki/WEB-INF/lib/xstream-1.4.15.jar) to method java.util.concurrent.CopyOnWriteArrayList.readObject(java.io.ObjectInputStream)
[2021-02-17 06:42:55] [info] WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.SerializationMembers
[2021-02-17 06:42:55] [info] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[2021-02-17 06:42:55] [info] WARNING: All illegal access operations will be denied in a future release
[2021-02-17 06:42:55] [info] 2021-02-17 06:42:55,305 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@319ed137([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - 0 documents added, 0 deleted and 0 updated during the synchronization of the Solr index.
[2021-02-17 06:42:55] [info] 2021-02-17 06:42:55,305 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@319ed137([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
After I started xwiki I have to install the user and flavour as usual - everything works.
But if I restart the server - the catalina.out stops with this message (tomcat is up but xwiki do not start):
[2021-02-17 05:52:47] [info] Deploying web application directory [/var/lib/tomcat9/webapps/xwiki]
[2021-02-17 05:52:56] [info] 2021-02-17 05:52:56,977 [main] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/var/lib/tomcat9/webapps/xwiki/WEB-INF/xwiki.properties]
[2021-02-17 05:52:57] [info] 2021-02-17 05:52:57,231 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/var/lib/tomcat9/webapps/xwiki/data]
[2021-02-17 05:53:04] [info] 2021-02-17 05:53:04,848 [main] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server...
[2021-02-17 05:53:04] [info] 2021-02-17 05:53:04,852 [main] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [/var/lib/tomcat9/webapps/xwiki/data/store/solr]
[2021-02-17 05:53:06] [info] 2021-02-17 05:53:06,152 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@38eb2140[provider=null,keyStore=null,trustStore=null]
[2021-02-17 05:53:06] [info] 2021-02-17 05:53:06,152 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@38eb2140[provider=null,keyStore=null,trustStore=null]
[2021-02-17 05:53:06] [info] 2021-02-17 05:53:06,444 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@49f2994f[provider=null,keyStore=null,trustStore=null]
[2021-02-17 05:53:06] [info] 2021-02-17 05:53:06,445 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@49f2994f[provider=null,keyStore=null,trustStore=null]
[2021-02-17 05:53:06] [info] 2021-02-17 05:53:06,469 [main] WARN o.a.s.c.CoreContainer - Not all security plugins configured! authentication=disabled authorization=disabled. Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external. See https://s.apache.org/solrsecurity for more info
I think that solr is not configured well - however - I searched a lot but I didn’t find any solution or how to configure solr right for xwiki. I configured solr as “embedded” (as I’m not so familiar with solr and tomcat).