Typo3 LTS Upgrade
Aus Vosp.info
Inhaltsverzeichnis
- 1 typo3 6.2 nach 7.6
- 1.1 auf dem alten Server
- 1.2 auf dem neuen Server
- 1.3 Probleme
- 1.3.1 The package "yag_theme_perfectlightbox" depends on "perfectlightbox" which is not present in the system.
- 1.3.2 Core: Error handler (FE): PHP Catchable Fatal Error: Argument 2 passed to tx_simulatestatic::hookCheckAlternativeIDMethods() must be an instance of tslib_fe, instance of TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController class.tx_simulatestatic.php line 193
- 2 typo3 4.6 nach 6.2
- 3 weiteres
typo3 6.2 nach 7.6
auf dem alten Server
Backup Machen
cat typo3conf/LocalConfiguration.php | grep "DB" -A 10
# export
mysqldump --single-transaction --default-character-set=utf8 -u _username_ -p _databasename_ > mysql.typo3.62.yyyymmdd.sql
- typo3 7.6 runter laden
- typ3 auf 76 verlinken
typo3_src -> typo3_src-7.6.32/
auf dem neuen Server
Datenbank
- Datenbank erstellen
mysql -u root -p
create database DATABASE;
create user 'USERNAME'@'localhost' identified by 'PASSWORD';
grant all on DATABASE.* to 'USERNAME'@'localhost';
FLUSH PRIVILEGES;
- Datenbank imporierten
# import
mysql -u _username_ -p _databasename_ < mysql.yyyymmdd.sql
Probleme
The package "yag_theme_perfectlightbox" depends on "perfectlightbox" which is not present in the system.
- alle extensions auf den neusten stand bringen, deinstallieren und neuinstallieren
- https://extensions.typo3.org/extension/perfectlightbox
- https://extensions.typo3.org/extension/yag
- https://extensions.typo3.org/extension/t3jquery
- https://extensions.typo3.org/extension/pt_extbase
- https://extensions.typo3.org/extension/pt_extlist
- https://extensions.typo3.org/extension/yag_theme_perfectlightbox
- yag_theme_perfectlightbox
- cat yag_theme_perfectlightbox/ext_emconf.php
'depends' =>
array (
// 'typo3' => '4.5.0-6.2.99',
'typo3' => '4.5.0',
// ....
),
Core: Error handler (FE): PHP Catchable Fatal Error: Argument 2 passed to tx_simulatestatic::hookCheckAlternativeIDMethods() must be an instance of tslib_fe, instance of TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController class.tx_simulatestatic.php line 193
install https://extensions.typo3.org/extension/compatibility6
typo3 4.6 nach 6.2
- http://wiki.typo3.org/Upgrade#Upgrading_to_6.2_Long_Term_Support
- http://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/Index.html
install backend
Komisch
gibt ne fehlermeldung im error.log .... anzeige zeigt aber positives ergebnis
[error] File does not exist: typo3temp/ExtensionCompatibilityTesterErrors.json, referer: typo3/sysext/install/Start/Install.php?install[action]=importantActions&install[context]=standalone&install[controller]=tool
Check for broken extensions
Incompatible extension found! TYPO3 CMS 6.2.10
- tt_news
- tt_address
- t3blog
inkokmpatibel aber nicht automatisch gefunden
- Media (DAM) dam
problematische Extensions
ty_seo bzw tq_seo
[error] PHP Fatal error: require_once(): Failed opening required 'typo3/interfaces/interface.backend_cacheActionsHook.php' (include_path='typo3/contrib/pear/:.:/usr/share/php:/usr/share/pear') in typo3conf/ext/tq_seo/hooks/sitemap/class.cache_controller_hook.php on line 261
- ergibt einen FATAL Error ... .sprich nur install seite funzt, backend und frontend nicht ....
- damit das backend wieder funktioniert muss in typo3conf/ext/tq_seo/hooks/sitemap/class.cache_controller_hook.php Zeile 26 das require_once auskommentiert werden!!
extensions die im nachhinein geupdated werden können
nicht unbedingt getestet!!!
- static_info_tables (update skript)
- pagebrowse
- realurl
- tq_seo (update skript)
- news
- irgendwie fehlen die Kategorien
weiteres
Dateirechte setzen
chmod 2775 ./
chmod 2775 ./typo3temp/
chmod 2775 ./typo3temp/_processed_
chmod 2775 ./typo3temp/compressor/
chmod 2775 ./typo3temp/cs
chmod 2775 ./typo3temp/GB
chmod 2775 ./typo3temp/llxml/
chmod 2775 ./typo3temp/locks/
chmod 2775 ./typo3temp/pics/
chmod 2775 ./typo3temp/sprites/
chmod 2775 ./typo3temp/temp/
chmod 2775 ./typo3conf/
chmod 2775 ./typo3conf/ext
chmod 2775 ./typo3conf/l10n/
chmod 2775 ./uploads/
chmod 2775 ./uploads/media/
chmod 2775 ./uploads/pics/
chmod 2775 ./fileadmin/
chmod 2775 ./fileadmin/_temp_/
chmod 2775 ./fileadmin/user_upload/