掲示板

Server migration (Just Linux to Windows) problem

7年前 に Etienne Roy によって更新されました。

Server migration (Just Linux to Windows) problem

Regular Member 投稿: 114 参加年月日: 13/08/08 最新の投稿
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
7年前 に Jamie Sammons によって更新されました。

RE: Server migration (Just Linux to Windows) problem

Expert 投稿: 301 参加年月日: 14/09/05 最新の投稿
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
7年前 に Etienne Roy によって更新されました。

RE: Server migration (Just Linux to Windows) problem

Regular Member 投稿: 114 参加年月日: 13/08/08 最新の投稿
Hi Jamie

Yes this is the solution

Thank
thumbnail
7年前 に Olaf Kock によって更新されました。

RE: Server migration (Just Linux to Windows) problem

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
A (if not the) reason for this is that annoyingly ${liferay.home} gets persisted there, not only in some properties file.