Fórum

Upgrade to DXP "Content not allowed in prolog"

Beatriz Mira, modificado 6 Anos atrás.

Upgrade to DXP "Content not allowed in prolog"

New Member Postagens: 5 Data de Entrada: 17/03/17 Postagens Recentes
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
Alberto Chaparro, modificado 6 Anos atrás.

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

Liferay Master Postagens: 549 Data de Entrada: 25/04/11 Postagens Recentes
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!
Beatriz Mira, modificado 6 Anos atrás.

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

New Member Postagens: 5 Data de Entrada: 17/03/17 Postagens Recentes
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
Suresh Nimmakayala, modificado 5 Anos atrás.

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

Liferay Master Postagens: 690 Data de Entrada: 18/08/04 Postagens Recentes
Hi Beatriz 

how did you managed to fix this issue  ?

Regards
​​​​​​​Suresh