While trying to restore a backup in elemental I got this error log
Finished restore of backup.
------------------------------------
Problems occurred found during restore:
WARN: Failed to restore resource 'repo.xml'
from file 'C:\Users\z\AppData\Local\Temp\exist-db-temp-file-manager-2230822812163341171\exist-db-temp-7502612767840769060.tmp#apps/eXide/repo.xml'.
Reason: The XML parser reported a problem: fatal error at (259,11) : The element type "change" must be terminated by the matching end-tag "</change>".
If you restored collections inside /db/apps, you may want
to rebuild the application repository. To do so, run the following query
as admin:
import module namespace repair="http://exist-db.org/xquery/repo/repair"
at "resource:org/exist/xquery/modules/expathrepo/repair.xql";
repair:clean-all(),
repair:repair()
And it seems like the issue is coming from one of the apps repo.xml , here's the exact lines that caused the issue
<change xmlns:repo="http://exist-db.org/xquery/repo" version="2.0.9">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Remove size limits for documents which can be validated by the editor. Live error messages
will be shown even for large documents/XQueries.</li>
<li>Fixed navigation in edit history.</li>
</ul>
</repo:change>
The backup process thinks the XML is invalid due to the mismatch in <change> and </repo:change> tags.
While trying to restore a backup in elemental I got this error log
And it seems like the issue is coming from one of the apps
repo.xml, here's the exact lines that caused the issueThe backup process thinks the XML is invalid due to the mismatch in
<change>and </repo:change>tags.