Help with Migrating data from Xwiki 4.1.4 to Xwiki 15.5

After the migration when we initialized Xwiki it gave us the option to install Extensions and Flavors, we went through that process of installing them and it was completed successfully. Now we’re not able to see in the Installed extensions.

Can you help us with any other options to edit the group rights? Thanks

Below are some Screen shots

Our old Application 4.1.4: We’re able to see group and edit rights

image
image

New Application 15.5
image

image

OK, so according to your screenshot, your list of installed extensions was already broken before the upgrade ?

Do you have any error or warning in the log of the upgraded instance, especially at startup ?

Could you try to access https://yourdomain/xwiki/bin/view/XWiki/Extensions#History and check if there is any difference between the standard version coming from the extension and the current state of the page ? If you try to rollback to the standard version and see if it works better.

I don’t think old application was broken, because there was no issue with Group’s and Right’s.

These are the screenshots for Extension History :

Old Application 4.1.4 :
image

New Application : 15.5
image

These are the server start up logs for the upgraded instance. I don’t see any issues

Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name: Apache Tomcat/9.0.64
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Jun 2 2022 19:08:46 UTC
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 9.0.64.0
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 10
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.0
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Users\m209031\softwares\jdk-11.0.20+8
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 11.0.20+8
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Eclipse Adoptium
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\Users\m209031\workspace\xwiki3.metadata.plugins\org.eclipse.wst.server.core\tmp0
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\Users\m209031\softwares\apache-tomcat-9.0.64
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:63296
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -javaagent:C:\Users\m209031\softwares\eclipse\configuration\org.eclipse.osgi\413\0.cp\lib\javaagent-shaded.jar
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Users\m209031\workspace\xwiki3.metadata.plugins\org.eclipse.wst.server.core\tmp0
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Users\m209031\softwares\apache-tomcat-9.0.64
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=C:\Users\m209031\workspace\xwiki3.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Ddb.host=rcfdbcc-int3.mayo.edu
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Ddb.username=tu06379
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Ddb.password=Vy99Ter8NwTss98
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dalliance.ui.url=http://localhost:4200
Oct 31, 2023 10:09:30 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1252
Oct 31, 2023 10:09:30 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\Users\m209031\softwares\jdk-11.0.20+8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:/program files/eclipse adoptium/jdk-8.0.382.5-hotspot/bin/…/jre/bin/server;c:/program files/eclipse adoptium/jdk-8.0.382.5-hotspot/bin/…/jre/bin;c:/program files/eclipse adoptium/jdk-8.0.382.5-hotspot/bin/…/jre/lib/amd64;C:\Python312\Scripts;C:\Python312;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;c:\program files\eclipse adoptium\jdk-8.0.382.5-hotspot\bin;c:\users\m209031\softwares\jdk-11.0.20+8\bin;C:\Windows\system32\openssh;c:\sybase15_0_7\ocs-15_0\bin;c:\sybase15_0_7\ocs-15_0\dll;c:\sybase15_0_7\ocs-15_0\lib3p;c:\sybase15_0_7\dataaccess\adonet\dll;c:\sybase15_0_7\dataaccess\odbc\dll;c:\sybase15_0_7\dataaccess\oledb\dll;C:\Users\m209031\softwares\apache-maven-3.8.6\bin;c:\program files\git\cmd;c:\program files\icedteaweb\webstart\bin;C:\Windows\System32\WindowsPowerShell\v1.0;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\Users\m209031\AppData\Local\Microsoft\WindowsApps;C:\Users\m209031\AppData\Local\GitHubDesktop\bin;C:\Users\m209031\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\m209031\softwares\jdk-11.0.20+8\bin;C:\Users\m209031\AppData\Roaming\npm;C:\Users\m209031\softwares\eclipse;;.]
Oct 31, 2023 10:09:31 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-nio-8090”]
Oct 31, 2023 10:09:31 AM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [770] milliseconds
Oct 31, 2023 10:09:31 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Oct 31, 2023 10:09:31 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.64]
Oct 31, 2023 10:09:32 AM org.apache.jasper.servlet.TldScanner scanJars
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.
Oct 31, 2023 10:09:32 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [162] milliseconds.
2023-10-31 10:10:35,635 [main] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/xwiki.properties]
2023-10-31 10:10:35,961 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [\local1\tomcat\tomcat9\work\Catalina\localhost\xwiki\store\file]
2023-10-31 10:10:53,124 [main] WARN .x.e.m.i.MavenExtensionScanner - Collision between core extension [org.codehaus.btm:btm-tomcat55-lifecycle/2.1.4 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/btm-tomcat55-lifecycle-2.1.4.jar!/META-INF/maven/org.codehaus.btm/btm-tomcat55-lifecycle/pom.xml)] and [org.codehaus.btm:btm-tomcat55-lifecycle/2.1.3 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/btm-tomcat55-lifecycle-2.1.3.jar!/META-INF/maven/org.codehaus.btm/btm-tomcat55-lifecycle/pom.xml)]
2023-10-31 10:10:53,125 [main] WARN .x.e.m.i.MavenExtensionScanner - [org.codehaus.btm:btm-tomcat55-lifecycle/2.1.4 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/btm-tomcat55-lifecycle-2.1.4.jar!/META-INF/maven/org.codehaus.btm/btm-tomcat55-lifecycle/pom.xml)] is selected
2023-10-31 10:10:53,156 [main] WARN .x.e.m.i.MavenExtensionScanner - Collision between core extension [org.apache.commons:commons-lang3/3.13.0 (jar:file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/lib/commons-lang3-3.13.0.jar!/META-INF/maven/org.apache.commons/commons-lang3/pom.xml)] and [org.apache.commons:commons-lang3/3.12.0 (file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/lib/commons-lang3-3.12.0.xed)]
2023-10-31 10:10:53,156 [main] WARN .x.e.m.i.MavenExtensionScanner - [org.apache.commons:commons-lang3/3.13.0 (jar:file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/lib/commons-lang3-3.13.0.jar!/META-INF/maven/org.apache.commons/commons-lang3/pom.xml)] is selected
2023-10-31 10:10:53,174 [main] WARN .x.e.m.i.MavenExtensionScanner - Collision between core extension [org.slf4j:slf4j-api/1.6.4 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/slf4j-api-1.6.4.jar!/META-INF/maven/org.slf4j/slf4j-api/pom.xml)] and [org.slf4j:slf4j-api/2.0.7 (file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/lib/slf4j-api-2.0.7.xed)]
2023-10-31 10:10:53,175 [main] WARN .x.e.m.i.MavenExtensionScanner - [org.slf4j:slf4j-api/2.0.7 (file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/lib/slf4j-api-2.0.7.xed)] is selected
2023-10-31 10:10:53,181 [main] WARN .x.e.m.i.MavenExtensionScanner - Collision between core extension [org.codehaus.btm:btm/2.1.4 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/btm-2.1.4.jar!/META-INF/maven/org.codehaus.btm/btm/pom.xml)] and [org.codehaus.btm:btm/2.1.3 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/btm-2.1.3.jar!/META-INF/maven/org.codehaus.btm/btm/pom.xml)]
2023-10-31 10:10:53,181 [main] WARN .x.e.m.i.MavenExtensionScanner - [org.codehaus.btm:btm/2.1.4 (jar:file:/C:/Users/m209031/softwares/apache-tomcat-9.0.64/lib/btm-2.1.4.jar!/META-INF/maven/org.codehaus.btm/btm/pom.xml)] is selected
2023-10-31 10:11:04,597 [main] INFO o.x.s.s.i.EmbeddedSolr - Updating Solr home directory at [C:\local1\tomcat\tomcat9\work\Catalina\localhost\xwiki\store\file\store\solr]
2023-10-31 10:11:04,668 [main] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server…
2023-10-31 10:11:04,668 [main] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [C:\local1\tomcat\tomcat9\work\Catalina\localhost\xwiki\store\file\store\solr]
2023-10-31 10:11:06,504 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@4461cce7[provider=null,keyStore=null,trustStore=null]
2023-10-31 10:11:06,505 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@4461cce7[provider=null,keyStore=null,trustStore=null]
2023-10-31 10:11:07,082 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@216cc310[provider=null,keyStore=null,trustStore=null]
2023-10-31 10:11:07,082 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@216cc310[provider=null,keyStore=null,trustStore=null]
2023-10-31 10:11:07,364 [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 Securing Solr :: Apache Solr Reference Guide for more info
2023-10-31 10:11:28,418 [main] INFO o.x.s.s.i.EmbeddedSolr - Started embedded Solr server.
2023-10-31 10:11:42,495 [main] INFO o.x.s.f.i.FilesystemStoreTools - Using filesystem store directory [C:\local1\tomcat\tomcat9\work\Catalina\localhost\xwiki\store\file\store\file]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.converters.reflection.FieldDictionary (file:/C:/Users/m209031/workspace/xwiki3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/alliance-xwiki/WEB-INF/lib/xstream-1.4.17.jar) to field java.util.Collections$UnmodifiableMap.serialVersionUID
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.converters.reflection.FieldDictionary
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Oct 31, 2023 10:11:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-nio-8090”]
Oct 31, 2023 10:11:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in [131507] milliseconds

