upgrade from 7.1.3 to 7.4

Olaf Kock, modified 2 Years ago. New Member Posts: 13 Join Date: 11/21/23 Recent Posts

Hi everyone,

I'm using the liferay-ce-portal-7.1.3-ga4 version and I would like to switch to the latest liferay-ce-portal-7.4.3.106-ga106 version.
what should I do?
Is it enough to download the new version, point to the old db and redeploy the portlets??

Thank you,
Francesco

thumbnail
Olaf Kock, modified 2 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

At a minimum, you'll have to run the database upgrade tool, and most likely adapt to changed APIs in your portlets. Here are all the steps that you should take.

(Most likely the steps also include an upgrade to your database as well, because the odds are that the newer version requires a newer database (and/or elasticsearch) as well)

Jamie Sammons, modified 2 Years ago. New Member Posts: 13 Join Date: 11/21/23 Recent Posts

Hi, thanks for your reply,
I ran the database upgrade tool, but when I start the server I get this exception:

java.lang.IllegalStateException: Unable to get default company ID

I also inserted the value for company.default.web.id into the portal-ext file as reported in the webId field of the company table, but it doesn't work.
some idea?
Thank you
F


 

Jamie Sammons, modified 2 Years ago. New Member Posts: 13 Join Date: 11/21/23 Recent Posts

Fixed!

I removed the portal-wizard file and now the server is up and running.

Probably some values were in conflict