Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Are uploaded packages saved outside of the AEM installation directory?

Avatar

Avatar
Validate 1
Level 1
Eric_4
Level 1

Likes

2 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
Eric_4
Level 1

Likes

2 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Eric_4
Level 1

15-07-2020

I started up a brand new AEM 6.5 instance with no data in it and then successfully installed a 22GB content package.  The installed nodes are all showing up in CRXDE Lite, and I can download the 22GB package and its checksum matches the originally uploaded package.  However, when I run a du operation on my instance directory (directory that contains the AEM jar, crx-quickstart, and license.properties), I'm getting a total size of around 6GB.

 

Can anyone explain this?  I would have expected it to be much larger, given that the repository contains a 22GB package in /etc/packages.  If the uploaded 22GB package is stored outside of the instance directory, can anyone help me figure out where it is?  Thanks!


Additional Info: This new installation didn't create a folder at "crx-quickstart/install", so I don't believe I have an external data store.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
Eric_4
Level 1

Likes

2 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
Eric_4
Level 1

Likes

2 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Eric_4
Level 1

22-07-2020

After some reading and testing, I was able to figure out what to do.  It looks like a brand new installation of AEM 6.5 doesn't automatically create an "install" directory under the crx-quickstart directory.  Before starting AEM for the first time, I created a crx-quickstart/install directory and placed a file inside named "org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.config".  Inside that config file, I have only one line:

 

customBlobStore=B"false"

 

 With that in place, all data is stored within the crx-quickstart directory when I start up AEM and upload/install a package.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Employee
ankushb21155798
Employee

Likes

5 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
View profile

Avatar
Boost 5
Employee
ankushb21155798
Employee

Likes

5 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
View profile
ankushb21155798
Employee

16-07-2020

You can check if you have an external data store configured by going through our documentation here. This will give you an idea if you have an external data store set up and where is the location of the data store

 

https://docs.adobe.com/content/help/en/experience-manager-65/deploying/deploying/data-store-config.h...

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

388 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

388 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

15-07-2020

Can you check I datastore directory is outside of the default AEM folder? Also, check the JVM tmp directory

Eric_4

[Removed duplicate comment]

Eric_4

Thanks for the quick reply!

I just checked the /system/console/status-Configurations page.  Am I correct that segment store is the default for a new AEM 6.5 instance?  This is what I'm seeing for Segment Store: 



PID = org.apache.jackrabbit.oak.segment.SegmentNodeStoreService

  BundleLocation = Unbound

  customBlobStore = true

  host = localhost

  name = Oak-Segment-Tar

  service.pid = org.apache.jackrabbit.oak.segment.SegmentNodeStoreService

  service.ranking = 100


Also, I'm setting the JVM tmp directory with -Djava.io.tmpdir and that directory is only 107MB, so it's not in tmp.

Eric_4
Or maybe a better question is: where can I view the configuration that tells me where the datastore directory is located?
Eric_4
In case this is useful information: Under crx-quickstart/repository I have three directories: blobids, index, and segmentstore. Their combined size is around 6GB.
jbrar
Go under crx-quickstart/install directory and you should see "org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config". That config file should have the path to datastore. By default, datastore is under crx-quickstart/repository but thats not the case here and it seems to be somewhere outside of AEM installtion
Eric_4
I looked under crx-quickstart, but there isn't an "install" directory there. Is that normally created by AEM after it starts up for the first time? I'm not sure why it wasn't in this case.