Message Boards

Upgrading from 7.1 to 7.3

thumbnail
Fredi B, modified 3 Years ago.

Upgrading from 7.1 to 7.3

Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
Hello Liferay-Community,

Well, here's the problem: After applying three security patches we were asked to upgrade from Liferay CE 7.1 version to Liferay 7.3. CE.

What is the best procedure?
In my dreams I am thinking about setting up a fresh Liferay 7.3 CE server and deploy all modules there.
Some might need work, some might need a rebuild and some will just work out of the box.But what is with all the data?
Can we just do a SQL-Export of the old DB and import this Export in the new DB?
That's the point when I wake up and might face reality.

So I guess I will need to use the Upgrade-Tool in Liferay IDE. But will this Upgrade-Tool guide me through and also remove unnecessary security-patches?How can I be really sure, that I have a secure installation of Liferay in the version I was aiming for?
Maybe anyone of you, that did a similar upgrade maybe in the near past, can give me some insights how my days of upgrading will look like and prevent me from the biggest failure that me - who had never done an upgrade before - might do. 

Cheers,
Fredi.
thumbnail
Olaf Kock, modified 3 Years ago.

RE: Upgrading from 7.1 to 7.3

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
Fredi B:


So I guess I will need to use the Upgrade-Tool in Liferay IDE. But will this Upgrade-Tool guide me through and also remove unnecessary security-patches?How can I be really sure, that I have a secure installation of Liferay in the version I was aiming for?
Maybe anyone of you, that did a similar upgrade maybe in the near past, can give me some insights how my days of upgrading will look like and prevent me from the biggest failure that me - who had never done an upgrade before - might do.

There is an upgrade tool that comes with 7.3, and there's one in IDE. Both serve different purposes:
The upgrade tool that comes with the regular download will look at the DB and upgrade it to the required structure for 7.3 - this is what you need for bringing your old data along. For the database upgrade, I typically mandate to do this on a restored backup, never on the live system: This has the neat side effect that you're testing if your backup actually is what you need to restore a new system.
The upgrade tool in IDE will help you port your (own) plugins to new APIs, e.g. if packages were changed/renamed. This one is optional, as you could also do the task manually (though with more effort).