How to downgrade typo3 7.4.0 to 6.2.15 - typo3

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.

Related

Error while upgrading from TYPO3 4 to TYPO3 4.5

I need to update my TYPO3 4 to 4.5.
I installed 4.5 and symlinked to the new source. The problem is that I can't get into TYPO3 4.5 install tool using localhost/typo3/install. It shows "page isn't working".
How do I get into TYPO3 4.5 install tool?
Page isn't working is a default error message when a site returns a 500 error. You'll need to check your error log to see whet the error actually is.
Also TYPO3 4.5 is old, not maintained anymore and not secure. You should not use it. Please update to at least 7.6.
In the folder typo3conf are some files like:
temp_CACHED_ps12c3_ext_localconf.php
temp_CACHED_ps12c3_ext_tables.php
The bold part might probably different but those files you can delete and then try again.
Also make sure that you meet the requirements concerning PHP-version and MySQL-version.
The deleted files will be created new, so you aren't deleting unique information, but the new files differ a bit.
The main issue can be the PHP version. I am running Typo3 4.5 successfully on PHP 5.3. However it will not run on higher PHP version. However, if the update is done on the same server, then PHP version issue might not be applicable.
The exact error detail will come up in the PHP error_log. Make sure that error logging is enabled in the PHP.ini setting.

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

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.