掲示板

Upgrade to DXP "Content not allowed in prolog"

6年前 に Beatriz Mira によって更新されました。

Upgrade to DXP "Content not allowed in prolog"

New Member 投稿: 5 参加年月日: 17/03/17 最新の投稿
Hello everyone,

I am at the moment reproducing a database upgrade from Liferay 6.1 to DXP with the upgrade tool provided by Liferay DXP.
The only module that fails while upgrading is the com.liferay.dynamic.data.mapping.service.

I got to fix a couple of errors that came out while upgrading this module but now I got a new one that I cannot solve.
It says " Content is not allowed in prolog".
Does anybody know what is the cause of this ? because it doesnt say what table, document or element is involved at all so that way
it cannot just get fixed and done.

Many thanks,

Beartriz

添付ファイル:

thumbnail
6年前 に Alberto Chaparro によって更新されました。

RE: Upgrade to DXP "Content not allowed in prolog"

Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
Hi Beatriz,

That error should occur when the process tries to read an XML to finally converted into JSON but was already converted. That happens when there was a previous error in that process UpgradeDynamicDataMapping which interrupted it in the middle of this transformation of data. As you can see UpgradeDynamicDataMapping was not designed to be relaunched from the latest fail point:
https://issues.liferay.com/browse/LPS-72453

So you will need to check previous logs to find the first time this process failed to know what was the root cause for the issue.

Regards!
6年前 に Beatriz Mira によって更新されました。

RE: Upgrade to DXP "Content not allowed in prolog"

New Member 投稿: 5 参加年月日: 17/03/17 最新の投稿
Thank you very much for your answer Alberto !
I'll try and fix the causing problem and then will do the whole upgrade again.
Hope that works,

Beatriz
thumbnail
5年前 に Suresh Nimmakayala によって更新されました。

RE: Upgrade to DXP "Content not allowed in prolog"

Liferay Master 投稿: 690 参加年月日: 04/08/18 最新の投稿
Hi Beatriz 

how did you managed to fix this issue  ?

Regards
​​​​​​​Suresh