Fórum

Migrating Liferay 7.0 GA3 to GA4

Ronak Kothari, modificado 6 Anos atrás.

Migrating Liferay 7.0 GA3 to GA4

New Member Postagens: 7 Data de Entrada: 31/08/17 Postagens Recentes
I am currently using Liferay 7.0 GA3 (with tomcat) for my application. I am planning to migrate to version GA4.
For this, I have tried all possible steps and solutions and followed all processes that I could find online but none of them worked.
Please help me out in migrating to the latest version.
Thanks.
Ronak Kothari, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

New Member Postagens: 7 Data de Entrada: 31/08/17 Postagens Recentes
I have updated the DB properties.
Now when I run the update jar and provide all tomcat paths, it gives:

Error running upgrade
java.nio.file.InvalidPathException: Illegal char <:> at index 101: C:\Users\ronak.kothari\liferay-ce-portal-to
mcat-7.0-ga4\liferay-ce-portal-7.0-ga4\tomcat-8.0.32\bin\C:\Users\ronak.kothari\liferay-ce-portal-tomcat-7.0-g
a4\liferay-ce-portal-7.0-ga4\tomcat-8.0.32\bin
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at java.io.File.toPath(Unknown Source)
at com.liferay.portal.tools.db.upgrade.client.UpgradeClient._getRelativeFileNames(UpgradeClient.java:3
41)
at com.liferay.portal.tools.db.upgrade.client.UpgradeClient._verifyAppServerProperties(UpgradeClient.j
ava:517)
at com.liferay.portal.tools.db.upgrade.client.UpgradeClient.verifyProperties(UpgradeClient.java:239)
at com.liferay.portal.tools.db.upgrade.client.UpgradeClient.upgrade(UpgradeClient.java:148)
at com.liferay.portal.tools.db.upgrade.client.UpgradeClient.main(UpgradeClient.java:109)
thumbnail
Alberto Chaparro, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master Postagens: 549 Data de Entrada: 25/04/11 Postagens Recentes
Hi Ronak,

It seems that you haven't defined the follwing properties properly in app-server.properties:
- dir
- extra.lib.dirs

I guess they should be like this in your case:
dir= C:\Users\ronak.kothari\liferay-ce-portal-tomcat-7.0-ga4\liferay-ce-portal-7.0-ga4\tomcat-8.0.32
extra.lib.dirs=\bin
Ronak Kothari, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

New Member Postagens: 7 Data de Entrada: 31/08/17 Postagens Recentes
Hi Alberto,
Thanks a lot for your help.
I successfully upgraded my version.
But still when i try to import the .lar file on my GA4 version (lar exported from vGA3), its not getting uploaded. Is there any other way to achieve the same?
thumbnail
Alberto Chaparro, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master Postagens: 549 Data de Entrada: 25/04/11 Postagens Recentes
Hi Ronak,

Import a LAR between different Liferay versions is not supported.

Best regards.
Ronak Kothari, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

New Member Postagens: 7 Data de Entrada: 31/08/17 Postagens Recentes
Hi Alberto,

I understand that its not supported. What I want to ask is that what are the other ways to achieve this?

Thanks
thumbnail
Jorge Díaz, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
The only official option is to install a empty 7.0 GA3 in a local environment, import your old LAR file, upgrade the environment to 7.0 GA4 and export a LAR file with the correct version
thumbnail
Alberto Chaparro, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master Postagens: 549 Data de Entrada: 25/04/11 Postagens Recentes
Hi Ronak,

Jorge is right, but maybe it's not necessary to import any LAR. You said that your previous installation was in 7.0 GA3, if you upgraded to 7.0 GA4, all the data was already migrated, , why do you need to import a LAR now?

Regards.
Ronak Kothari, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

New Member Postagens: 7 Data de Entrada: 31/08/17 Postagens Recentes
Hi Alberto,

Most of the data is migrated but some of the files including all images are not migrated, that's why I want to import LAR.
thumbnail
Alberto Chaparro, modificado 6 Anos atrás.

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master Postagens: 549 Data de Entrada: 25/04/11 Postagens Recentes
Hi Ronak,

Everything should be migrated. Maybe you missed to set the document library file system prior to the upgrade, you need to reindex or their a bug, do you thing this could be the issue?:
https://issues.liferay.com/browse/LPS-71566

Regards.