掲示板

Upgrade from 4.2 to 5.1 with no success

thumbnail
15年前 に Oliver Lauer によって更新されました。

Upgrade from 4.2 to 5.1 with no success

Junior Member 投稿: 83 参加年月日: 06/09/16 最新の投稿
Hello,

how to upgrade from 4.2 to 5.1? Is it possible to upgrade automatically?

I tried to start a new LR 5.1 on an old database 4.2 and hoped the automatic upgrade would do the work for me, but it didn't work.
After that I executed all upgrade sql statements (downloaded before) and started the new LR but that didn't work either.

A lot of exceptions and LR doesn't work in both cases.

I'm using the LR bundle Tomcat+Jboss4.2.

Is there any documentation that could help?

Thanks
Oliver
thumbnail
15年前 に Samuel Kong によって更新されました。

RE: Upgrade from 4.2 to 5.1 with no success

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
You need to first upgrade to 4.3.x before you can upgrade to 5.1.x
thumbnail
15年前 に Oliver Lauer によって更新されました。

RE: Upgrade from 4.2 to 5.1 with no success

Junior Member 投稿: 83 参加年月日: 06/09/16 最新の投稿
Thanks, I've a note in the wiki already, but now I try to migrate first to 4.4 but I get the following exception:

16:20:47,829 ERROR [MainServlet] com.liferay.portal.kernel.events.ActionExceptio
n: com.liferay.portal.upgrade.UpgradeException: com.liferay.portal.SystemExcepti
on: org.dom4j.DocumentException: Error on line 2 of document : The markup in th
e document following the root element must be well-formed. Nested exception: The
markup in the document following the root element must be well-formed.
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.upgrade.Upg
radeException: com.liferay.portal.SystemException: org.dom4j.DocumentException:
Error on line 2 of document : The markup in the document following the root ele
ment must be well-formed. Nested exception: The markup in the document following
the root element must be well-formed.
at com.liferay.portal.events.StartupAction.run(StartupAction.java:256)
at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.ja
va:151)
at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.jav
a:76)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:132)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
1)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4071)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
375)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
0)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
ava:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
thumbnail
15年前 に Samuel Kong によって更新されました。

RE: Upgrade from 4.2 to 5.1 with no success

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
You need to first upgrade to 4.3.x before you can upgrade to 4.4.x
thumbnail
15年前 に Oliver Lauer によって更新されました。

RE: Upgrade from 4.2 to 5.1 with no success

Junior Member 投稿: 83 参加年月日: 06/09/16 最新の投稿
Doing an upgrade from 4.2.1 do 4.3.3 I get exactly the same exception.
It's no easy job to keep LR installations up to date and I guess this will be a criteria for choosing LR in future production environments...

But thanks a lot for your answer.

Cheers
Oliver
thumbnail
15年前 に Craig Kaneko によって更新されました。

RE: Upgrade from 4.2 to 5.1 with no success

Junior Member 投稿: 57 参加年月日: 06/09/07 最新の投稿
Hi,

Are you following this wiki: http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Upgrade+Instructions+from+4.2+to+4.3 and the others in this series?

If you are using Liferay 4.2.1, you have to upgrade to 4.2.2 first, then from there you can upgrade to 4.3, 4.4, 5.1.

Craig
thumbnail
14年前 に Oscar Morro Martí によって更新されました。

RE: Upgrade from 4.2 to 5.1 with no success

Junior Member 投稿: 42 参加年月日: 08/02/06 最新の投稿
I also have problems when try to upgrade since liferay 4.2.0 to liferay 5.2.2 .... I have errors when organization table is upgrade. This problem is comment in this issue upgrade Problem ....Can anybody help me with this ?? Thanks!