cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco is throwing some errors about `dir.root`, please help!

fabrice7
Confirmed Champ
Confirmed Champ

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!

1 ACCEPTED ANSWER

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!

View answer in original post

4 REPLIES 4

EddieMay
World-Class Innovator
World-Class Innovator

Hi @fabrice7 

Don't you normally put this in alfresco-global.properties?

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

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

kaynezhang
World-Class Innovator
World-Class Innovator

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

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!