I am struggeling to install xwiki on a centos machine. This is a new install, new and empty xwiki database.
My setting:
Tomcat 9.0.37
Java 11.0.7
xwiki-platform-distribution-war-12.7.1.war
mariadb 10.0
mariadb-java-client-2.6.2.jar
08-Sep-2020 17:59:56.870 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.37
08-Sep-2020 17:59:56.873 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 30 2020 20:09:49 UTC
08-Sep-2020 17:59:56.873 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.37.0
08-Sep-2020 17:59:56.873 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
08-Sep-2020 17:59:56.873 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-1127.13.1.el7.x86_64
08-Sep-2020 17:59:56.873 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
08-Sep-2020 17:59:56.874 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-11.0.7.10-4.el7_8.x86_64
08-Sep-2020 17:59:56.874 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.7+10-LTS
08-Sep-2020 17:59:56.874 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
08-Sep-2020 17:59:56.874 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/tomcat/apache-tomcat-9.0.37
08-Sep-2020 17:59:56.874 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/tomcat/apache-tomcat-9.0.37
=> tomcat is starting up perfectly.
after accessing xwiki I find the following bug in the catalina.out file:
2020-09-08 18:00:31,967 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
2020-09-08 18:00:33,623 [XWiki initialization] INFO .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled
2020-09-08 18:00:33,772 [XWiki initialization] INFO .HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] currently in version [1138000]
2020-09-08 18:00:33,772 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
2020-09-08 18:00:34,211 [XWiki initialization] WARN o.h.e.j.s.SqlExceptionHelper - SQL Error: 1146, SQLState: 42S02
2020-09-08 18:00:34,211 [XWiki initialization] ERROR o.h.e.j.s.SqlExceptionHelper - (conn=2441738) Table 'xwiki.xwikiproperties' doesn't exist
2020-09-08 18:00:34,232 [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.GlobalRedirect
and a lot of error messages following.
My mariadb config seems to work, because there are several tables created after accessing the xwiki homepage, but at all there were only 25 tables created. I think there missing some tables, right?
What could be the cause for my bug?
Thank you
Peter