Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

DataStoreException (Record not found) issue during package creation

Avatar

Level 1

Hi all,

 

I have run into one issue recently: package creation with some assets inside fails with the DataStoreException: Record xxx not found error

 

antonv43501523_1-1629288617944.png

 

This image is not being used under the content and yes, the record ID is not present in the file system. 

Data store consistency check doesn't show any issues and there is no way to use backup in order to restore those files. It starts working when I remove this asset and upload again, but doing it for each image (looks there are a lot of such instances) from the 10Gb folder is not the right choice as for me. 

 

Is there any other way to fix these broken references?

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi, yes, it works fine when I remove 'original' rendition

In the error.log there is following error registered:

23.08.2021 01:59:47.189 *WARN* [qtp1867690194-2018] org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob Error occurred while obtaining InputStream for blobId [9a7deeee530a6f4dabf9c08ce4cb8d332019e77970cbe85b75b3c2da95cdb81d#251345]
java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record 9a7deeee530a6f4dabf9c08ce4cb8d332019e77970cbe85b75b3c2da95cdb81d does not exist

 

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @antonv43501523 

Can you exclude the rendition of the assets while creating the package and try it?

Do you see anything logged in the error.log when this happens?

 

Thanks!

Avatar

Correct answer by
Level 1

Hi, yes, it works fine when I remove 'original' rendition

In the error.log there is following error registered:

23.08.2021 01:59:47.189 *WARN* [qtp1867690194-2018] org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob Error occurred while obtaining InputStream for blobId [9a7deeee530a6f4dabf9c08ce4cb8d332019e77970cbe85b75b3c2da95cdb81d#251345]
java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record 9a7deeee530a6f4dabf9c08ce4cb8d332019e77970cbe85b75b3c2da95cdb81d does not exist