What I said is that your installed extensions list is broken (it’s not supposed to be empty since, as I said in a previous message, you installed a bunch of them: the flavor and its dependencies).

This screenshot suggests you don’t have any installed extension.

This is often the sign that your permanent directory is not configured or configured with a very unstable location (i.e. your installed extension index, which is located in the permanent directory, has been wiped it seems).

This really does not look like a stable permanent directory, looks to me like the Tomcat temporary directory allocated to the xwiki webapp.

See https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Configuration/#HPermanentDirectory

I’ll give a new absolute location to the environment.permanentDirectory and then try to Install the extensions and Flavors and will keep you posted.

Might be this issue is happening because I’m accessing the application from my local and the server. I’ll try to use that location only from server.

I’ve update the permanent directory location and initialized the Xwiki application.

Here are the server startup logs :
2023-11-01 10:13:47,365 [main] INFO o.x.s.s.i.EmbeddedSolr - Generating a new Solr home directory at [/local1/all-tomcat-data/xwiki3/store/solr]
2023-11-01 10:13:47,381 [main] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server…
2023-11-01 10:13:47,382 [main] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [/local1/all-tomcat-data/xwiki3/store/solr]
2023-11-01 10:13:48,215 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@3e074b14[provider=null,keyStore=null,trustStore=file:///local1/tomcat/tomcat9/security/truststore]
2023-11-01 10:13:48,215 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@3e074b14[provider=null,keyStore=null,trustStore=file:///local1/tomcat/tomcat9/security/truststore]
2023-11-01 10:13:48,336 [main] WARN o.e.j.u.s.S.config - Trusting all certificates configured for Client@766845b0[provider=null,keyStore=null,trustStore=file:///local1/tomcat/tomcat9/security/truststore]
2023-11-01 10:13:48,336 [main] WARN o.e.j.u.s.S.config - No Client EndPointIdentificationAlgorithm configured for Client@766845b0[provider=null,keyStore=null,trustStore=file:///local1/tomcat/tomcat9/security/truststore]
2023-11-01 10:13:48,400 [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 Securing Solr :: Apache Solr Reference Guide for more info
2023-11-01 10:13:51,088 [main] INFO o.x.s.s.i.EmbeddedSolr - Started embedded Solr server.
2023-11-01 10:13:54,371 [main] INFO o.x.s.f.i.FilesystemStoreTools - Using filesystem store directory [/local1/all-tomcat-data/xwiki3/store/file]
01-Nov-2023 10:13:58.144 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/local1/tomcat/apache-tomcat-9.0.65/webapps/xwiki.war] has finished in [25,446] ms
01-Nov-2023 10:13:58.147 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
01-Nov-2023 10:13:58.159 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“https-jsse-nio-8443”]
01-Nov-2023 10:13:58.164 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [107441] milliseconds

After Initializing Xwiki I got below setup Wizard, but it is not giving me any option of selecting the flavors

image

Please suggest how to get the Flavors and setup. Thanks

Have you tried to refresh (as in F5) ? AFAIK in rare cases the automatic refresh of the list does not work.

If refresh does not work, you might want to take a look at the log for possible related errors (like errors when trying to access the extensions repository).