Location in filedatastore doesn't match with dam:sha1 value | Community
Skip to main content
siddhartha252
Level 2
Jun 14, 2019 8:26 PM UTC
Solved

Location in filedatastore doesn't match with dam:sha1 value

Dear Experts,

When a bunch of images are uploaded to AEM instance with 6.3.3 version having separated datastore, all images are uploaded successfully and proper jcr content fields are allocated. But, when I tried to locate the image(file) specified in dam:sha1 field in filedatastore, I neither found the image nor folder taxonomy.

Could you please point me in the right direction?

Kind regards

Sid

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
siddhartha252
siddhartha252Accepted solution
Level 2
Jul 1, 2019 6:47 PM UTC

Had a session with Daycare support, content saved in jcr is with sha1 value and format with which folder taxonomy/ file saved in datastore is with sha256 value. Unfortunately, we can't track it unless we make any additional customizations out of adobe's scope.

Thanks

Sid

12 replies

siddhartha252
Level 2
Jun 14, 2019 10:18 PM UTC

Sure,

Configurations for "org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config", file we specified are as below:

path="/app/datastore/current_datastore"

service.pid="org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore"

minRecordLength="1024"

Now when the image is uploaded jcr content says: f17de40d1a85c8b822f81cd87b3dd04f1d31f394

dam:sha1

String

f17de40d1a85c8b822f81cd87b3dd04f1d31f394

As per sha value "f17de40d1a85c8b822f81cd87b3dd04f1d31f394", when I navigate to filedatastore, I should see folders

f1--> 7d-->e4-->f17de40d1a85c8b822f81cd87b3dd04f1d31f394. But, I could only see folder f1 there is no 7d sub-folder.

Thanks

Sid

Translate
Jun 14, 2019 9:40 PM UTC

Please reference the documentation you are following so we can try to reproduce

Translate