Upgrade from Contao 2 > 3
Hi,
I'm just wondering has anybody successfully upgraded a Contao 2 site up to Contao 3?
I've tried this a couple of times now and both times the sites have broken. We're looking to upgrade a few of our client's site before the end of the year, some of them with a lot of content so we don't really want to start from scratch.
At the moment I'm trying to upgrade a site from 2.10.2 to 3.1.3. The last step on the upgrade never completed, I think it was something like 'Restore DB'. Now in the frontend I just have a blank page, no PHP or server errors.
If anyone has any tips or experience with an upgrade from 2 to 3 I would be interested to hear how it went and what you did, if anything, to get it working.
Thanks,
Jamie
Re: Upgrade from Contao 2 > 3
I've done several updates from 2.11 to 3.1. Are you working with the live update or manualy?
If you wish I could try an update of your page in a mirror and write down the required steps. As I saw there seems to be no update instructions for english user. Here's the manual for germans https://contao.org/de/news/update-auf-contao-3.html
Some hints:
check that required extension are compatible
some not compatible extension may run after you do the autoload-creator you find in BE
don't rename tl_files to files till the end.
After the update use this script, to change file pathes in the DB https://gist.github.com/leofeyer/3304014
put this into localconfig.php
Code:
$GLOBALS['TL_CONFIG']['bypassCache'] = true;
$GLOBALS['TL_CONFIG']['coreOnlyMode'] = true;
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
Put a .skip file in extension folders you like to deactivate