Forums de discussion

Migration from liferay 6.0 EE to DXP

thumbnail
Narsingh Pal, modifié il y a 7 années.

Migration from liferay 6.0 EE to DXP

Junior Member Publications: 53 Date d'inscription: 18/01/14 Publications récentes
Dear friends,

Wanted to know the strategy for migration from liferay 6.0EE to DXP (Data as well as code/plugins)
Do we have to migrate to from 6.0EE to 6.2EE first, and then to DXP ?
OR
Can we migrate from 6.0EE to DXP directly ?

Any pointers/steps would be of great help.

Many thanks in advance!!


Regards
Narsingh Pal
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: Migration from liferay 6.0 EE to DXP

Liferay Legend Publications: 14916 Date d'inscription: 02/09/06 Publications récentes
You can't go to 7 straight from 6.0.

I would take two paths - the first is just upgrading your db and data directories to 6.2, then to 7.0. The intermediary stop shouldn't be too much of a pain, just take care to do all necessary data cleanup for your 6.0 -> 6.2 step as well as the 6.2 -> 7.0 step. This means backing up your DB & data directory so you can roll back, fix problems and try upgrade again, repeating until you get a clean upgrade.

The code will take a different path. 6.x themes need to be rewritten for 7 anyway, so just peel that one off and pursue the rewrite separately.

The other plugins all face significant changes to migrate to 6.1 and 6.2 and 7.0. With so many changes involved, you may or may not find it easier to just rewrite them for 7.0 right off the bat. It's hard to say not knowing what you've done with your 6.0 code to know which is better.

A word going forward - don't let yourself get so far behind Liferay releases. With each release liferay usually has some sort of plan for going from the last version to the next, but as you can see you're now looking at possibly four hops to get this done or bypassing to get to the latest version. When you keep up with Liferay releases, the upgrade steps are much easier to handle.
thumbnail
Narsingh Pal, modifié il y a 7 années.

RE: Migration from liferay 6.0 EE to DXP (Réponse)

Junior Member Publications: 53 Date d'inscription: 18/01/14 Publications récentes
Thanks David !!
thumbnail
Alberto Chaparro, modifié il y a 7 années.

RE: Migration from liferay 6.0 EE to DXP

Liferay Master Publications: 549 Date d'inscription: 25/04/11 Publications récentes
Hey Narsingh,

David is true with the advices but I would like to point out that we can upgrade to DXP release directly from Liferay 6.0.12 or higher as we say in the documentation:
https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/upgrading-to-liferay-7

Best regards.