There are 4 updates.
 
 
XWiki Docker images / cid:jira-generated-image-avatar-4f5c4987-c489-42c0-a8a3-d6d3999dfa15 XDOCKER-359 Open

Distribution upgrade from 16.10.4 to 16.10.5 is failing

 
View issue   ยท   Add comment
 

4 updates

 
cid:jira-generated-image-avatar-bbba55d2-8b8d-4bed-993d-a53cfc2e274e Changes by Bernd Bartke on 03/Apr/25 15:09
 
Description: Please close this issue.

Problem has been caused by not upgrading the offline extension repository.

 

Distribution upgrade from 16.10.4 to 16.10.5 is failing for xwiki:16.10.5-postgres-tomcat.

Upon restart of 16.10.5, distribution upgrade wizard is shown, but is failing to get the version information of the current distribution. Hence its not possible to upgrade the flavor.

!distribution-empty.png|thumbnail!

Within xwiki.log several rendering errors are reported:
[^xwiki-partial.log]
{noformat}
2025-04-03 13:52:45,604 [main] WARN  ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-distribution-flavor-mainwiki/16.10.4] on namespace [wiki:xwiki] (InvalidExtensionException: Dependency [org.xwiki.platform:xwiki-platform-oldcore-[16.10.4]] is incompatible with the core extension [org.xwiki.platform:xwiki-platform-legacy-oldcore/16.10.5])
... 2025-04-03 13:56:35,565 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.dependencies.size()) of comparison operation has null value at environment:/templates/extension.vm[line 378, column 38]
2025-04-03 13:56:35,566 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.extensionFeatures.size()) of comparison operation has null value at environment:/templates/extension.vm[line 398, column 47]
2025-04-03 13:56:35,566 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.components.size()) of comparison operation has null value at environment:/templates/extension.vm[line 416, column 40]
2025-04-03 13:56:35,567 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.licenses.size()) of comparison operation has null value at environment:/templates/extension.vm[line 433, column 38]
2025-04-03 13:56:35,568 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.dependencies.size()) of comparison operation has null value at environment:/templates/extension.vm[line 655, column 40]
2025-04-03 13:56:35,569 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] WARN  o.x.j.i.DefaultJobStatusStore  - Failed to load job status for id [extension, action, null, wiki:xwiki]
java.lang.NullPointerException: Cannot invoke "String.getBytes()" because "fullIdElement" is null
at org.xwiki.job.internal.DefaultJobStatusStore.getJobFolder(DefaultJobStatusStore.java:352)
at org.xwiki.job.internal.DefaultJobStatusStore.loadStatus(DefaultJobStatusStore.java:279)
at org.xwiki.job.internal.DefaultJobStatusStore.maybeLoadStatus(DefaultJobStatusStore.java:415)
at org.xwiki.job.internal.DefaultJobStatusStore.getJobStatus(DefaultJobStatusStore.java:403)
at org.xwiki.job.script.JobScriptService.getJobStatus(JobScriptService.java:97)
at org.xwiki.extension.script.AbstractExtensionScriptService.getJobStatus(AbstractExtensionScriptService.java:144)
at org.xwiki.extension.script.ExtensionManagerScriptService.getExtensionJobStatus(ExtensionManagerScriptService.java:870)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
{noformat}
 

 
Assignee: Bernd Bartke
Priority: Major Trivial
Status: Open