[TASK] Add extra info to description in SysRefindexHashUpdater 82/52382/4
authorThomas Hohn <thomas@hohn.dk>
Fri, 7 Apr 2017 08:57:18 +0000 (10:57 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 10 Apr 2017 21:05:33 +0000 (23:05 +0200)
Installations having a large sys_refindex should perform the
update of the hash from the command line instead of using the
"Upgrade Wizard" since it will fail due to excessive memory
and time usage.

Resolves: #80743
Related: #80734
Releases: master
Change-Id: I70c1e5e5c35a1603c4a7d088e87eabe320465d9e
Reviewed-on: https://review.typo3.org/52382
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Elmar Hinz <t3elmar@gmail.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/install/Classes/Updates/SysRefindexHashUpdater.php

index 35edf65..dc59bca 100644 (file)
@@ -71,7 +71,10 @@ class SysRefindexHashUpdater extends AbstractUpdate
         }
 
         $description = 'The hash calculation for records within the table sys_refindex was changed'
-            . ' to exclude the sorting field. The records need to be updated with a newly calculated hash.';
+            . ' to exclude the sorting field. The records need to be updated with a newly calculated hash.<br />'
+            . '<b>Important:</b> If this online migration times out you can perform an offline update using the'
+            . ' command-line instead of the wizard, by executing the following command: '
+            . '<code>TYPO3_PATH_ROOT=$PWD/web vendor/bin/typo3 referenceindex:update</code>';
 
         $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('sys_refindex');