Forums de discussion

error upgrading from Liferay tomcat bundle 6.2 to 7.0

thumbnail
Philippe Thibault, modifié il y a 7 années.

error upgrading from Liferay tomcat bundle 6.2 to 7.0

Junior Member Publications: 46 Date d'inscription: 11/09/12 Publications récentes
Hi,

I'm trying to move my liferay 6.2 portal to 7.0 following instructions here. I'm at the step of launching the upgrade tool com.liferay.portal.tools.db.upgrade.client.jar but it fails at an early stage with "com.liferay.portal.kernel.process.TerminationProcessException: Subprocess terminated with exit code 1". I have attached the log output with complete stacktrace.

any help on making this upgrade tool work or suggestion of alternative solutions to move to 7.0 would be greatly appreciated!

thanks!

Phil

Pièces jointes:

thumbnail
Alberto Chaparro, modifié il y a 7 années.

RE: error upgrading from Liferay tomcat bundle 6.2 to 7.0

Liferay Master Publications: 549 Date d'inscription: 25/04/11 Publications récentes
Hi Philippe,

This a known issue when the url properties finishing with an slash "/":
https://issues.liferay.com/browse/LPS-66559

It's going to be fixed in next CE or fix pack for EE users but meanwhile you can remove the slash at the end of your URLs.

Please, let us know about the results.

Thanks!
thumbnail
Philippe Thibault, modifié il y a 7 années.

RE: error upgrading from Liferay tomcat bundle 6.2 to 7.0 (Réponse)

Junior Member Publications: 46 Date d'inscription: 11/09/12 Publications récentes
Sorry for the late response. The problem was not about "slash-ending" url in configs (which I haven't) but about the Java environment of the linux box I used to do the installation upgrade process. There was a clash between $JAVA_HOME and $PATH precedence when looking to execute java. Details here : https://web.liferay.com/community/forums/-/message_boards/message/80783301 .

So in my case the solution was just to set PATH environment according to JAVA_HOME (e.g. PATH = $JAVA_HOME/bin:$PATH).