How can I upgrade Typo3 4.2.6? - typo3

I have a Typo3 4.2.6 Version running.
To which version should I upgrade? (Can I upragde to 6.x?)
How should I do the upgrade?

You should upgrade to 4.5 in an first step. The Version 4.5 is a LTS (Long Term Support) Version, the end of maintenance is in 3/2015 (see https://typo3.org/download/). I would not recommend to update to 6.0 now. Many extensions are not yet compatible and they changed a lot. At least the end of maintenence is the same as with 4.5.

I would suggest it to be upgraded to the latest version of typo3 4.7. Upgrading the site to typo3 6.x won't be a good choice as there's exists lot of open issues in typo3 forums regarding the upgrade to typo3 6.x. Most of the extensions in typo3 4.x won't work smoothly in typo3 6.x. So I suggest an upgrade to the lastest version typo3 4.7.
For typo3 4.6 onwards need PHP 5.3 otherwise you can upgrade to 4.5.x.
How to upgrade typo3?
Check this link: https://sankartypo3.wordpress.com/2012/05/17/how-to-upgrade-typo3-version/
I've once successfully upgraded typo3 4.2 to 4.7 in a step by step way (4.2 to 4.4, 4.4 to 4.5 and 4.5 to 4.7). The issues after typo3 upgrade were solved using methods mentioned under "Some simple ways to find out the errors/issues after upgrading typo3!" in the above link.

Migration
STEP FOR UPGRADING TO 6.2
1)take a backup of old site (Dont forget to take backup of Database)
2)check if any extension installed globally make it local means (remove extension from /typo3/ext/ and install from TYPO3 TER which stored in folder /typo3conf/ext/ )
3)upload folder "typo3" of newly downloaded TYPO3 version
4)create folder "typo3_src" in root
5)remove "t3lib" folder
6)upload index.php from root folder
7)go to typo3 BE, go to install tool
8)click on "System environment" and check if there is no error. if error exists solve the error.
9)click on "Folder structure" and try to solve as much error as you can.
10)click on "Upgrade Wizard"
11)perform all update wizard Section like
"Migrate all file relations from tt_content.image and pages.media"
"Migrate all file links of RTE-enabled fields to FAL" etc...
12)click on Link "Go to Database Analyzer" at the end of "Upgrade Wizard" page.
or
click on "Important actions"
13)Go to "Database analyzer" section and click on "Compare current database with specification"
14)perform execution in section "Database analyzer"
15)Click on "All configuration" and Go to "$TYPO3_CONF_VARS['SYS']" and change the value of "[SYS][compat_version]" to 6.2
16) perform "Clear all cache" from "Important actions"

I upgraded from TYPO3 4.1 to 6.1 using this procedure:
Export all the content to .t3d. (If too large, make it in chunks)
install 6.1 and all your plugins. (This ensures the DB has all needed tables).
Copy the old fileadmin/ content into the 6.x fileadmin/
Import .t3d
Fix plugins problems, i.e. deprecated functions etc.
It is wise to try it first in your Windows local machine.

Related

Updated Typo3 news extension, now "News Administration" displays an error ...LinkButton" is not valid

I have recently updated the news extension for my Typo3 installation. Now, if I click on the button "News Administration" on the left panel and then on the folder with my news, I get an error:
Button "TYPO3\CMS\Backend\Template\Components\Buttons\LinkButton" is not valid
The provided link shows it's the TYPO3 exception 1441706370.
I am running an old Typo3 version (7.6.19.) which I wanted to update. But I thought it'd be wise to first update all extensions before updating Typo3 (and PHP and MySQL..).
PHP 7.4.33
MySQL 5.7.38
What is now the smartest way to go on? I want to ensure that my system will run later with the newest versions without any data loss on the way.
I checked the documentation and the changelog of the news extension. But I did not find a hint on what to do yet.
if you planned to upgrade to the latest version greater than 7.x then you better ignore this. just focus on upgrade wizards that you don't miss any upgrade wizard provided by some extensions to upgrade from one version of TYPO3 to another version.

Upgrading TYPO3 to v8 LTS via the BE?

I want to update my TYPO3 8.7.8 to the v8 LTS, but i can't seem to find any way to do this via the Backend. Do i need to manually install the new version as a fresh installation?
You don't need to add TYPO3 Source manually if you have create symlinks in your typo3 installation and already running with TYPO3 Version 8.7.x.
If your TYPO3 Version running in 6.2.x Then First you need to upgrade TYPO3 Version 7.6 and after TYPO3 8.7. You can't upgrading Directly version 8.7 if your systems is running in 6.2.x.
Just you need to follow below steps.
Login TYPO3 BE and Go To Install Tool.
In Important actions you see the Check for core updates button. click on this, Here you can find latest TYPO3 version.
After download latest TYPO3 Version. Click on Compare current database with specification and update typo3 core Database.
After compare DB Go to Upgrade Wizard and perform all required steps.
Note: When performs all above steps first you need to take a backup of your database. So, in case of any problems then you can restore old DB.
Follow the upgrade guide in the docs
https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/Index.html

