Details
Description
Steps to reproduce
- Create an older instance of XWiki (tested with XWiki 13.4.7) on Oracle (tested with Oracle 19c)
- Close the instance
- Go to the instance's folder and replace the WAR with the new one (from XWiki 14.10.17, 15.5.3 or 15.8)
- Start the instance
- After the server starts, access the instance in browser
- Observe the XWiki console
Expected results
No warnings/errors are displayed.
Actual results
When the migration is undergoing, there are many warnings related to failing to resolve document reference. Partial stacktrace:
2023-10-23 18:27:22,291 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.XWikiSkins] with locale [null] 2023-10-23 18:27:22,291 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.XWikiRights] with locale [null] 2023-10-23 18:27:22,292 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.WikiMacroParameterClass] with locale [null] 2023-10-23 18:27:22,292 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.Notifications.Code.NotificationEmailRendererClass] with locale [null] 2023-10-23 18:27:22,292 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.GlobalRedirect] with locale [null] 2023-10-23 18:27:22,293 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [Mail.MailConfig] with locale [null] 2023-10-23 18:27:22,293 [XWiki initialization] WARN 0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.EditModeClass] with locale [null]
Please find attached the full logs from upgrade of XWiki 13.4.7 to 15.5.3 on Tomcat 9.0.82.
The Distribution Wizard is reached and completed, however.
The issue was reproduced only on Oracle 19c (on Jetty and on Tomcat, tested also on PostgreSQL 16, MariaDB 11.1, MySQL 8.1 and HSQL 2.7.2) and it reproduces when upgrading to XWiki 14.10.17, 15.5.3 and 15.8, but not reproducing when upgrading to XWiki 14.10.16, 15.5.2 or 15.7.
Attachments
Issue Links
- is caused by
-
XWIKI-21089 AbstractDocumentsMigration memory footprint is too large
- Closed