For upgrading from XWiki v7.0.1 to v13.10.9, I am in the second stage of bringing up the newer version.
The tomcat started and proceeded past acquiring the change log lock; however, the browser stuck forever with the message XWiki is initializing (12%)...
. I know of a previous post about a similar symptom on XWiki v9.4, but not sure whether it is the same issue.
By the way, I resolved a JDBC driver issue following the advice in this post. Also, I noticed the below warning in catalina.out
mentioning the older version of v7.0.1
, but I am unsure how critical the message is.
2022-09-13 10:47:35,689 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/7.0.1] on namespace [wiki:xwiki] (InvalidExtensionException: No compatible extension is installed for dependency [org.xwiki.platform:xwiki-platform-watchlist-api-7.0.1])
Question:
I wonder mostly about 1) what caused the system to get stuck in this state of XWiki is initializing (12%)...
, how to resolve it, and if necessary, 2) how to resolve the warning of Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/7.0.1]
.
I will highly appreciate any hints or suggestions.
The output in catalina.out
:
13-Sep-2022 10:47:23.465 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.82
13-Sep-2022 10:47:23.466 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 8 2022 21:26:07 UTC
13-Sep-2022 10:47:23.466 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.82.0
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-1160.76.1.el7.x86_64
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_342-b07
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Red Hat, Inc.
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /www/tomcat8
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /www/tomcat8
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/www/tomcat8/conf/logging.properties
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/www/tomcat8
13-Sep-2022 10:47:23.467 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/www/tomcat8
13-Sep-2022 10:47:23.468 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/www/tomcat8/temp
13-Sep-2022 10:47:23.469 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
13-Sep-2022 10:47:23.510 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
13-Sep-2022 10:47:23.523 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 329 ms
13-Sep-2022 10:47:23.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
13-Sep-2022 10:47:23.540 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.82]
13-Sep-2022 10:47:23.547 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/www/tomcat8/webapps/docs]
13-Sep-2022 10:47:23.678 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/www/tomcat8/webapps/docs] has finished in [131] ms
13-Sep-2022 10:47:23.678 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/www/tomcat8/webapps/examples]
13-Sep-2022 10:47:23.785 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/www/tomcat8/webapps/examples] has finished in [107] ms
13-Sep-2022 10:47:23.786 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/www/tomcat8/webapps/host-manager]
13-Sep-2022 10:47:23.797 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/www/tomcat8/webapps/host-manager] has finished in [11] ms
13-Sep-2022 10:47:23.797 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/www/tomcat8/webapps/manager]
13-Sep-2022 10:47:23.814 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/www/tomcat8/webapps/manager] has finished in [17] ms
13-Sep-2022 10:47:23.814 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/www/tomcat8/webapps/ROOT.original]
13-Sep-2022 10:47:23.820 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/www/tomcat8/webapps/ROOT.original] has finished in [6] ms
13-Sep-2022 10:47:23.821 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/www/tomcat8/webapps/ROOT]
2022-09-13 10:47:29,611 [localhost-startStop-1] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/media/sf_cmy/work/sets/upgrade/notes-my/xwiki/webapps/ROOT.v13.10.9/WEB-INF/xwiki.properties]
2022-09-13 10:47:29,752 [localhost-startStop-1] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/data/xwiki]
2022-09-13 10:47:35,645 [localhost-startStop-1] WARN .x.e.m.i.MavenExtensionScanner - Collision between core extension [org.mariadb.jdbc:mariadb-java-client/3.0.7 (jar:file:/media/sf_cmy/work/sets/upgrade/notes-my/xwiki/webapps/ROOT.v13.10.9/WEB-INF/lib/mariadb-java-client-3.0.7.jar!/META-INF/maven/org.mariadb.jdbc/mariadb-java-client/pom.xml)] and [org.mariadb.jdbc:mariadb-java-client/3.0.5 (jar:file:/media/sf_cmy/work/sets/upgrade/notes-my/xwiki/webapps/ROOT.v13.10.9/WEB-INF/lib/mariadb-java-client-3.0.5-sources.jar!/META-INF/maven/org.mariadb.jdbc/mariadb-java-client/pom.xml)]
2022-09-13 10:47:35,645 [localhost-startStop-1] WARN .x.e.m.i.MavenExtensionScanner - [org.mariadb.jdbc:mariadb-java-client/3.0.7 (jar:file:/media/sf_cmy/work/sets/upgrade/notes-my/xwiki/webapps/ROOT.v13.10.9/WEB-INF/lib/mariadb-java-client-3.0.7.jar!/META-INF/maven/org.mariadb.jdbc/mariadb-java-client/pom.xml)] is selected
2022-09-13 10:47:35,689 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/7.0.1] on namespace [wiki:xwiki] (InvalidExtensionException: No compatible extension is installed for dependency [org.xwiki.platform:xwiki-platform-watchlist-api-7.0.1])
2022-09-13 10:47:39,432 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server...
2022-09-13 10:47:39,432 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [/data/xwiki/store/solr]
2022-09-13 10:47:40,584 [localhost-startStop-1] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@d4d25cb[provider=null,keyStore=null,trustStore=null]
2022-09-13 10:47:40,584 [localhost-startStop-1] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@d4d25cb[provider=null,keyStore=null,trustStore=null]
2022-09-13 10:47:40,725 [localhost-startStop-1] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@3ab8be8e[provider=null,keyStore=null,trustStore=null]
2022-09-13 10:47:40,725 [localhost-startStop-1] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@3ab8be8e[provider=null,keyStore=null,trustStore=null]
2022-09-13 10:47:40,789 [localhost-startStop-1] 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
2022-09-13 10:47:42,986 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolr - Started embedded Solr server.
2022-09-13 10:47:44,812 [localhost-startStop-1] INFO o.x.s.f.i.FilesystemStoreTools - Using filesystem store directory [/data/xwiki/store/file]
13-Sep-2022 10:47:44.945 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/www/tomcat8/webapps/ROOT] has finished in [21,124] ms
13-Sep-2022 10:47:44.948 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
13-Sep-2022 10:47:44.956 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 21433 ms
2022-09-13 10:47:55,731 [XWiki initialization] INFO .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - The following data migration(s) will be applied for wiki [xwiki] currently in version [70000]:
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - R72000XWIKI12153 - Convert document space name into space reference
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - R72001XWIKI12228 - Make sure xwikidocument and xwikispace tables are in sync
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - R73000XWIKI12277 - Migrate TemplateProviderClass' removed 'type' property values to the new 'terminal' property.
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - R90000XWIKI13474 - Convert attachment size type to BIGINT to allow attachments bigger than 2GB.
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - R93000RecordableEventMigrator - https://jira.xwiki.org/browse/XWIKI-14172
2022-09-13 10:47:56,049 [XWiki initialization] INFO .HibernateDataMigrationManager - R910000XWIKI14697 - Make sure all attachments have the right content store id.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R910001XWIKI14697 - Make sure all attachments have the right archive store id.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R910100XWIKI14871 - Make sure all existing deleted attachments have a store id and move back metadata to the database.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R911000XWIKI14889 - Remove the non-null=true from deleted attachments table.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R911001XWIKI14895 - Remove the non-null=true from deleted documents table.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1004000XWIKI15249 - Make sure all attachments have the right content store id.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1004001XWIKI15249 - Make sure all attachments have the right archive store id.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1008010XWIKI10092 - Add missing properties to existing objects.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1100000XWIKI15620 - Move the store to a new location. Change the path from URL encoding to hash based to support long references.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1130000WatchlistLeftoversCleaner - Remove some mandatory documents created by the Watchlist Application that the notification email notifier replaces.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1130040XWIKI16682 - Fix attachments content store id missed because of a bug in migration R1100000XWIKI15620
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R1138000XWIKI16709 - Remove disable property and add checked_email property in XWikiUser documents.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R120901000XWIKI17761 - Move old Ratings XObject to the default Solr rating store.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R130200000XWIKI17200 - Make sure the database follow the currently expected type for some large string columns.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R130407000XWIKI19207 - Increase the maximum size of the columns to the maximum index supported by MySQL
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - R131007000XWIKI15460 - Remove the notification filters preferences remaining from removed sub-wikis.
2022-09-13 10:47:56,050 [XWiki initialization] INFO .HibernateDataMigrationManager - 140600000XWIKI19869 - Migrate wrongly stored passwords information.
2022-09-13 10:47:56,059 [XWiki initialization] INFO 0200000XWIKI17200DataMigration - Updating the type of [xwikistatsvisit.XWV_USER_AGENT] to [longtext not null]
2022-09-13 10:47:56,060 [XWiki initialization] INFO 0200000XWIKI17200DataMigration - Updating the type of [xwikistatsvisit.XWV_COOKIE] to [longtext not null]
2022-09-13 10:47:56,061 [XWiki initialization] INFO 0200000XWIKI17200DataMigration - Updating the type of [xwikipreferences.XWP_LEFT_PANELS] to [longtext]
2022-09-13 10:47:56,062 [XWiki initialization] INFO 0200000XWIKI17200DataMigration - Updating the type of [xwikipreferences.XWP_RIGHT_PANELS] to [longtext]
2022-09-13 10:47:56,062 [XWiki initialization] INFO 0200000XWIKI17200DataMigration - Updating the type of [xwikipreferences.XWP_DOCUMENT_BUNDLES] to [longtext]
2022-09-13 10:47:56,187 [XWiki initialization] INFO .HibernateDataMigrationManager - Running early schema updates (using liquibase) for database [xwiki]
13-Sep-2022 10:47:56.893 INFO [XWiki initialization] liquibase.lockservice.null Successfully acquired change log lock
13-Sep-2022 10:47:57.978 INFO [XWiki initialization] liquibase.changelog.null Reading from xwiki.DATABASECHANGELOG