Starting with TYPO3 8.6

I'm quite beginner with TYPO3 and I have to migrate web from TYPO3 4.7 to TYPO3 8.6. I started with reading manuals and trying to create for example "provider extension" but it doesn't work. I also read that there are many changes in version 8.x so I can't follow fluid manuals which are for older versions.
Can you please give me an advice how to start? or any step-by-step manual?
Thank you
The basic concept of TYPO3 remains the same, even between LTS versions. There are mostly small changes in the area of basic TYPO3 usage.
I recommend you to go through the basic tutorials using TYPO3 8.7 (the current LTS version), even they are not yet updated for it:
https://docs.typo3.org/typo3cms/Tutorials.html
In case you also want to start to develop extensions, I recommend to read: https://docs.typo3.org/typo3cms/Books/Index.html
Last but not least you mentioned you would like to upgrade from 4.7 to 8 LTS. This has to be done over the LTS versions, so you have to go from 4.7 to 6.2 to 7.6 to 8.7. For this I recommend you to read:
https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/Index.html
Please be aware that there were a lot of extension which worked in 4.7, but do not have a new version or a successor with a migration path.
From what I've heard you can't upgrade from 1 version to another at once. First you have to upgrade to 5, then 6 then 7 then 8.
So download extentions for that version, run migration and database analyser each time. At the end you could still have some errors ( I usually do... ) so you'll want to fix those manually or replace the broken extentions..
Pro Tip:
If you're working on Linux (which I would recommend) than you could download each Typo3 version into a folder and create a symlink to the Typo3 installation itself.
ln -s /var/www/symlinks/latest_76 typo3_src; ln -s typo3_src/index.php; ln -s typo3_src/typo3;
So in the symlinks folder I have the Typo3 installations (downloaded from their website) and renamed verison 7 to latest_76. You just run that command inside/var/www/websites/yourwebsite
Once 1 migration is done just delete the symlink and create a new one for the next version.

How to downgrade typo3 7.4.0 to 6.2.15

What are the steps to downgrade a typo3 site and is this even possible?
I cannot get a few plugins to work on my 7.4 typo site so I decided to downgrade but I cannot find anything about it on typo forums or in the documentation. Are there any steps I can follow if this is possible.
Before upgrading your website you should always backup your data and avoid downgrading at any time.
Compatibility mode for TYPO3 6.x
The system extension compatibility6 is shipped with TYPO3 7, have you tried installing this extension already?
See also: Retaining compatibility to TYPO3 CMS 6
Downgrading from 7.x back to 6.2
There is no such thing as a documentation with downgrade instructions. But if you have no other option than you can try the following:
Before running TYPO3 again:
Backup your data
Remove the TYPO3 7 core as well the composer.json (and /vendor/ directory), .htaccess and index.php file from your website.
Remove the content of /typo3temp/, /fileadmin/_processed/ and /fileadmin/_temp_/.
uninstall all TYPO3 7 related (system) extensions by setting the state to inactive in the /typo3conf/PackagesStates.php file.
Uninstall or downgrade all extensions which are only compatible with TYPO3 7.x.
Set manual the ['SYS']['compat_version'] in /typo3conf/LocalConfiguration.php to '6.0' (we let TYPO3 think that we are uograding from 6.0. Please note that TYPO3 7 doesn't have this option anymore and you need to create it yourself.
Remove all array items from the array ['INSTALL']['wizardDone'] in /typo3conf/PackagesStates.php.
Set manual options such as ['FE']['activateContentAdapter'] back if needed.
Put the TYPO3 6.2 core back in it's place.
Now you're allowed to run TYPO3 again:
Log in on the install tool by accessing /typo3/install/.
Run the database compare but please don't remove fields or tables that belongs to extensions which you have temporary disabled for downgrading purposes.
Clear all caches from the install tool.
Run al steps from the upgrade wizard.
Reactivate disabled extensions (manually).
Check if the ['SYS']['compat_version'] is set to '6.2'.
Test your TYPO3 instance as good as you can.
Arek van Schaijk solution worked to downgrade 8.7 to 7.6. But a couple of additional changes might require.
in the file
typo3/sysext/core/Configuration/DefaultConfiguration.php
change fileCreateMask from 0664 to 0660
change folderCreateMask from 2775 to 2770
Symbolic links can be rectified with this solution.

TYPO3 tt_news update script shows empty page

After updating my TYPO3 CMS from 4.3 to 4.5 LTS the news were no longer displayed. So i decided to update tt_news extension as well. It was at version 2.5.2 and had to be upgraded to the newest 3.4.0. It suggested to me, to use its own 'update script' (and as mentioned at other resources too) to work properly because of serious changes. Under 'Extentension Manager' - 'tt_news' - 'UPDATE!' it shows up with a simple blank page and nothing can be done.
Is there any hint to solve this?
You have got some PHP error. Copy the /var/log/apache2/error.log or enable in TYPO3 Install Tool configuration PHP errors.