Resolved some issues during the upgrade, first successful upgrade
authorAlexander Ebert <ebert@woltlab.com>
Sat, 29 Aug 2020 21:37:42 +0000 (23:37 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 29 Aug 2020 21:37:42 +0000 (23:37 +0200)
com.woltlab.wcf/files_pre.tar
com.woltlab.wcf/package.xml

index 87e6a520ae2dd64c63bf1405fc4b3a6709e80763..7d79221d99332885d3a9472db18efb9bf5ca0ea7 100644 (file)
Binary files a/com.woltlab.wcf/files_pre.tar and b/com.woltlab.wcf/files_pre.tar differ
index 42a73de5d939b954f48ef2747efd8065b5b5a92b..f3ea210b9766b6c70e0d86914ff21c28815f2d0e 100644 (file)
                     Guzzle can not be found during the development of the regular file PIP. -->
                <instruction type="file" run="standalone">files_pre.tar</instruction>
                
+               <!-- Deploy the database changes as early as possible to avoid any conflicts by calls to
+                    tables that do not exist in 5.2, in particular `wcfN_devtools_missing_language_item`.-->
+               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.3.php</instruction>
+               
                <instruction type="file" />
                <instruction type="acpTemplate" />
                <instruction type="template" />
                
                <instruction type="option" run="standalone" />
                
-               <instruction type="script">acp/update_com.woltlab.wcf_5.3.php</instruction>
-               <instruction type="script">acp/update_com.woltlab.wcf_5.3_invalidateMailForm.php</instruction>
-               <instruction type="sql">update_5.3.sql</instruction>
-               
                <instruction type="acpMenu" />
                <instruction type="clipboardAction" />
                <instruction type="mediaProvider" />
                <instruction type="userMenu" />
                <instruction type="page" />
                
+               <!-- TODO: Verify that this step is idempotent! -->
                <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.3_style.php</instruction>
+               
                <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.3_emailConfirmation.php</instruction>
                
+               <!-- The internal data structure of sitemaps have been modified, this script must be run before
+                    the `objectType` pip to prevent any data corruption. -->
+               <instruction type="script">acp/update_com.woltlab.wcf_5.3_sitemaps.php</instruction>
+               
                <instruction type="objectTypeDefinition" />
                <instruction type="objectType" />
-               <instruction type="script">acp/update_com.woltlab.wcf_5.3_sitemaps.php</instruction>
                
                <instruction type="userNotificationEvent" />
                <instruction type="userOption" />
                <instruction type="style" run="standalone">defaultStyle.tar</instruction>
                
                <instruction type="language" />
+               
+               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.3_invalidateMailForm.php</instruction>
+               
+               <!-- This SQL step purges the legacy package servers, this must come last to make sure that an early
+                    abort of the core upgrade does not brick the installation. -->
+               <instruction type="sql">update_5.3.sql</instruction>
        </instructions>
 </package>