Foren

Server migration (Just Linux to Windows) problem

Etienne Roy, geändert vor 7 Jahren.

Server migration (Just Linux to Windows) problem

Regular Member Beiträge: 114 Beitrittsdatum: 08.08.13 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Server migration (Just Linux to Windows) problem

Expert Beiträge: 301 Beitrittsdatum: 05.09.14 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Server migration (Just Linux to Windows) problem

Regular Member Beiträge: 114 Beitrittsdatum: 08.08.13 Neueste Beiträge
Hi Jamie

Yes this is the solution

Thank
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: Server migration (Just Linux to Windows) problem

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
A (if not the) reason for this is that annoyingly ${liferay.home} gets persisted there, not only in some properties file.