|
@@ -1,7 +1,10 @@
|
|
|
|
|
|
|
|
|
|
+## Upgrade docker
|
|
|
|
|
|
|
|
php composer.phar update
|
|
php composer.phar update
|
|
|
./vendor/bin/typo3 referenceindex:update
|
|
./vendor/bin/typo3 referenceindex:update
|
|
|
|
|
+> errors
|
|
|
|
|
+
|
|
|
rm public/typo3conf/ext/ot_admin
|
|
rm public/typo3conf/ext/ot_admin
|
|
|
rm public/typo3conf/ext/ot_connect
|
|
rm public/typo3conf/ext/ot_connect
|
|
|
rm public/typo3conf/ext/ot_core
|
|
rm public/typo3conf/ext/ot_core
|
|
@@ -98,3 +101,44 @@ Backend is not working anymore, I access to the typo3 install page, and run a db
|
|
|
I create the new tables
|
|
I create the new tables
|
|
|
|
|
|
|
|
BE is back to life
|
|
BE is back to life
|
|
|
|
|
+Everything seems to be fine, except for the perfs.
|
|
|
|
|
+Make it work, then make it fast...
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+## Upgrade sur preprod
|
|
|
|
|
+
|
|
|
|
|
+cd /var/opentalent/git/ot_typo3
|
|
|
|
|
+git pull
|
|
|
|
|
+git checkout typo10_migration
|
|
|
|
|
+cd /var/www/typo3
|
|
|
|
|
+rm composer.json
|
|
|
|
|
+nano composer.json >> I copy paste the content of docker/typo3/composer.json
|
|
|
|
|
+php7.4 composer.phar self-update --2
|
|
|
|
|
+php7.4 composer.phar update
|
|
|
|
|
+
|
|
|
|
|
+(en root) chown exploitation:www-data public/typo3conf/AdditionalConfiguration.php
|
|
|
|
|
+
|
|
|
|
|
+I add these lines to AdditionalConfiguration.php
|
|
|
|
|
+
|
|
|
|
|
+ foreach ($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'] as $cacheName => $cacheConfiguration) {
|
|
|
|
|
+ $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][$cacheName]['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+./vendor/bin/typo3 upgrade:run databaseRowsUpdateWizard
|
|
|
|
|
+touch public/typo3conf/ENABLE_INSTALL_TOOL
|
|
|
|
|
+
|
|
|
|
|
+I access to https://preprod.opentalent.fr/typo3/install.php
|
|
|
|
|
+
|
|
|
|
|
+db analysis -> alter fields
|
|
|
|
|
+
|
|
|
|
|
+I remove the lines added to AdditionalConfiguration
|
|
|
|
|
+
|
|
|
|
|
+db analysis -> add tables
|
|
|
|
|
+languages -> update all
|
|
|
|
|
+reset be users prefs
|
|
|
|
|
+
|
|
|
|
|
+./vendor/bin/typo3 referenceindex:update
|
|
|
|
|
+
|
|
|
|
|
+> plan for 20min
|
|
|
|
|
+
|
|
|
|
|
+
|