Set file data store to NAS location 6.5

PhilBro

08-10-2019

I'm setting up a 6.5 author locally to work out issue before I install on our linux server. I need to configure AEM to use a shared mounted drive for the location of its file data store. The data store will be shared with an offloader I'll be setting up next.

I've gone over this page Configuring node stores and data stores in AEM 6  and tried everything I can. When I set a different location the server either fails to start or it fails to use the new location. I start AEM using sudo to make sure it have permissions to do what ever it needs.

I've put these two files in the crx-quickstart/install dir with these settings commenting out various values for testing.

org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config

#repository.home="crx-quickstart/repository/datastore"

path="/path/⁨user/Sites⁩/⁨AEM-Runtime⁩/⁨6.5⁩/datastore"

#minRecordLength="256"

org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.config

#repository.home="crx-quickstart/repository"

#tarmk.size=I"256"

customBlobStore=B"true"

Any help figuring this our is appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

aemmarc

Employee

09-10-2019

You need those FileDataStore configs in place from the first instantiation of AEM. You can't change it after-the-fact.

Unpack the JAR

Drop your configs in the crx-quickstart/install folder

Start AEM for the first time.