Foren
Migrating Liferay 7.0 GA3 to GA4
Ronak Kothari, geändert vor 6 Jahren.
Migrating Liferay 7.0 GA3 to GA4
New Member Beiträge: 7 Beitrittsdatum: 31.08.17 Neueste Beiträge
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.
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, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
New Member Beiträge: 7 Beitrittsdatum: 31.08.17 Neueste Beiträge
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)
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)
Alberto Chaparro, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
Liferay Master Beiträge: 549 Beitrittsdatum: 25.04.11 Neueste Beiträge
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
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, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
New Member Beiträge: 7 Beitrittsdatum: 31.08.17 Neueste Beiträge
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?
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?
Alberto Chaparro, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
Liferay Master Beiträge: 549 Beitrittsdatum: 25.04.11 Neueste Beiträge
Hi Ronak,
Import a LAR between different Liferay versions is not supported.
Best regards.
Import a LAR between different Liferay versions is not supported.
Best regards.
Ronak Kothari, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
New Member Beiträge: 7 Beitrittsdatum: 31.08.17 Neueste Beiträge
Hi Alberto,
I understand that its not supported. What I want to ask is that what are the other ways to achieve this?
Thanks
I understand that its not supported. What I want to ask is that what are the other ways to achieve this?
Thanks
Jorge Díaz, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
Liferay Master Beiträge: 753 Beitrittsdatum: 09.01.14 Neueste Beiträge
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
Alberto Chaparro, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
Liferay Master Beiträge: 549 Beitrittsdatum: 25.04.11 Neueste Beiträge
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.
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, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
New Member Beiträge: 7 Beitrittsdatum: 31.08.17 Neueste Beiträge
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.
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.
Alberto Chaparro, geändert vor 6 Jahren.
RE: Migrating Liferay 7.0 GA3 to GA4
Liferay Master Beiträge: 549 Beitrittsdatum: 25.04.11 Neueste Beiträge
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.
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.