留言板

felix.fileinstall.filename in db table configuration_

thumbnail
Jack Bakker,修改在7 年前。

felix.fileinstall.filename in db table configuration_

Liferay Master 帖子: 978 加入日期: 10-1-3 最近的帖子
I thought I'd try to copy a Liferay 7 GA3 ( host A ) to another host ( host B ), but it wouldn't start. On digging, I see that the configuration_ table has several records with values in the 'dictionary' column which references the liferay.home of host A. Below is an example of such a record.

felix.fileinstall.filename="file:/home/jbakker/lr7/iable70ce/liferay-ce-portal-7.0-ga3/osgi/configs/com.liferay.portal.security.auth.verifier.basic.auth.header.module.configuration.BasicAuthHeaderAuthVerifierConfiguration-default.cfg"

Is this expected ?

(I do have liferay.home set to the new home on host B )
thumbnail
Olaf Kock,修改在7 年前。

RE: felix.fileinstall.filename in db table configuration_

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Jack Bakker:
Is this expected ?


I am aware that ${liferay.home} is persisted to the database somewhere - and this seems to be it. Since I'm aware of it, I expect it. I feel that it's unnecessary and unfortunate and would recommend an issue. If nothing else, it should refer to ${liferay.home} to make it easier to migrate, run a backup/restore test and relocate the installation. You'd have my vote if you filed it and let me know.
thumbnail
Jack Bakker,修改在7 年前。

RE: felix.fileinstall.filename in db table configuration_

Liferay Master 帖子: 978 加入日期: 10-1-3 最近的帖子
Thanks Olaf, as one might have anticipated, I created LPS-69221
thumbnail
Jack Bakker,修改在7 年前。

RE: felix.fileinstall.filename in db table configuration_

Liferay Master 帖子: 978 加入日期: 10-1-3 最近的帖子
And, on further investigation:

Yes, there are explicit references to liferay.home in the table configuration_ as mentioned. However, to get liferay to start at a new path on host B, I had to create a symbolic link from

/home/jbakker/iable70ce/liferay-ce-portal-7.0-ga3/osgi/marketplace
to
/opt/liferay-ce-portal-7.0-ga3/osgi/marketplace

and after that the portal would start at the new path on the new host