Re: RESOURCE_ACCESS_FAILED during backup

Alberto Simões <[email protected]> Fri, 16 May 2025 14:13:56 +0100
Newsgroups gmane.text.xml.exist
Message-ID <CAAkRyrvMYMYWnuejqKWQhiHybcV3U6UE_ZkPd1vW3bO-91+esQ@mail.gmail.com>
--===============2356752378088865734==
Content-Type: multipart/alternative; boundary="000000000000916e2c0635408f1a"

--000000000000916e2c0635408f1a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello

Updated my exist image to 6.4.0
Looked to the logs (not just export logs).
I found the culprit:

lexmart_exist.1.6071ajjw6txx@academia    | 16 May 2025 13:11:18,171
[qtp1260390769-39] ERROR (ConsistencyCheckTask.java [error]:250) - EXPORT:
Skipping damaged document tangentoide_1-76d57.xml
lexmart_exist.1.6071ajjw6txx@academia    | 16 May 2025 13:11:39,790
[qtp1260390769-39] ERROR (ConsistencyCheckTask.java [error]:250) - EXPORT:
Found an orphaned document: tangentoide_1-76d57.xml

Not sure what to do from here.
Looking around while waiting for suggestions, in case I find anything.

Thanks

On Thu, May 15, 2025 at 3:11=E2=80=AFPM Alberto Sim=C3=B5es <hashashin@gmai=
l.com> wrote:

