08-24-2020 07:19 AM
Hello,
Alfresco is throwing some errors:
2020-08-21 16:35:34,952 ERROR [repo.admin.ConfigurationChecker] [localhost-startStop-1] CONTENT INTEGRITY ERROR: System content not found in content store: 'store://2020/8/20/7/20/97cb49fb-b548-4f42-9216-678c79fa544f.bin' 2020-08-21 16:35:34,952 ERROR [repo.admin.ConfigurationChecker] [localhost-startStop-1] Ensure that the 'dir.root' property './alf_data' is pointing to the correct data location.
I want to use the default data location: /usr/local/tomcat/alf_data
Should I add a `-Ddir.root=/usr/local/tomcat/alf_data` to `JAVA_OPTS`?
I am using Alfresco Repository CE 6.3.0; it is running inside ECS and I am building my own Docker images based off this one:
https://hub.docker.com/r/alfresco/alfresco-content-repository-community
The JAVA_OPTS look like this:
-Ddb.driver=org.mariadb.jdbc.Driver -Dindex.subsystem.name=noindex -Dalfresco.host=acs-repository.${Project}.lan -Dalfresco.port=443 -Dalfresco.protocol=https -Daos.baseUrlOverwrite=https://acs-repository.${Project}.lan:443/alfresco/aos -Dmessaging.broker.connections.max=8 -Dmessaging.broker.url="failover:(${Amazonmq.Outputs.OpenwireEndpoints})" -Dcsrf.filter.enabled=false -Djodconverter.enabled=false -Djodconverter.officeHome=null -Xms3500m -Xmx3500m -Dlocal.transform.service.enabled=false -Dtransform.service.enabled=false -Dlegacy.transform.service.enabled=false -DsyncService.mode=OFF -Dsync.mode=OFF -Dsync.pullJob.enabled=false -Dsync.pushJob.enabled=false -Dsystem.usages.enabled=false -Dsystem.usages.clearBatchSize=0 -Dactivities.feed.notifier.enabled=false -Dactivities.feed.cleaner.enabled=false -Dactivities.post.cleaner.enabled=false -Dactivities.feed.generator.enabled=false -Dactivities.post.lookup.enabled=false -Dreplication.enabled=false -Dtransferservice.receiver.enabled=false -Dsystem.thumbnail.generate=false
Thanks a lot for any help!
09-08-2020 12:29 PM
Hi @kaynezhang ,
I think for some reason the content of `alf_data` and the DB went out of sync. I deleted all the tables in the DB and now I can't see the error anymore.
Thank you anyway for your help!
08-24-2020 11:36 AM
Hi @fabrice7
Don't you normally put this in alfresco-global.properties?
HTH,
08-24-2020 11:40 AM
Hi @EddieMay ,
I am very new to Alfrsco... I would need a bit of hand holding...
Also, I didn't mention it because I didn't think it was relevant, but I am mounting an EFS volume on /usr/local/tomcat/alf_data
Cheers,
Fabrice
08-24-2020 10:41 PM
First you should configure dir.root in alfresco-global.properties,for example
dir.root=/usr/local/tomcat/alf_data
Second ,you should define volume mapping in your docker-compose.yml
volumes: - /**/***/alfresco/data:/usr/local/tomcat/alf_data
09-08-2020 12:29 PM
Hi @kaynezhang ,
I think for some reason the content of `alf_data` and the DB went out of sync. I deleted all the tables in the DB and now I can't see the error anymore.
Thank you anyway for your help!
Explore our Alfresco products with the links below. Use labels to filter content by product module.