留言板

Server migration (Just Linux to Windows) problem

Etienne Roy,修改在7 年前。

Server migration (Just Linux to Windows) problem

Regular Member 帖子: 114 加入日期: 13-8-8 最近的帖子
Hi

I try to transfer Liferay 7 GA3 installed on Ubuntu 16.04 LTS with MySQL to Windows patform

Normally you juste need to copy Liferay repository on the Windows service
Restore db backup on new database name

Modify liferay.home and jdbc.default.url properties in portal-setup-wizard.properties file

Before start, I flush files in
[liferay root]/logs
[liferay root]/tomcat-8.0.32/logs
[liferay root]/tomcat-8.0.32/temp

Eatch time liferay dont want to start correctly

First time I receive this message

Java.nio.file.FileSystemNotFoundException: \opt\liferay\osgi\marketplace\Liferay CE Collaboration.lpkg

Where Liferay take this repository "\opt\liferay" because I change for c:/... in properties file

Thank for your help
thumbnail
Jamie Sammons,修改在7 年前。

RE: Server migration (Just Linux to Windows) problem

Expert 帖子: 297 加入日期: 14-9-5 最近的帖子
Hi
Try removing osgi/state and see if that helps. I believe some path info gets stored there which could explain the issue you are seeing
-Jamie
Etienne Roy,修改在7 年前。

RE: Server migration (Just Linux to Windows) problem

Regular Member 帖子: 114 加入日期: 13-8-8 最近的帖子
Hi Jamie

Yes this is the solution

Thank
thumbnail
Olaf Kock,修改在7 年前。

RE: Server migration (Just Linux to Windows) problem

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
A (if not the) reason for this is that annoyingly ${liferay.home} gets persisted there, not only in some properties file.