Compatibility of typo3-content between version 6.1.5 and 7.6 - typo3

we are going to upgrade our typo3-instance from version 6.1.5 to 7.6. Since we need to clone the instance and afterwards upgrade it in two steps (6.1.5 -> 6.2, 6.2 -> 7.6) we wonder if it was easier to setup a clean 7.6 instance and migrate the data (templates, sites, binaries etc.) afterwards.
There are multiple instruction pages on the web describing how to upgrade to 6.2 and to 7.6 but it seems to be a really tricky process.
So I'd like to know if the t3d data is compatible between those versions. Can we export the data from 6.1.5 and import it to 7.6 without troubles?
What do you think of the approach?
Thanks,
Thomas

So I'd like to know if the t3d data is compatible between those versions. Can we export the data from 6.1.5 and import it to 7.6 without troubles?
Most likely this process will not go without troubles.
Best advice I can give, is to upgrade to 6.2, do the upgrade wizards in the install tool. After that upgrade to 7.6 and do the upgrade wizards in the install tool again (those will be different ones).
Your content should now be fine.
You can keep incompatible extensions uninstalled during this process as it is merely targeting content migration. Don't bother with extension code while doing this. Just the core and your content is enough to provide a working content structure for 7 LTS. Migrate the extensions afterwards.

I prefer the upgrade way to do it, because the t3d export / import thing may work, but may cause some troubles too, especially if this is a bigger site.
If you update the extensions on your 6.2 site to current versions, fix the namespaces and deprecation log entries in your individual extensions, the 6.2. => 7.6 upgrade should be quite smooth. In my experience it is much more convenient than a 4.5 => 6.2 upgrade.

Related

Typo3 Database update from typo3 v7.6 to typo3 v11.53

I want to update typo3 v7.6 to v11.5.3. I copied the files from the latest version to the old installation. The files are updates but I am facing database issues. The DB structure of v11.5.3 is different from v7.6. I need to migrate my data from v7.6 database to v11.53 database. Is there any way I can do it?
The core does only ship migrations for 2 major versions. Therefore you need to switch 1st to version 9 and do all the upgrade steps there and after that you can update to 11 and do the update wizards of 10+11.
All upgrade wizards can either be run via cli or via Install Tool.
Additional code migrations can easily done by using tools like rector
I personally don't care if the the frontend works in the intermediate versions and fix that at the end but as 7.6. is really old (and the used code could even be outdated in those old times) it will take a bit of manual work.

How to Upgrade TYPO3 7.6.x to 8.x.0

What are the required steps to upgrade TYPO3 7.6.x to 8.X?. Currently My project running on TYPO3 7.6.15 and linux systems.
The only requirement that changes when you update from TYPO3 7 LTS to TYPO3 8 LTS ist the PHP version.
TYPO3 8 LTS requires at least PHP 7.0.
So first of all you need a local environment and a server with PHP 7.0 or 7.1. Then make a copy of your project (keep the original as a backup and a reference) and check all extensions. You want to know a) if you still need them and b) if they are already available for TYPO3 8LTS. If they are, you are fine, if they are not, you have to find an alternative, disable the extension (temporarily) or just wait with the update.
You then update the core and the extensions to the latest releases and go to the install tool. First you want to compare the DB structure to add new fields and tables (don't remove anything yet). After that go to the Upgrade Wizards and perform all of them that are not marked as "optional". Perform the optionals as you need them.
Now your backend should work if no extension breaks it. Your next steps are testing the functionalities that are provided by your extensions and make sure they still work. You might also want to have a look at the breaking changes of the TYPO3 core since 7 LTS to see if your system might be affected. Those can also be found in the install tool (Upgrade Analysis) and they usually have a migration documented.
You can find additional advice regarding updates of TYPO3 systems here: https://usetypo3.com/upgrading-projects.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 upgrade typo3 7.6.0 to typo3 7.6.1?

there is an upgrade to version 7.6.1.
We fixed a lot of bugs Version 7.6.0
in install toll, Upgrade Wizard :
No updates to perform!
That update is a patch level update, they usually don't require any upgrade wizards (there are exceptions, check the release notes).
To do the update, just replace the old TYPO3 core with the new one (easy thing when using symlinks), and then clear all caches from the install tool. If you are using symlinks to include the core, the install tool can do this for you. There is a button for it.
If you have modified the TYPO3 core, those changes will be lost. Better provide the fixes to the TYPO3 community, the various contribution walkthrough tuturials give you details.

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.