掲示板

Migrating Liferay 7.0 GA3 to GA4

6年前 に Ronak Kothari によって更新されました。

Migrating Liferay 7.0 GA3 to GA4

New Member 投稿: 7 参加年月日: 17/08/31 最新の投稿
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.
6年前 に Ronak Kothari によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

New Member 投稿: 7 参加年月日: 17/08/31 最新の投稿
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
6年前 に Alberto Chaparro によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
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
6年前 に Ronak Kothari によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

New Member 投稿: 7 参加年月日: 17/08/31 最新の投稿
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
6年前 に Alberto Chaparro によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
Hi Ronak,

Import a LAR between different Liferay versions is not supported.

Best regards.
6年前 に Ronak Kothari によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

New Member 投稿: 7 参加年月日: 17/08/31 最新の投稿
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
6年前 に Jorge Díaz によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master 投稿: 753 参加年月日: 14/01/09 最新の投稿
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
6年前 に Alberto Chaparro によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
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.
6年前 に Ronak Kothari によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

New Member 投稿: 7 参加年月日: 17/08/31 最新の投稿
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
6年前 に Alberto Chaparro によって更新されました。

RE: Migrating Liferay 7.0 GA3 to GA4

Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
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.