> Hello, Joe
>
> eXistDB 6.3.0, running on Docker. Dockerfile below.
> Hope this helps.
> Thanks
>
> FROM alpine:latest AS build
> WORKDIR /autodeploy
> RUN apk --no-cache add zip
> COPY lexmart-restxq-api/ ./
> RUN zip -r lexmart-restxq-api.xar *
> FROM existdb/existdb:6.3.0 AS production
> WORKDIR /exist
> COPY docker/exist/conf.xml etc/conf.xml
> COPY docker/exist/jetty/lib etc/webapp/WEB-INF/lib
> COPY docker/exist/jetty/web.xml etc/webapp/WEB-INF/web.xml
> COPY --from=3Dbuild /autodeploy/*.xar autodeploy/
> COPY docker/exist/autodeploy/*.xar autodeploy/
> EXPOSE 8080
>
>
>
> On Thu, May 15, 2025 at 1:23=E2=80=AFPM Joe Wicentowski <[email protected]=
> wrote:
>
>> Hi Alberto,
>>
>> For troubleshooting, which version of eXist, Java, OS, etc.?
>>
>> Joe
>>
>> Sent from my iPhone
>>
>>
>> On Thu, May 15, 2025 at 6:28=E2=80=AFAM Alberto Sim=C3=B5es <hashashin@g=
mail.com>
>> wrote:
>>
>>> Hello
>>>
>>> Triggering a full backup, I am getting this error:
>>>
>>> ...
>>>   DOCUMENT: 108000 of 111595
>>>   DOCUMENT: 109000 of 111595
>>>   DOCUMENT: 110000 of 111595
>>>   DOCUMENT: 111000 of 111595
>>>   DOCUMENT: 111595 of 111595
>>> ----------------------------------------------
>>> RESOURCE_ACCESS_FAILED:
>>> Failed to access document data
>>> Document ID: 170957
>>>
>>> What can I do to:
>>>  - understand what is the problematic document
>>>  - try to understand if I had data lost
>>>  - fix it :-)
>>>
>>> Thank you in advance.
>>>
>>> --
>>> Alberto Sim=C3=B5es
>>> _______________________________________________
>>> Exist-open mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>
>>
>
> --
> Alberto Sim=C3=B5es
>


--=20
Alberto Sim=C3=B5es

--000000000000916e2c0635408f1a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello</div><div><br></div><div>Updated my exist image=
 to 6.4.0</div><div>Looked to the logs (not just export logs).</div><div>I =
found the culprit:</div><div><br></div><div>lexmart_exist.1.6071ajjw6txx@ac=
ademia =C2=A0 =C2=A0| 16 May 2025 13:11:18,171 [qtp1260390769-39] ERROR (Co=
nsistencyCheckTask.java [error]:250) - EXPORT: Skipping damaged document ta=
ngentoide_1-76d57.xml<br>lexmart_exist.1.6071ajjw6txx@academia =C2=A0 =C2=
=A0| 16 May 2025 13:11:39,790 [qtp1260390769-39] ERROR (ConsistencyCheckTas=
k.java [error]:250) - EXPORT: Found an orphaned document: tangentoide_1-76d=
57.xml</div><div><br></div><div>Not sure what to do from here.</div><div>Lo=
oking around while waiting for suggestions, in case I find anything.</div><=
div><br></div><div>Thanks</div></div><br><div class=3D"gmail_quote gmail_qu=
ote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, May 15, 2025 a=
t 3:11=E2=80=AFPM Alberto Sim=C3=B5es &lt;<a href=3D"mailto:hashashin@gmail=
.com">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex"><div dir=3D"ltr"><div>Hello, Joe</div><div><br></d=
iv><div>eXistDB 6.3.0, running on Docker. Dockerfile below.</div><div>Hope =
this helps.</div><div>Thanks</div><div><br></div><div>FROM alpine:latest AS=
 build<br>WORKDIR /autodeploy<br>RUN apk --no-cache add zip<br>COPY lexmart=
-restxq-api/ ./<br>RUN zip -r lexmart-restxq-api.xar *<br>FROM existdb/exis=
tdb:6.3.0 AS production<br>WORKDIR /exist<br>COPY docker/exist/conf.xml etc=
/conf.xml<br>COPY docker/exist/jetty/lib etc/webapp/WEB-INF/lib<br>COPY doc=
ker/exist/jetty/web.xml etc/webapp/WEB-INF/web.xml<br>COPY --from=3Dbuild /=
autodeploy/*.xar autodeploy/<br>COPY docker/exist/autodeploy/*.xar autodepl=
oy/<br>EXPOSE 8080</div><div><br></div><div><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, May 15, 2025=
 at 1:23=E2=80=AFPM Joe Wicentowski &lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div><div dir=3D"auto">Hi Alberto,</div>=
<div dir=3D"auto"><br></div><div dir=3D"auto">For troubleshooting, which ve=
rsion of eXist, Java, OS, etc.?</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">Joe<br clear=3D"all"><br clear=3D"all"><div dir=3D"auto"><div dir=
=3D"ltr" class=3D"gmail_signature">Sent from my iPhone</div></div></div></d=
iv><div><div><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr"=
 class=3D"gmail_attr">On Thu, May 15, 2025 at 6:28=E2=80=AFAM Alberto Sim=
=C3=B5es &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">hasha=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex"><div dir=3D"ltr"><div>Hello</div><div><br></div><div>Triggeri=
ng a full backup, I am getting this error:</div><div><br></div><div>...</di=
v><div>=C2=A0 DOCUMENT: 108000 of 111595<br>=C2=A0 DOCUMENT: 109000 of 1115=
95<br>=C2=A0 DOCUMENT: 110000 of 111595<br>=C2=A0 DOCUMENT: 111000 of 11159=
5<br>=C2=A0 DOCUMENT: 111595 of 111595<br>---------------------------------=
-------------<br>RESOURCE_ACCESS_FAILED:<br>Failed to access document data<=
br>Document ID: 170957</div><div><br></div><div>What can I do to:</div><div=
>=C2=A0- understand what is the problematic document</div><div>=C2=A0- try =
to understand if I had data lost</div><div>=C2=A0- fix it :-)</div><div><br=
></div><div>Thank you in advance.</div></div><div dir=3D"ltr"><br><span cla=
ss=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail=
_signature"><div dir=3D"ltr">Alberto Sim=C3=B5es<br></div></div></div>
_______________________________________________<br>
Exist-open mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Exist=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/exist-open" rel=3D"=
noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/=
exist-open</a><br>
</blockquote></div></div>
</div>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr">Alberto Sim=C3=B5es<br></div></div>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr">Alberto Sim=C3=B5es<br></div></div>

--000000000000916e2c0635408f1a--


--===============2356752378088865734==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2356752378088865734==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open

--===============2356752378088865734==--